https://bz.apache.org/bugzilla/show_bug.cgi?id=64790
Bug ID: 64790
Summary: <javac> task loses classpath libraries when forked and
special characters exist in the file path since Ant
1.10.7
Product: Ant
Version: 1.10.7
Hardware: PC
OS: All
Status: NEW
Severity: regression
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
After upgrading to the latest version of Ant (1.10.7+), our project will no
longer compile due to the problem of classpath when all the following
conditions are matched :
- Use the attribute fork=yes
- A large amount of source code or java libraries in classpath (The length of
the "javac" command line generated by Ant exceed more than 4000 characters)
- Some special characters are located in the file path. e.g., Hashtag "#".
- Use ANT 1.10.7+
I noticed that the option "-classpath" is moved into an arg file after this
pull request https://github.com/apache/ant/pull/98 which results in an
compilation error from javac because of the file path with special characters
in an arg file.
--
You are receiving this mail because:
You are the assignee for the bug.