Invalid check for junit
-----------------------
Key: MANT-65
URL: http://jira.codehaus.org/browse/MANT-65
Project: Maven 2.x Ant Plugin
Issue Type: Bug
Affects Versions: 2.3
Reporter: SebbASF
The generated Ant build file adds junit to the build.test.classpath.
However, the check for JUnit does not use the classpath:
{code}
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present"/>
</target>
{code}
This should be changed to:
{code}
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present"
classpathref="build.test.classpath"/>
</target>
{code}
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira