You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by gaurish <ga...@gmail.com> on 2008/06/19 07:43:42 UTC

ant build file

Hi,

if i place both my applications (web application and business application )
in same source folder , and i want to create context root for deployement
using ant tool. so will it require two seperate build files and if so can
they be placed in the same source folder.

thanks in advance

-- 
View this message in context: http://www.nabble.com/ant-build-file-tp17997710p17997710.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ant build file

Posted by Upul Godage <up...@gmail.com>.
You can give a specific build file to Ant by giving the file name with the
switch -f.
e.g. ant -f myfile.xml
So you can have two build files in the same folder and specifically call the
required one. If file name is not given then it will look for the file named
build.xml.

Upul


On Thu, Jun 19, 2008 at 11:13 AM, gaurish <ga...@gmail.com> wrote:

>
> Hi,
>
> if i place both my applications (web application and business application )
> in same source folder , and i want to create context root for deployement
> using ant tool. so will it require two seperate build files and if so can
> they be placed in the same source folder.
>
> thanks in advance
>
> --
> View this message in context:
> http://www.nabble.com/ant-build-file-tp17997710p17997710.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>