tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Birchmire <cog...@world.std.com>
Subject Re: Help with ANT Build: says to compile, but no *.class-files created
Date Wed, 12 Jul 2000 19:09:25 GMT
I had this problem when compiling in a Linux environment.  I had created the
target directory and files under root.  After I gave the user(me) ownership
of directories and files everything compiled as it should with the .class
files going where they should.
Hope this helps.  Tom Birchmire

"Regele, Manfred" wrote:

> Hi,
>
> I want to build (compile) by app. ANT works fine, creating directories and
> copying files to "deploy.home". But though
> it seems to recognize my two java-sourcefiles in /src, I cannot find any
> corresponding .class files, neither in the
> build (".") nor in "deploy.home"
>
> The output remains the same, even after editing the java-sourcefiles to
> produce syntax errors.
>
> Ants output (NT 4.0/Tomcat 3/JDK1.3)
>
> D:\Daten\java\fond>java -Dtomcat.home=d:\Programme\jakarta-tomcat
> org.apache.tools.ant.Main compile
> Buildfile: build.xml
> Project base dir set to: D:\Daten\java\fond
> The items attribute is deprecated. Please use the includes attribute.
> The items attribute is deprecated. Please use the includes attribute.
> Executing Target: prepare
> Executing Target: compile
> Compiling 2 source files to
> D:\Programme\jakarta-tomcat\webapps\fond\WEB-INF\classes
> Performing a Modern Compile
> Completed in 0 seconds
>
> excerpt from build.xml:
>
>   <target name="compile" depends="prepare" init="init">
>     <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes"
>            classpath="${deploy.home}/WEB-INF/classes"
>            debug="on" optimize="off" deprecation="off"/>
>   </target>
>
> Manfred Regele
> ADIG Investment GmbH
> 22 Methoden&Tools
> Richard-Reitzner-Allee 2
> 85540 Haar
> Tel: 089/46268-308
> mailto:Manfred.Regele@Adig.de
> http://www.adig.de


Mime
View raw message