Thanks for the response.
The project where this occurs has not been released to the community
yet, but really really soon (hopefully this week or next) so I can
provide you with a zip file then.
In the mean time, I looked at
http://issues.apache.org/bugzilla/show_bug.cgi?id=40852 and then at my
build.xml and played around a bit. The javadoc target fails to build as
described in the original post with the following in build.xml:
<doctitle>
<![CDATA[<h1>Good Stuff - ${Manifest.version}</h1>]]>
</doctitle>
<bottom>
<![CDATA[<i>Copyright © 2003, 2008 Good
Corporation. All Rights Reserved.</i>]]>
</bottom>
Look familiar to comment #5 in that bug? ;-) If I combine the tags onto
single, individual lines:
<doctitle><![CDATA[<h1>Good Stuff -
${Manifest.version}</h1>]]></doctitle>
<bottom><![CDATA[<i>Copyright © 2003, 2008 Good
Corporation. All Rights Reserved.</i>]]></bottom>
then the javadoc target builds successfully. So it would seem there is
a bug with handling newlines between tags in the above case.
Are there daily builds for the plugin (i.e. used with Eclipse) as well?
I looked in the Daily Builds section on the web and didn't see anything...
Thanks again.
Peter Reilly wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]