]
Paul Gier closed JBBUILD-324.
-----------------------------
Resolution: Done
Modified patch has been applied to trunk and Branch_4_2. Thanks for the contribution!
Build.xml in testsuite directory doesn't support multiple JVM
argument
----------------------------------------------------------------------
Key: JBBUILD-324
URL:
http://jira.jboss.com/jira/browse/JBBUILD-324
Project: JBoss Build System
Issue Type: Feature Request
Components: JBossBuild
Affects Versions: Repsository Build Branch_4_0, Repository Build head
Environment: Any
Reporter: Sunny Chan
Assigned To: Paul Gier
Priority: Minor
Fix For: JBossBuild - Maint 2008
Attachments: buildxml.jvmline.patch, JBBUILD-324-r68733.patch
We are using the JBoss unit test as part of our JVM verification testsuite. We wanted to
be able to invoke tests with multiple JVM options, but it didn't work. If you set
parameters via build.sh -Djunit.vm.options with multiple paramters (e.g.
-Djunit.vm.options="-d64 -verbose:gc"), it will fail with unrecongized option
error.
The problem is that in testsuite/build.xml, the junit.vm.options is passed onto junit ant
task via <jvmarg value> tag rather then <jvmarg line> tag. The jvmarg line
allows multiple JVM options exist in one line. Once I replace all instance of <jvmarg
value="${junit.jvm.options}"/> with <jvmarg
line="${junit.jvm.options}"/> then the problem goes away.
I can provide a patch for this if you want - but I don't know the rules on patches
(whether I need to be cleared for contribution) so let me know if you want that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: