The following comment has been added to this issue:
Author: John M. Shields
Created: Mon, 12 Apr 2004 12:30 PM
Body:
I thought that the "maven.test.jvm" property already existed, but maybe it was added
by someone here in our local repository.
Regardless, all you need to do is add a default "maven.test.jvm=java" property to
plugin.properties and then add 'jvm="${maven.test.jvm}"' to all of the "ant:junit"
invocations in plugin.jelly.
The ant junit documentation states that the default JVM is "java", so this should be
backwards compatible.
Thanks!
John
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPTEST-26&page=comments#action_18549
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPTEST-26
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPTEST-26
Summary: Add jvm attribute to junit tasks.
Type: Improvement
Status: Unassigned
Priority: Minor
Original Estimate: 10 minutes
Time Spent: Unknown
Remaining: 10 minutes
Project: maven-test-plugin
Assignee:
Reporter: John M. Shields
Created: Wed, 3 Mar 2004 6:43 PM
Updated: Mon, 12 Apr 2004 12:30 PM
Environment: Windows XP, Sun JDK 1.4.2_03
Description:
I'm working on a project that uses AspectWerkz AOP functionality. For obvious reasons,
AspectWerkz needs to be bootstrapped during my unit tests. It's quite easy to do by
simply telling the junit task to fork and using the aspectwerkz script as the jvm
attribute. In fact, there is already a maven.junit.jvm property in the
plugin.properties for the test plugin. It's just not used by the junit tasks.
My request is to simply add the jvm attribute to all of the junit tasks. This would
allow me to keep my maven installation up-to-date and not worry about breaking all of
my unit tests. ;-)
Thanks!
John
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]