ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48664] Ant does not accept "-d64" option to run the underlying JVM as a 64-bit JVM.
Date Wed, 03 Feb 2010 20:26:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48664

Antoine Levy-Lambert <antoine@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|AntUnit                     |Wrapper scripts
         Resolution|                            |FIXED

--- Comment #3 from Antoine Levy-Lambert <antoine@apache.org> 2010-02-03 12:26:14 UTC
---
OK, I have found the problem.

If you run a java program with fork=true from ant, this java program will not
inherit VM args by default.

Change your build file in this way :

<!-- add a line to display the system properties known by ant -->
<echoproperties/>
<!-- add the clonevm attribute with the value true to clone VM parameters such
as -d64 -->
 <java classname="TestProperties"
          fork="true" clonevm="true">
    </java>

So there is no bug of ant.


Regards,

Antoine

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message