ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Thorp" <>
Subject class files aren't created by javac step
Date Tue, 24 Oct 2000 05:51:19 GMT
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"
           debug="on" optimize="off" deprecation="off"/>

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.

Don Thorp

View raw message