ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Ellsworth <sc...@alodar.com>
Subject javac classpath not allowing empty filelist?
Date Tue, 14 May 2002 20:32:44 GMT
Hi, all.

I am getting the error message 
"/Users/work/Documents/coding/isis/source/build/standard-build.xml:127: 
No files specified for filelist."

in my javac task.  I do not quite understand why.

The error points to the "includeAntRuntime" line, but I am assuming that 
it is actually angry about the classpath entries.  The properties from 
echoproperties follow the task, but the directories named appear.  The 
"compile.library.classpath" is empty, and is supposed to be.  All the 
jars named in compile.product.classpath do appear.

Any ideas?

The Java task:
   <target name="compile">
     <javac
       srcdir="${compile.source}"
       destdir="${compile.classes}"
       excludes="${compile.excludedFiles}"
       includes="${compile.includedFiles}"
       extdirs="${compile.extdirs}"
       fork="${compile.fork}"
       memoryMaximumSize="${compile.memoryMaximumSize}"
       includeAntRuntime="false">
       <classpath>
         <filelist dir="${compile.library.dir}" 
files="${compile.library.classpath}"/>
         <filelist dir="${compile.product.dir}" 
files="${compile.product.classpath}"/>
       </classpath>
     </javac>
   </target>

[echoproperties] compile.debuginfo=on
[echoproperties] compile.includedFiles=**/*.java
[echoproperties] compile.excludedFiles=
[echoproperties] 
compile.product.dir=/Users/work/Documents/coding/isis/source/genetrove/application/
pov_genetrove/../../../products
[echoproperties] 
compile.source=/Users/work/Documents/coding/isis/source/genetrove/application/
pov_genetrove/source
[echoproperties] 
compile.classes=/Users/work/Documents/coding/isis/source/genetrove/application/
pov_genetrove/ant-build/classes
[echoproperties] compile.library.classpath=
[echoproperties] compile.optimize=on
[echoproperties] compile.source.exists=true
[echoproperties] 
compile.depcache=/Users/work/Documents/coding/isis/source/genetrove/application/
pov_genetrove/ant-build/depcache
[echoproperties] 
compile.library.dir=/Users/work/Documents/coding/isis/source/genetrove/application/
pov_genetrove/../../../libraries
[echoproperties] compile.fork=yes
[echoproperties] compile.memoryMaximumSize=128m
[echoproperties] compile.deprecation=true
[echoproperties] 
compile.product.classpath=bird_jdbc.jar,feature_viewer.jar,node_jdbc.jar,pov_general.
jar

The -verbose results:

compile:
     [javac] com/isisph/bioinfo/general/POV/DataExport/FileExport.java 
added as 
/Users/work/Documents/coding/isis/source/genetrove/application/pov_genetrove/
ant-
build/classes/com/isisph/bioinfo/general/POV/DataExport/FileExport.class 
doesn't exist.
[19 more messages...]
     [javac] Since fork is true, ignoring compiler setting.
     [javac] Compiling 20 source files to 
/Users/work/Documents/coding/isis/source/genetrove/application/pov_genetrove/
ant-build/classes
     [javac] Using external javac compiler

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)

Total time: 4 seconds
[localhost:genetrove/application/pov_genetrove] work%


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message