DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32012>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32012

JavaC task seems to produce invalid switches to javac command

           Summary: JavaC task seems to produce invalid switches to javac
                    command
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


IBM JTOpen project build.xml contains the following invocation of the JavaC 
task:

    <javac srcdir="${source}:${source-contrib}"
           destdir="${output}"
           memoryMaximumSize="256m"
           failonerror="true"
           debug="on"
           debuglevel="lines,source"
           fork="true"
           target="1.1">
      <classpath>
        <pathelement path="${include}"/>
        <pathelement location="${include}/servlet.jar"/> <!-- Need the JSDK
classes to compile the com.ibm.as400.util.servlet pa
ckage. -->
        <pathelement location="${stubs}"/>
      </classpath>
    </javac>

When executed, this statement produces the following error:

 [javac] javac: invalid flag: -J-Xmx256m

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

Reply via email to