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"/>
</target>

here, i am getting
exectask:
     [java] The args attribute is deprecated. Please use nested arg
elements.
     [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 <[EMAIL PROTECTED]> wrote:
>
> On Wed, 18 Jan 2006, Guruprasad R. <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to