Can you try to get a tar/zip file containing a project where this occurs. There has been some changes to the javadoc task in 1.7.0 (fixing a number of bugs), but some issues may have been created.
Also, if possible, can you try a nightly build of ant, there has been some fixes in the javadoc task since ant 1.7.0. Peter On Feb 5, 2008 2:36 AM, Dave Blaschke <[EMAIL PROTECTED]> wrote: > Greetings - > > I am using Eclipse for a Java development project and Ant to build it. > The javadoc command for the project is rather lengthy so useexternalfile > is used.With Eclipse 3.2.2 and Ant 1.6.5 javadoc runs successfully, but > with Eclipse 3.3.1.1 and Ant 1.7.0 javadoc fails with the following error: > > [javadoc] Generating Javadoc > [javadoc] Javadoc execution > [javadoc] javadoc: invalid flag: - > [javadoc] usage: javadoc [options] [packagenames] [sourcefiles] > [classnames] [EMAIL PROTECTED] > : : > > which indicates some corruption in the contents of the file. Did > something change with the use of this option between 1.6.5 and 1.7.0? > Looked through bugs and mailing lists but didn't see anything similar. > > I am running on WinXP with IBM SDK 1.4.2. Just for kicks I brought the > 1.6.5 plugin code over to Eclipse 3.3.1.1 and javadoc worked fine then too. > > Thanks in advance > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]