Congrats for this victory ;-) The reason we use sourcefiles is that you can have a large set of source files and run different doclets/subtasks on them, and it's not a good idea to load all sources from a root dir.
We'll commit your patch :-) Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Erik Hatcher > Sent: Wednesday, February 06, 2002 3:21 AM > To: Dmitri Colebatch; [EMAIL PROTECTED] > Subject: Re: [Xdoclet-devel] Still getting CreateProcess error > > 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 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
