[ 
https://jira.codehaus.org/browse/MANT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy closed MANT-65.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
         Assignee: Olivier Lamy

http://svn.apache.org/r1410606
Thanks !
                
> Invalid check for junit
> -----------------------
>
>                 Key: MANT-65
>                 URL: https://jira.codehaus.org/browse/MANT-65
>             Project: Maven 2.x Ant Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: SebbASF
>            Assignee: Olivier Lamy
>             Fix For: 2.4
>
>         Attachments: AntBuildWriter.java.patch, AntBuildWriter.java.patch
>
>
> 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, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to