https://issues.apache.org/bugzilla/show_bug.cgi?id=48664

Antoine Levy-Lambert <[email protected]> changed:

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

--- Comment #3 from Antoine Levy-Lambert <[email protected]> 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.

Reply via email to