Bug 39780

Summary: antunit doesnt set java.class.path
Product: Ant Reporter: Steve Loughran <stevel>
Component: AntUnitAssignee: Ant Notifications List <notifications>
Status: RESOLVED FIXED    
Severity: normal CC: carlosbertty
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Steve Loughran 2006-06-11 22:09:28 UTC
this test works on the command line:

  <target name="testPath" depends="define">
    <book:filesize property="size">
      <path path="${java.class.path}"/>
    </book:filesize> 
    <echo> classpath size=${size}</echo>
  </target>

but when run from antunit, it fails cos java.class.path isnt set.
Comment 1 Peter Reilly 2006-10-06 08:42:32 UTC
This was fixed when matt modified antunit.java
"set all properties by calling initProperties().  System props were missing."