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=22280>.
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=22280

testcase org.apache.tools.ant.IncludeTest fails

           Summary: testcase org.apache.tools.ant.IncludeTest fails
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Running

  ant -Doffline=1 -Dtestcase=org.apache.tools.ant.IncludeTest run-single-test

on my SuSE-Linux 7.2 patched up to kernel 2.4.20 and with sun j2sdk1.4.1_02 
issues:

(...)
run-single-test-only:
    [junit] Testsuite: org.apache.tools.ant.IncludeTest
    [junit] Tests run: 12, Failures: 0, Errors: 1, Time elapsed: 0,36 sec

    [junit] Testcase: test1 took 0,03 sec
    [junit] Testcase: test2 took 0,01 sec
    [junit]     Caused an ERROR
    [junit] java.io.FileNotFoundException: D:\antcvs\ant\src\etc\testcases\core\
include\frag#ment\file:include.inc (No such file or directory)
    [junit] java.io.FileNotFoundException: D:\antcvs\ant\src\etc\testcases\core\
include\frag#ment\file:include.inc (No such file or directory)
    [junit]     at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelpe
r2.java:261)
(...)

I can reproduce the same results on my W2K SP4 (german) and sun j2sdk1.4.1_01, 
where the System messages says "(Das System kann die angegebene Datei nicht 
finden)"

It looks like the problem is the testcase itself since changing file

  D:\antcvs\ant\src\etc\testcases\core\include\frag#ment\include.xml

to include "file:include.inc" as "file:./include.inc" lets the test pass. This 
what most of the includes are included. The same problem shows up with 
the "with blank" include.xml.

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

Reply via email to