ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurdev Parmar" <gpar...@versant.com>
Subject Re: COMMAND LINE ARGUMENTS
Date Wed, 30 Jan 2002 19:42:45 GMT
Why don't you have different targets doing
different deploys?

Gurdev
----- Original Message -----
From: "Pravin Pillai" <ppillai@betasphere.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Wednesday, January 30, 2002 11:35 AM
Subject: COMMAND LINE ARGUMENTS


>
> Guys,
>
> Is there any way I can pass command-line arguments to ant.
>
> Let me explain my problem:
>
> My directory structure is
>
>
>              |---Dir_1
>              |
> Base_Dir-----|---Dir_2
>              |
>              |---Dir_3
>
>
> I have my build.xml in the Base_Dir from where i wud be running ant.
>
> Now I wish to do something like
>
> ant deploy Dir_1
>
> ant deploy Dir_2
>
> which means i wud like to specify the directory as a command-line
argument.
>
> Is this possible. Can someone give me examples.
>
> Pravin
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


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


Mime
View raw message