ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guruprasad R <>
Subject Re: command execution
Date Thu, 19 Jan 2006 07:31:00 GMT
hi all,
finally i am using the java task to do it.

<target name="exectask">
  <java dir="${src}/classes" classpathref="class.path" classname="
weblogic.ejbc" args="npacejb.jar"/>

here, i am getting
     [java] The args attribute is deprecated. Please use nested arg
     [java] Working directory ignored when same JVM is used.
     [java] ERROR: source file: npacejb.jar could not be found.

It seems like the ANT is not executing the command as mentioned in *dir*.
Please help.

On 1/19/06, Stefan Bodewig <> wrote:
> On Wed, 18 Jan 2006, Guruprasad R. <> wrote:
> > i am getting a message as "Please use the executable attribute and
> > nested arg elements." how do i do this? Please help.
> Take your command attribute's value and add it to <arg line=""/> prior
> to the other <arg> you have, remove the command attribute completely.
> Stefan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message