er-h...@ant.apache.org
--
View this message in context:
http://www.nabble.com/How-to-access-value-of-propertyfile-command-line-inside-script-tp22909968p22918340.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---
ies file that the user
>> passed
>> in the command line argument. So my ant script looks like:
>>
>>
>>
>>
>>
>>
>>
>>
>> Essentially, is there a place/property where the command line argument is
>> stored that can be acce
nd line argument is
> stored that can be accessed inside the script? I haven't been able to find
> anything so far in my search.
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/How-to-acc
e accessed inside the script? I haven't been able to
>> find
>> anything so far in my search.
>>
>> Thanks.
>>
>
>
> ---------
> To unsubscribe, e-mail: user-
goelshek,
you can use this:
ant -D=
which in your case will produce
ant -Duser.property.file=foo.properties test
property file name: ${user.property.file}
if in your properties file you define some properties
e.g.
prop1=foo
prop2=bar
then, you can access them in ant wi
command line argument is
stored that can be accessed inside the script? I haven't been able to find
anything so far in my search.
Thanks.
--
View this message in context:
http://www.nabble.com/How-to-access-value-of-propertyfile-command-line-inside-script-tp22909968p22909968.html
Sent from th