--- Johan_Adel�w <[EMAIL PROTECTED]> wrote:
> We have been using ant to build and install our product for quite a
> while using jdk1.2.2 and it has always been working on all operating
> systems. Now when switching to jdk1.3 we have encountered a problem. 
> We use the ant exec task to launch Oracles loadjava functionality and I
> think that thisone consumes quite a bit of memory. When usink java 1.3
> the exec task fails with different messages on different OS.

Doesn't have to do with the amount of memory anything's using. It has to
do with the difference in how the command is being executed by the VM. You
can either include 'vmlauncher="no"' in your <exec> task, or include the
".bat" extension in the command name when you're running on a Win* box.
You can set it in a property that conditionally includes it -- eg:
  <condition property="loadjava" value="loadjava.bat">
    <os family="windows"/>
  </condition>
  <property name="loadjava" value="loadjava"/>
then reference ${loadjava} in the <exec> 'executable' attribute.

Diane


=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to