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 <[EMAIL PROTECTED]>
To: Ant Users List <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to