Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 75145 invoked from network); 13 Dec 2000 19:31:59 -0000 Received: from unknown (HELO novant1.solant.com) (208.211.100.2) by locus.apache.org with SMTP; 13 Dec 2000 19:31:59 -0000 Received: by novant1 with Internet Mail Service (5.5.2650.21) id ; Wed, 13 Dec 2000 12:32:08 -0700 Message-ID: <6D98540C0CD2D311808500E018C1EBFE5F56A4@novant1> From: "Hall, John" To: "'ant-user@jakarta.apache.org'" Subject: RE: depricated "args" vs. current "arg" in java command Date: Wed, 13 Dec 2000 12:32:05 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0653B.6143C61F" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0653B.6143C61F Content-Type: text/plain; charset="iso-8859-1" Have you looked at the ddcreator task? It's an optional ejb task. john -----Original Message----- From: Chris Hall [mailto:chall@stockback.com] Sent: Wednesday, December 13, 2000 11:08 AM To: 'ant-user@jakarta.apache.org' 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) Here is what I've changed to (that causes DDCreator to throw an IllegalArgumentException): 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. --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. ------_=_NextPart_001_01C0653B.6143C61F Content-Type: text/html; charset="iso-8859-1" depricated "args" vs. current "arg" in java command
Have you looked at the ddcreator task? It's an optional ejb task.
 
john
-----Original Message-----
From: Chris Hall [mailto:chall@stockback.com]
Sent: Wednesday, December 13, 2000 11:08 AM
To: 'ant-user@jakarta.apache.org'
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"
            fork="true"
            classpath="${classpath}"
            args="-dir ${basedir}/${build.dir} ${basedir}/${build.dir}/${descriptor.raw}"   
        />

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

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

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.

--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.


------_=_NextPart_001_01C0653B.6143C61F--