Setting VM arguments for a Costello script
(Redirected from Passing arguments from a Costello script)
Nabil 08/18/2005 05:32:21 PM
> Normally we pass args to the JVM like this
> java -Xms64m -Djava.library.path=bin\dll ....
> I am just wondering if there it is possible to pass arguments to JVM
> from within the Costello or the abbot script (sript.xml).
Only the classpath may be set from within a script. If you need to set other VM arguments, you have to either set the VM args when launching Costello (or whatever is running your scripts), or set the "forked" option in the script to run the script in a separate VM. Note that Costello does not directly support recording into scripts using a forked VM.
shell% java -Xms64m -Djava.library.path=bin\dll... -jar abbot.jar
shell% java -Xms64m -classpath <path> junit.extensions.abbot.ScriptFixture <script1> <script2> ...
![[Main Page]](/wiki/stylesheets/images/wiki.png)