AGR - Defining the name of the generated .execution file [message #103417] |
Fri, 06 July 2007 22:01 |
Eclipse User |
|
|
|
Originally posted by: chalmers.wang.oracle.com
Hi Everyone,
I was wondering if there is a way for the programmer to define the name of
the .execution file that is generated. Currently, my .execution files are
being named <test-suite>_<milliseconds since 19??>.execution. I'd prefer
to change it to <test-suite>_<year>_<month>_<date>.execution. Thanks in
advance.
Chalmers
|
|
|
|
Re: AGR - Defining the name of the generated .execution file [message #103951 is a reply to message #103590] |
Mon, 09 July 2007 22:09 |
Eclipse User |
|
|
|
Originally posted by: chalmers.wang.oracle.com
Hi Paul,
Is there any way to define the name programatically? I know that in order
to invoke AGR within a Java program, you need to set a number of
properties before telling the automation client adapter to execute a
command. Is there a property that I can set to give the name of the file?
Basically, I am not manually invoking the AGR so I most likely will not be
able to use the method you have suggested.
Thanks,
Chalmers
Paul Slauenwhite wrote:
> Hi Chalmers,
> Yes. When you create a launch configuration for a test, select the
> 'Test Logs' tab, de-select 'Use defaults' and type in the name of the test
> log in the 'Name' field. The millisecond timestamp is appended to test logs
> only when a test log with the same name currently exists on the local file
> system.
> Paul
> "Chalmers Wang" <chalmers.wang@oracle.com> wrote in message
> news:4d7b6d50665b752ff2af276d956e8a01$1@www.eclipse.org...
>> Hi Everyone,
>>
>> I was wondering if there is a way for the programmer to define the name of
>> the .execution file that is generated. Currently, my .execution files are
>> being named <test-suite>_<milliseconds since 19??>.execution. I'd prefer
>> to change it to <test-suite>_<year>_<month>_<date>.execution. Thanks in
>> advance.
>>
>> Chalmers
>>
|
|
|
Re: AGR - Defining the name of the generated .execution file [message #104020 is a reply to message #103951] |
Tue, 10 July 2007 13:16 |
Joe Toomey Messages: 79 Registered: July 2009 |
Member |
|
|
Hi Chalmers,
The property is called "results", and is described in the help for the
Automatable Services Framework. For example, from ant you could use:
<tptp:execution
project="org.eclipse.tptp.test.testservices.tests"
resultsrefid="tptp.test.results1"
results="junit_results/Windows_IA32/Test.Sun142_TestServicesResult "
suite="junit/Test.Sun142_TestServices.testsuite"
/>
If you're invoking from java or commandline, the property name is the same.
Hope this helps,
--Joe
Chalmers Wang wrote:
> Hi Paul,
>
> Is there any way to define the name programatically? I know that in
> order to invoke AGR within a Java program, you need to set a number of
> properties before telling the automation client adapter to execute a
> command. Is there a property that I can set to give the name of the
> file? Basically, I am not manually invoking the AGR so I most likely
> will not be able to use the method you have suggested.
>
> Thanks,
> Chalmers
>
> Paul Slauenwhite wrote:
>
>> Hi Chalmers,
>> Yes. When you create a launch configuration for a test, select
>> the 'Test Logs' tab, de-select 'Use defaults' and type in the name of
>> the test log in the 'Name' field. The millisecond timestamp is
>> appended to test logs only when a test log with the same name
>> currently exists on the local file system.
>
>> Paul
>> "Chalmers Wang" <chalmers.wang@oracle.com> wrote in message
>> news:4d7b6d50665b752ff2af276d956e8a01$1@www.eclipse.org...
>>> Hi Everyone,
>>>
>>> I was wondering if there is a way for the programmer to define the
>>> name of the .execution file that is generated. Currently, my
>>> .execution files are being named <test-suite>_<milliseconds since
>>> 19??>.execution. I'd prefer to change it to
>>> <test-suite>_<year>_<month>_<date>.execution. Thanks in advance.
>>>
>>> Chalmers
>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03471 seconds