ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Lawler" <justindlaw...@eircom.net>
Subject Re: javadocs broken
Date Mon, 11 Mar 2002 16:15:44 GMT
Im using ant 1.4.1, using the javadocs target on the xerces2.0.1 build.

running with debug flag gives the command line argument as:

javadoc.exe -d
D:\justin\java\xerces-2_0_1\build\docs\javadocs\api -windowtitle "XML
Standard API" -locale en_US -doctitle "XML Standard API" -bottom "Copyright
© 1999-2001 Apache XML Project. All Rights Reserved." -classpath
C:\j2sdk1.4.0-rc\lib\tools.jar;D:\ant\lib\JAXP.JAR;D:\ant\lib\ANT.JAR -sourc
epath D:\justin\java\xerces-2_0_1\build\src -version -author
javax.xml.parsers org.w3c.dom org.w3c.dom.html org.w3c.dom.events
org.w3c.dom.ranges org.w3c.dom.traversal org.xml.sax org.xml.sax.helpers
org.xml.sax.ext

It then gives this error message:

javadoc: option -locale must be first on the command line.

and then gives all the options available for the javadoc tool.

----- Original Message -----
From: Joseph Shelby <acroyear@io.com>
To: Ant Users List <ant-user@jakarta.apache.org>
Sent: Monday, March 11, 2002 2:29 PM
Subject: Re: javadocs broken


> Jon Skeet wrote:
> >
> > > I was creating the javadocs for the xerces 2.0.1, but it
> > > seems to be broken. I keep on getting a "-locale should be
> > > first argument to javadoc tool". Am i doing something wrong
> > > or is it a javadoc bug?
> > > Im running jdk1.4
> >
> > Which version of Ant are you using? What does the snippet of build.xml
which
> > builds the JavaDoc look like?
>
> also, what reference variables/properties are you using?
>
> I found that javadoc failed for me if i ended up with for whatever
> reason a sourcepath or classpath that had no elements in it, because
> it put them in the "-sourcepath" parameter, but with nothing there the
> javadoc line looked something like "-sourcepath   -protected", which
> of course barfs because "-protected" isn't the name of a directory.
>
> Joe
> --
> ----------------------------------------------------------------------
> Joseph Shelby                                   mailto:acroyear@io.com
> 5809 Chase Commons Ct. #201                http://www.io.com/~acroyear
> Burke, VA  22015                             (703) 323-7121 | 247-7868
>           Software Engineer, ISX Corporation, Arlington, VA
> "The people of England will permit anything...except cruelty to horses
> and a rise in the price of beer."  -- Return of the Musketteers (1989)
> ----------------------------------------------------------------------
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message