Stephen,
I doubt this is an ant problem. I would recommend trying to perform
the deployment by hand (using the command line). When you have
it working then try to replicate the steps you took in your deploy
target.
If you cannot get you application deployed I would recommend the
tomcat user list as the place to get some advice.
-John K
On Saturday, March 23, 2002, at 07:13 PM, Stephan Imboden wrote:
> 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:ant-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:ant-user-
> [EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>