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=35499>. 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=35499 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From [EMAIL PROTECTED] 2005-06-27 15:22 ------- (In reply to comment #1) I still get errors either way. Do you have any tests that match the filter in p.jar? <target name="ziptest"> <zipfileset id="zipset" src="jars/cam_core.jar" includes="**/*Test.class"/> <junit> <!--SAME AS ZIPFILESET--> <classpath id="cp"> <pathelement location="jars/cam_core.jar"/> </classpath> <formatter type="xml" usefile="false"/> <batchtest todir="test"> <fileset refid="zipset"/> </batchtest> </junit> </target> The problem appears to be that the classnames still contain slashes, instead of dots. You are correct that it doesn't matter if you use the xml formatter or not. You do get a different error based on whether you are using a file or not. if you are using a file, you get the following with the xml formatter: D:\dir\build.xml:281: java.io.FileNotFoundException: D:\dir\test\TEST- my\package\Test.xml (The system cannot find the path specified) And the following with the brief formatter D:\dir\build.xml:281: java.io.FileNotFoundException: D:\dir\test\TEST- my\package\Test.txt (The system cannot find the path specified) In both cases, note the slashes instead of dots. If, however, you set 'usefile' to false on the formatter you get a different error which is the same regardless of formatter type: [junit] Null Test: Caused an ERROR [junit] my/package/Test [junit] java.lang.ClassNotFoundException: my/package/Test [junit] at java.lang.Class.forName0(Native Method) [junit] at java.lang.Class.forName(Unknown Source) Again, note the slashes instead of dots. -- 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]