You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by sridhar bitkuri <bi...@gmail.com> on 2009/10/22 02:26:42 UTC
Need to pass the value to build file.
Hello,
I have a build.xml file and calling it from a .batch file and like to pass
the "earFile" and "application" below values like below, how can i do it.
Thanks in advance.
abc.BAT xyz.ear xyz
<property name="earFile" value="${earFile}" />
<property name="application" value="${application}" />
Re: Need to pass the value to build file.
Posted by Zhu Jia Cheng <re...@gmail.com>.
from "ant -h", I think "-D<property>=<value> use value for given
property" may help.
On Thu, Oct 22, 2009 at 8:26 AM, sridhar bitkuri <bi...@gmail.com> wrote:
> Hello,
>
> I have a build.xml file and calling it from a .batch file and like to pass
> the "earFile" and "application" below values like below, how can i do it.
> Thanks in advance.
>
> abc.BAT xyz.ear xyz
>
> <property name="earFile" value="${earFile}" />
> <property name="application" value="${application}" />
>
--
realalien ( Zhu Jia Cheng)
email: realalien@gmail.com