Ok, I dug into Ant's <javadoc> task code to figure out how it works versus
what XDoclet does, and saw that XDoclet bootstraps off the Ant task.

I saw in Ant's <javadoc> class that it has a setUseExternalFile(boolean)
method, so I added that to DocletTask.createTask:

    javadoc.setUseExternalFile(true);

and voila - it worked!

I'm *not* setting that on my <javadoc> task, but DocletTask appears to
create a substantially longer list of files because its keying off of a
fileset and resolve all the files rather than using a path like <javadoc>
does.  This patch should be helpful, at least it was to me.

And if you want to make me a committer.... I'll add it myself!  :)

Thanks,
    Erik



----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: "Erik Hatcher" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 4:40 PM
Subject: Re: [Xdoclet-devel] Still getting CreateProcess error


> not sure how this would fit in, but using javadoc command line allows you
to pass in a file of packages rather than individual class
> names.  doing that may allow you to reduce the length of the command line.
but again - not sure how this would fit.
>
> cheesr
> dim
>
> ----- Original Message -----
> From: "Erik Hatcher" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 06, 2002 8:27 AM
> Subject: [Xdoclet-devel] Still getting CreateProcess error
>
>
> > Anyone know if there is a way around the super long command-line dilemma
I'm
> > hitting?  I'm trying to generate a to-do list using <info> and get:
> >
> > C:\dev\doc.xml:59: Javadoc failed: java.io.IOException: CreateProcess:
> > c:\jdk1.3.1\jre\..\bin\javadoc.exe -private -classpath....
> >
> > <javadoc> itself runs fine on the exact same tree of code.
> >
> > Thanks,
> >     Erik
> >
> >
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
>
>


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to