You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/04/01 02:08:28 UTC
DO NOT REPLY [Bug 27814] -
javadoc task does not encode baskslashes when generating file list by useexternalfile
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=27814>.
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=27814
jglick@netbeans.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Platform|Other |PC
Resolution| |FIXED
Target Milestone|1.6.3 |1.7
------- Additional Comments From jglick@netbeans.org 2005-04-01 02:08 -------
It does appear to be fixed in the trunk. Methodology: XP, JDK 1.5.0. I created a dir
e:\test27814\nasty dir with spaces\
and put in it a build.xml:
<project default="x">
<target name="x">
<javadoc destdir="jd" useexternalfile="true">
<fileset dir="src"/>
</javadoc>
</target>
</project>
where src\pkg\Cnnn.java contain each "public class Cnnn {}", for nnn in 000..999.
If I cd into this directory from the command shell (making sure that the cwd is
reported as the full path name, not e.g. E:\test27~1\NASTYD~1\ or whatever it
is), and run
e:\ant162\bin\ant -v
it fails with the usual messages like
Could not find file e: test27814
astydirwithspaces
indicating \t, \n, etc. are being treated as escape characters.
If I run
e:\antdev\bin\ant -v
it succeeds; output mentions e.g.
[javadoc] Loading source file E:/test27814/nasty dir with
spaces/src/pkg/C042.java...
which looks OK.
So I believe this is FIXED for 1.7 but still broken in 1.6.3. I would recommend
merging the fix, though it would be nice if someone who actually runs Windows on
a daily basis could confirm that nothing obvious was broken by it.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org