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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21142

junit task's classpath doesn't override the existing classpath settings





------- Additional Comments From [EMAIL PROTECTED]  2003-06-29 16:36 -------
I have done a simple test on the head revision of ant showing that the nested 
<classpath/> in junit overrides the classpath in which ant is running.
Can it be that the conflicting xerces jar file is actually not coming from ant 
but from, say, the JRE or the J2SDK EE (endorsed directory) ?
Also, run ant with the -verbose option and attach the output to the bug report.
When doing this, you will get lines like that :

    [junit] Implicitly adding C:\ant\lib\junit.jar;C:\ant\lib\ant.jar;C:
\ant\lib\optional.jar to CLASSPATH
    [junit] Executing 'C:\j2sdk1.4.1_02\jre\bin\java.exe' with arguments:
    [junit] '-classpath'
    [junit] 'C:\dev\testant\my.jar;C:\dev\testant;C:\ant\lib\junit.jar;C:
\ant\lib\ant.jar;C:\ant\lib\optional.jar'
    [junit] 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner'

This should help clarify what is actually happening.

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

Reply via email to