Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » JVM arguments for the workspace started by AGR
JVM arguments for the workspace started by AGR [message #92979] Thu, 01 March 2007 22:24 Go to next message
Eclipse UserFriend
Originally posted by: nospam.invalid.com

Hi all,

When starting an AGR run in standard mode, the launch point starts a new
workspace by calling the specified startup.jar (either the current one or a
custom specified one). For my application to work, I need to pass some JVM
arguments (e.g. -Dxx=yy) to the workspace that AGR starts, but I cannot find
a way to do that in the launch point. Could someone tell me how/where to
specify those arguments?

TIA,
Tim

(I passed the same VM arguments to the initial workspace environment and I
hoped that it would pass them along to the newly started workspace, but
unfortunately this seems not to be the case.)
Re: JVM arguments for the workspace started by AGR [message #93009 is a reply to message #92979] Fri, 02 March 2007 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.invalid.com

In the mean time I have found that I need to specify a .location file, where
I can set command line settings on the Eclipse Workbench Properties tab. So
that seemed exactly what I needed, but even though I have entered all the
necessary VM arguments in the appropriate field, the started workbench
doesn't know them: I opened Help->About Eclipse SDK->Configuration Details,
and my system properties were not in the list.

Is there something obvious that I have forgotten?

Tim

> Hi all,
>
> When starting an AGR run in standard mode, the launch point starts a new
> workspace by calling the specified startup.jar (either the current one or
> a custom specified one). For my application to work, I need to pass some
> JVM arguments (e.g. -Dxx=yy) to the workspace that AGR starts, but I
> cannot find a way to do that in the launch point. Could someone tell me
> how/where to specify those arguments?
>
> TIA,
> Tim
Re: JVM arguments for the workspace started by AGR [message #93080 is a reply to message #93009] Fri, 02 March 2007 15:48 Go to previous messageGo to next message
Liz Dancy is currently offline Liz DancyFriend
Messages: 77
Registered: July 2009
Member
Hi Tim,

You can set JVM arguments in the AGR editor on the Overview page for your
test suite by using the 'JVM Arguments' field. Please let me know if you
have further questions.

Sincerely,

Liz Dancy
"Tim Fooy" <nospam@invalid.com> wrote in message
news:es950s$msg$1@utils.eclipse.org...
> In the mean time I have found that I need to specify a .location file,
> where I can set command line settings on the Eclipse Workbench Properties
> tab. So that seemed exactly what I needed, but even though I have entered
> all the necessary VM arguments in the appropriate field, the started
> workbench doesn't know them: I opened Help->About Eclipse
> SDK->Configuration Details, and my system properties were not in the list.
>
> Is there something obvious that I have forgotten?
>
> Tim
>
>> Hi all,
>>
>> When starting an AGR run in standard mode, the launch point starts a new
>> workspace by calling the specified startup.jar (either the current one or
>> a custom specified one). For my application to work, I need to pass some
>> JVM arguments (e.g. -Dxx=yy) to the workspace that AGR starts, but I
>> cannot find a way to do that in the launch point. Could someone tell me
>> how/where to specify those arguments?
>>
>> TIA,
>> Tim
>
>
Re: JVM arguments for the workspace started by AGR [message #93093 is a reply to message #93080] Fri, 02 March 2007 16:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.invalid.com

Hi Liz,

I am still using TPTP 4.2.0.2 because I need to be able to run the tests
against Eclipse 3.2.0, and a higher version of TPTP requires a higher
version of Eclipse.

In my version, there appears not to be a field 'JVM Arguments' on the
Overview tab of my test suite. That tab contains three blocks of settings:
- TPTP Automated GUI Test (name, description, type and file)
- Configuration (use current workbench or not, associated verification hook
class)
- Test Cases (listing)

Maybe this field was added in a later version than mine?

Best regards,
Tim


"Liz Dancy" <lizdancy@ca.ibm.com> schreef in bericht
news:es9h15$qsh$1@utils.eclipse.org...
> Hi Tim,
>
> You can set JVM arguments in the AGR editor on the Overview page for your
> test suite by using the 'JVM Arguments' field. Please let me know if you
> have further questions.
>
> Sincerely,
>
> Liz Dancy
> "Tim Fooy" <nospam@invalid.com> wrote in message
> news:es950s$msg$1@utils.eclipse.org...
>> In the mean time I have found that I need to specify a .location file,
>> where I can set command line settings on the Eclipse Workbench Properties
>> tab. So that seemed exactly what I needed, but even though I have
>> entered all the necessary VM arguments in the appropriate field, the
>> started workbench doesn't know them: I opened Help->About Eclipse
>> SDK->Configuration Details, and my system properties were not in the
>> list.
>>
>> Is there something obvious that I have forgotten?
>>
>> Tim
>>
>>> Hi all,
>>>
>>> When starting an AGR run in standard mode, the launch point starts a new
>>> workspace by calling the specified startup.jar (either the current one
>>> or a custom specified one). For my application to work, I need to pass
>>> some JVM arguments (e.g. -Dxx=yy) to the workspace that AGR starts, but
>>> I cannot find a way to do that in the launch point. Could someone tell
>>> me how/where to specify those arguments?
>>>
>>> TIA,
>>> Tim
>>
>>
>
>
Re: JVM arguments for the workspace started by AGR [message #93108 is a reply to message #93093] Fri, 02 March 2007 19:52 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Unfortunately there are no convenient ways to add JVM argument prior to
version 4.2.1. You can however provide an alternative object adapter. See
org.eclipse.tptp.test.auto.gui.internal.runner.AutoGUIExecOb jAdapter.java
and the plugin.xml of org.eclipse.tptp.test.auto.gui to determine how you
can register your own.

You can download org.eclipse.tptp.test.auto.gui from TPTP's cvs (under the
test module). In your case you'll need to get the plug-in from the right
branch.

"Tim Fooy" <nospam@invalid.com> wrote in message
news:es9i90$2dq$1@utils.eclipse.org...
> Hi Liz,
>
> I am still using TPTP 4.2.0.2 because I need to be able to run the tests
> against Eclipse 3.2.0, and a higher version of TPTP requires a higher
> version of Eclipse.
>
> In my version, there appears not to be a field 'JVM Arguments' on the
> Overview tab of my test suite. That tab contains three blocks of
> settings:
> - TPTP Automated GUI Test (name, description, type and file)
> - Configuration (use current workbench or not, associated verification
> hook class)
> - Test Cases (listing)
>
> Maybe this field was added in a later version than mine?
>
> Best regards,
> Tim
>
>
> "Liz Dancy" <lizdancy@ca.ibm.com> schreef in bericht
> news:es9h15$qsh$1@utils.eclipse.org...
>> Hi Tim,
>>
>> You can set JVM arguments in the AGR editor on the Overview page for your
>> test suite by using the 'JVM Arguments' field. Please let me know if you
>> have further questions.
>>
>> Sincerely,
>>
>> Liz Dancy
>> "Tim Fooy" <nospam@invalid.com> wrote in message
>> news:es950s$msg$1@utils.eclipse.org...
>>> In the mean time I have found that I need to specify a .location file,
>>> where I can set command line settings on the Eclipse Workbench
>>> Properties tab. So that seemed exactly what I needed, but even though I
>>> have entered all the necessary VM arguments in the appropriate field,
>>> the started workbench doesn't know them: I opened Help->About Eclipse
>>> SDK->Configuration Details, and my system properties were not in the
>>> list.
>>>
>>> Is there something obvious that I have forgotten?
>>>
>>> Tim
>>>
>>>> Hi all,
>>>>
>>>> When starting an AGR run in standard mode, the launch point starts a
>>>> new workspace by calling the specified startup.jar (either the current
>>>> one or a custom specified one). For my application to work, I need to
>>>> pass some JVM arguments (e.g. -Dxx=yy) to the workspace that AGR
>>>> starts, but I cannot find a way to do that in the launch point. Could
>>>> someone tell me how/where to specify those arguments?
>>>>
>>>> TIA,
>>>> Tim
>>>
>>>
>>
>>
>
>
Previous Topic:Profiling weblogic using TPTP
Next Topic:First steps TPTP
Goto Forum:
  


Current Time: Tue Mar 19 03:16:58 GMT 2024

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

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

Back to the top