ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EXT / FOCAL MALAPRADE Roland <ext.focal.malapr...@sncf.fr>
Subject RE: ANT_OPTS variable
Date Thu, 12 Sep 2002 11:16:12 GMT
I don't seem to be able to find the "-J" parameter for "java" (though it may
exist). Is it actually a parameter for your JVM, or is it the name of a
target? coz if it's the name of a target, it should be in ANT_OPTS...

Roland

-----Message d'origine-----
De : Paidighantam Venkata Suresh [mailto:psuresh1@vanenburg.com]
Envoyé : jeudi 12 septembre 2002 12:12
À : 'Ant Users List'
Objet : RE: ANT_OPTS variable


Actually when I am using the mail task, I am not able to send a file of size
800kb. So I just want try the mail task by setting this ANT_OPTS variable.
But somehow not able to set this..

Suresh

-----Original Message-----
From: EXT / FOCAL MALAPRADE Roland [mailto:ext.focal.malaprade@sncf.fr]
Sent: Thursday, 12 September 2002 3:28 PM
To: 'Ant Users List'
Subject: RE: ANT_OPTS variable


same thing with me when I tried, though I'm not familiar with the -J option.
Why are you setting it?

Roland

-----Message d'origine-----
De : Paidighantam Venkata Suresh [mailto:psuresh1@vanenburg.com]
Envoyé : jeudi 12 septembre 2002 11:49
À : 'Ant Users List'
Objet : RE: ANT_OPTS variable


I tried with the space and without the space: If I am setting to "-J
-Xmx128m", the following is the error when I run ant.

Unrecognized option: -J
Could not create the Java virtual machine.

without the space I get the following error when running ant


Unrecognized option: -J-Xmx128m
Could not create the Java virtual machine.

Suresh

-----Original Message-----
From: EXT / FOCAL MALAPRADE Roland [mailto:ext.focal.malaprade@sncf.fr]
Sent: Thursday, 12 September 2002 3:13 PM
To: 'Ant Users List'
Subject: RE: ANT_OPTS variable


have you tried putting a space between the -J and the -Xmx128m ?

Roland

-----Message d'origine-----
De : Paidighantam Venkata Suresh [mailto:psuresh1@vanenburg.com]
Envoyé : jeudi 12 septembre 2002 11:39
À : 'ant-user@jakarta.apache.org'
Objet : ANT_OPTS variable


Does anyone has an idea how to set the ANT_OPTS variable?
 
I am setting this to -J-Xmx128m and it is giving me an error.
 
Thanks,
Suresh


**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.

**********************************************************************


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

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

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

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

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


Mime
View raw message