ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hall, John" <>
Subject RE: depricated "args" vs. current "arg" in java command
Date Wed, 13 Dec 2000 19:32:05 GMT
Have you looked at the ddcreator task? It's an optional ejb task.

-----Original Message-----
From: Chris Hall []
Sent: Wednesday, December 13, 2000 11:08 AM
To: ''
Subject: depricated "args" vs. current "arg" in java command

I just upgraded to Ant 1.2 and am having some trouble taking our old "args"
parameters and converting them to "arg" parameters.

Specifically this is part of our old build file (that still works though it
throws decprication warnings) 

        <java classname="weblogic.ejb.utils.DDCreator" 
            args="-dir ${basedir}/${build.dir}

Here is what I've changed to (that causes DDCreator to throw an

        <java classname="weblogic.ejb.utils.DDCreator" 
            <arg value="${basedir}/${build.dir}/${descriptor.raw}"/> 
            <arg value="-dir ${basedir}/${build.dir}"/> 

The new version does not work because the program I'm calling (something
from weblogic) is not recognizing the "-dir" option.  I don't think this is
a weblogic problem as the old version works.  Very strange.  Sugestions
would be greatly appreciated.


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.

View raw message