ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hall <ch...@stockback.com>
Subject RE: depricated "args" vs. current "arg" in java command
Date Tue, 19 Dec 2000 14:56:56 GMT
> -----Original Message-----
> From: Stefan Schmitt [mailto:sschmitt@raleigh.ibm.com]
> Sent: Tuesday, December 19, 2000 6:50 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: depricated "args" vs. current "arg" in java command
> Ok. I think that I misunderstood the problem. You are right. 
> Chris wrote in
> its original post that he calls something from Weblogic, which doesn't
> recognize the -dir option. Pete's solution should work. Chris 
> uses in his
> old xml the args attribute and so the Weblogic application gets three
> attributes. In his new script he uses two times the <arg> 
> task and this
> causes that only two parameters are send to the Weblogic 
> application. If
> Chris changes his xml to
> <arg value="-dir"/>
> <arg value="${basedir}/${build.dir}"/>
> <arg value="${basedir}/${build.dir}/${descriptor.raw}"/>
> or
> <arg line="-dir ${basedir}/${build.dir}
> ${basedir}/${build.dir}/${descriptor.raw}"/>
> it should work.

What I've ended up doing that seems to work is a combination of the above
two:
<arg line="-dir ${basedir}/${build.dir}"/>
<arg line="${basedir}/${build.dir}/${descriptor.raw}"/>

Thank you all for your help

--Chris


This message and any attachments are confidential and may be protected by
attorney-client privilege. If you are not the intended recipient, contact
the author immediately.



Mime
View raw message