[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-324) Build.xml in testsuite directory doesn't support multiple JVM argument
Sunny Chan (JIRA)
jira-events at lists.jboss.org
Fri Sep 28 10:13:41 EDT 2007
[ http://jira.jboss.com/jira/browse/JBBUILD-324?page=all ]
Sunny Chan updated JBBUILD-324:
-------------------------------
Attachment: buildxml.jvmline.patch
Patch to change <jvmarg value=""> to <jvmarg line="">, so that one can pass multiple JVM options to junit test.
> 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
> Priority: Minor
> Fix For: JBossBuild - Maint 2007
>
> Attachments: buildxml.jvmline.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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list