ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hill <RH...@classmates.com>
Subject RE: java task jvmargs
Date Wed, 20 Aug 2003 20:42:37 GMT
That was the problem...thanks Keith for pointing that out.

-Rick

-----Original Message-----
From: Keith Hatton [mailto:khatton@axiomsystems.com]
Sent: Wednesday, August 20, 2003 2:16 AM
To: Ant Users List
Subject: RE: java task jvmargs 


Typo? Your element needs to be named "jvmarg", not "jvmargs".


-----Original Message-----
From: Richard Hill [mailto:RHill@classmates.com]
Sent: 20 August 2003 04:12
To: 'user@ant.apache.org'
Subject: java task jvmargs 


I'm getting mix messages on the java task's jvmargs option. If I use jvmargs
as a java parameter it tells me it's deprecated. If I use jvmargs as an
element it tells me that the "jvmargs" element is not supported. Either way
this is blocking the script from running...any suggestion on why this is
happening? I'm using Ant 1.5.3

----------------------------------------------------------------------
    <target name="check_queue" >
        <java classname="CheckQueueAction"
                 fork="true"
                 failonerror="true"
                 jvmargs="-server">
            <classpath refid="project.classpath"/>
        </java>
    </target>


The jvmargs attribute is deprecated. Please use nested jvmarg elements.
----------------------------------------------------------------------

        <java classname="CheckQueueAction"
                 fork="true"
                 failonerror="true">
            <jvmargs value="-server"/>
            <classpath refid="project.classpath"/>
        </java>


The <java> task doesn't support the nested "jvmargs" element.
----------------------------------------------------------------------

Thanks,
Richard 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message