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

Martin O'Connor updated MANT-65:
--------------------------------

    Attachment: AntBuildWriter.java.patch
    
> 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
>         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