Hi, all. I looked at the 1.6 source, and it appears that this is intentional. My question is whether this test is actually needed. I think we would be safe without it, and it would make certain build files much easier to create.
If I have a task like: <target name="compile"> <javac srcdir="${compile.source}" destdir="${compile.classes}"> <classpath> <filelist dir="${compile.library.dir}" files="${compile.library.classpath}"/> <filelist dir="${compile.product.dir}" files="${compile.product.classpath}"/> </classpath> </javac> </target> and I do < property name="compile.library.classpath" value="">, line 145 of FileList explicitly throws a "build failed". The next line of code looks like it should handle that, as it sizes the array with the number of files sought, so it should quite happily return a zero-size array with no entries. After all, the task does say it handles the "no files existing in the filesystem" case. Any chance of getting this fixed by 1.5B2? BUILD FAILED /Users/work/Documents/coding/isis/source/build/standard-build.xml:127: No files specified for filelist. at org.apache.tools.ant.types.FileList.getFiles(FileList.java:145) at org.apache.tools.ant.types.Path.list(Path.java:338) at org.apache.tools.ant.types.Path.list(Path.java:320) at org.apache.tools.ant.types.Path.addExisting(Path.java:260) at org.apache.tools.ant.types.Path.concatSystemClasspath(Path.java:551) at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.getCompileClasspath( DefaultCompilerAdapter.java:182) at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.setupJavacCommandlineSwitches( DefaultCompilerAdapter.java:204) at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.setupModernJavacCommandlineSwitches( DefaultCompilerAdapter.java:337) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute (JavacExternal.java:77) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:818) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:660) at org.apache.tools.ant.Task.perform(Task.java:313) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:334) at org.apache.tools.ant.Project.executeTarget(Project.java:1216) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357) at org.apache.tools.ant.Task.perform(Task.java:313) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:334) at org.apache.tools.ant.Project.executeTarget(Project.java:1216) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:357) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144) at org.apache.tools.ant.Task.perform(Task.java:313) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:334) at org.apache.tools.ant.Project.executeTarget(Project.java:1216) at org.apache.tools.ant.Project.executeTargets(Project.java:1160) at org.apache.tools.ant.Main.runBuild(Main.java:605) at org.apache.tools.ant.Main.start(Main.java:195) at org.apache.tools.ant.Main.main(Main.java:234) Scott -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>