ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32012] New: - JavaC task seems to produce invalid switches to javac command
Date Tue, 02 Nov 2004 03:08:31 GMT
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: dev@ant.apache.org
        ReportedBy: jax@well.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message