Hello,
I've just installed ant (and tomcat) and I have a problem : Ant doesn't
"deploy" to Tomcat's webapps directory (it complies fine however).
I do not know what I'm doing wrong but I suspect that it has something
to do with JAXP. I've read that ant needs JAXP to work (well in fact I
"ant compile" successfully before installing JAXP). I've installed it
but I do not know how ant is going to find out that I have installed
it...
What could I check to find the problem and correct it?
Background info:
I'm on Mac OS X 10.1.3 with J2SE 1.3.1
This is what I did:
[localhost:~/sample] stephan% ls
. .. build build.xml build.xml~ docs src web
[localhost:~/sample] stephan% ant deploy
Buildfile: build.xml
prepare:
compile:
BUILD SUCCESSFUL
Total time: 2 seconds
[localhost:~/sample] stephan%
In build.xml the "File and Directory Names" is defined as follow:
<property name="app.name" value="sample"/>
<property name="app.version" value="1.0"/>
<property name="build.home" value="build"/>
<property name="catalina.home" value="/usr/local/jakarta-tomcat-4.0.3"/>
<property name="deploy.home"
value="${catalina.home}/webapps/${app.name}"/>
<property name="dist.home" value="dist"/>
The "Deploy Target" is defined as follow:
<target name="deploy" depends="compile"
description="Deploy application to servlet container">
<!-- Copy the contents of the build directory -->
<mkdir dir="${deploy.home}"/>
<copy todir="${deploy.home}">
<fileset dir="${build.home}"/>
</copy>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>