ant build file

View: New views
2 Messages — Rating Filter:   Alert me  

ant build file

by gaurish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: ant build file

by Upul Godage :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <gaurish4@...> 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@...
> For additional commands, e-mail: user-help@...
>
>