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=15445>. 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=15445 filters broken in JDK 1.1 Summary: filters broken in JDK 1.1 Product: Ant Version: 1.5.1 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When attempting to use a filterset (named or not), running ant 1.5.1 under JDK 1.1.8, get the following exception. Everything's fine under JDK 1.4. My script is: <filterset id="filters"> <filter token="foo" value="bar"/> </filterset> <copy todir="${build}" flatten="no" filtering="true"> <fileset dir="${src}" includes="**/*.properties"/> <filterset refid="filters"/> </copy> Same result if i replace filterset refid with a nested filterset. java.lang.IllegalArgumentException at java.util.Hashtable.<init>(Compiled Code) at java.util.Hashtable.<init>(Compiled Code) at org.apache.tools.ant.types.FilterSet.getFilterHash(Compiled Code) at org.apache.tools.ant.types.FilterSet.replaceTokens(Compiled Code) at org.apache.tools.ant.types.FilterSetCollection.replaceTokens(Compiled Code) at org.apache.tools.ant.util.FileUtils.copyFile(Compiled Code) at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:225) at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Compiled Code) at org.apache.tools.ant.taskdefs.Copy.execute(Compiled Code) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Compiled Code) at org.apache.tools.ant.Project.executeTargets(Compiled Code) at org.apache.tools.ant.Main.runBuild(Compiled Code) at org.apache.tools.ant.Main.start(Compiled Code) at org.apache.tools.ant.Main.main(Main.java:235) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>