Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR - Defining the name of the generated .execution file
AGR - Defining the name of the generated .execution file [message #103417] Fri, 06 July 2007 22:01 Go to next message
Eclipse UserFriend
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 #103590 is a reply to message #103417] Mon, 09 July 2007 11:05 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
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 #103951 is a reply to message #103590] Mon, 09 July 2007 22:09 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Joe Toomey is currently offline Joe ToomeyFriend
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
>>>
>
>
Previous Topic:the test execution service launches additional JVM and Eclipse instance
Next Topic:Book dealing with TPTP?
Goto Forum:
  


Current Time: Sat Aug 31 22:55:57 GMT 2024

Powered by FUDForum. Page generated in 0.03814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top