DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34244>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34244





------- Additional Comments From [EMAIL PROTECTED]  2005-03-30 21:56 -------
That is not my experience.  I did NOT have to move ant-junit.jar out of the 
ANT_HOME\lib direcory.  I DID have to copy my junit.jar from the 
JUNIT_HOME\lib directory into the ANT_HOME\lib directory.  Having done that, 
my junit task works fine:

<target name="test" depends="compile">
    <echo message="*** Executing JUnit Tests." />
    <junit printsummary="false" haltonfailure="true">
        <classpath>
            <pathelement path="${classes}" />
            <pathelement location="${log4j.jar}" />
        </classpath>
        <formatter type="brief" usefile="false" />
        <test name="myPath.AllTests" />
    </junit>
</target>

My argument is that I should not have to modify the Ant distribution in any 
way, nor should I have to modify my CLASSPATH variable.  There should be some 
way for me to configure Ant so that it knows where to look for my junit.jar 
file.  It seems to me that one of the easiest ways is to have the Ant 
executable look for the "JUNIT_HOME" classpath; however, there are certainly 
other options, including having some kind of ant.properties file in which I 
can declare my dependencies.  In fact, for the general case where there are 
multiple things that Ant may depend on that aren't part of the Ant 
distribution, maybe a properties file is the easiest solution.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to