You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Don Thorp <dt...@zwave.com> on 2000/10/24 07:51:19 UTC

class files aren't created by javac step

For some reason, the javac target is not creating .class files when it compiles my source. There are no compiler errors. It says that it is compiling 1 file using the modern compiler and then outputs nothing.

<target name="compile" depends="prepare">
    <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes"
           classpath="${deploy.home}/WEB-INF/classes"
           debug="on" optimize="off" deprecation="off"/>
</target>

There is one source file in the src directory. I've tried moving the destdir to various places to get rid of spaces in paths and long path names. Nothing seems to matter. I've also performed a verbose build.

-- log --
Build sequence for target `compile' is [prepare, compile]
Complete build sequence is [prepare, compile, javadoc, clean, all, dist]
Executing Target: prepare
Executing Target: compile
Compiling 1 source files to C:\Documents and Settings\dthorp\My Documents\Projects\ows\Odyssey-tomcat\webapps\WEB-INF\classes
Performing a Modern Compile
Completed in 0 seconds
-- log --

If I use javac directly the class compiles cleanly.

Thanks
Don Thorp