ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ant] slobokot commented on issue #98: Use commandline argument file for all options, but -J, for case javac…
Date Wed, 23 Oct 2019 19:16:09 GMT
slobokot commented on issue #98: Use commandline argument file for all options, but -J, for
case javac…
URL: https://github.com/apache/ant/pull/98#issuecomment-545595029
 
 
   Reproduced issue using following build.xml
   
   ```
   <project name="MyProject" default="dist" basedir=".">
       <property name="class_path" value="4000 characters long"/>
       <target name="compile">        
           <javac srcdir="src" destdir="build" classpath="${class_path}" fork="true">
               <compilerarg value="@c:\tmp\test-ant\args-file"/>
           </javac>
         </target>
   </project>
   ```
   
   produces
   ```
       [javac] File to be compiled:
       [javac]     C:\tmp\test-ant\src\com\Program.java
       [javac] javac: invalid flag: @c:\tmp\test-ant\args-file
       [javac] Usage: javac <options> <source files>
       [javac] use -help for a list of possible options
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message