Bug 26739 - <javadoc> should put all parameters into an external file when requested or automatically
Summary: <javadoc> should put all parameters into an external file when requested or a...
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0Beta3
Hardware: Other other
: P3 enhancement (vote)
Target Milestone: 1.7.0
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks: 40852
  Show dependency tree
 
Reported: 2004-02-06 21:21 UTC by Alexey Solofnenko
Modified: 2006-11-01 15:20 UTC (History)
1 user (show)



Attachments
proposed patch (7.54 KB, patch)
2004-02-06 23:23 UTC, Alexey Solofnenko
Details | Diff
proposed patch that affects JDK 1.4+ only (4.64 KB, patch)
2004-02-13 16:26 UTC, Alexey Solofnenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Solofnenko 2004-02-06 21:21:06 UTC
In our build javadoc arguments became too long and javadoc started to  blue screen Windows in ClearCase MVFS system. IBM will fix ClearCase eventually, but <javadoc> should not generate such big command lines in the first place. All options should go into a temporary option file for <javadoc>, not just a file list.
Comment 1 Alexey Solofnenko 2004-02-06 23:23:46 UTC
Created attachment 10256 [details]
proposed patch
Comment 2 Stefan Bodewig 2004-02-10 12:39:08 UTC
According to
http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/javadoc.html#argumentfile
the @argumentfile must not contain anything but file or package names in JDK 1.3.

Could you please modify your patch to only use the external file for other
command line arguments if javadoc4 is true?
Comment 3 Alexey Solofnenko 2004-02-13 16:26:09 UTC
Created attachment 10350 [details]
proposed patch that  affects JDK 1.4+ only
Comment 4 Daniel Ribagnac 2005-10-18 14:52:08 UTC
According to the Sun documentation 
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#argumentfiles 
the '-J' option is not allowed in an argument file
Comment 5 Peter Reilly 2006-11-01 15:20:35 UTC
commited a similar change, difference is that
useexternalfile activates it.