You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by jeremie hebre <je...@corp.vizzavi.net> on 2000/12/21 11:01:50 UTC

PB: Tomcat Launched by an Ant script launched by another Ant script

Hi,

I use an Ant Script that launches another Ant script that launches a Tomcat server with the "java" task.
The problem is that Tomcat seems to consider the local directory of the first Ant script as it own local directory.
Any idea about this issue?

Thanks.

Jérémie


Re: Tomcat Launched by an Ant script launched by another Ant script

Posted by Stefan Schmitt <ss...@raleigh.ibm.com>.
From: jeremie hebre
Subject: PB: Tomcat Launched by an Ant script launched by another Ant script

>I use an Ant Script that launches another Ant script that launches a Tomcat
server with the "java" task.
>The problem is that Tomcat seems to consider the local directory of the
first Ant script as it own local directory.
>Any idea about this issue?

You can define which directory is the base ditrectory for the second Ant
file. Try the "dir" attribute of the <ant> task. The dir attribute define
the basedir for the new Ant project

Yours
Stefan S