logo       

... CC and Ant's Javadoc task ...: msg#00028

java.cruise-control.user

Subject: ... CC and Ant's Javadoc task ...

Hello All,

I'm running CC2.0 on RH8. I'm using jakarta ant 1.5.4 and Sun's j2sdk 1.4.1_01.

I came across a funny problem today when I tried to incorporate a nested <fileset/> in my javadoc task. I did this to restrict a single source file from being included in the documentation generated from a rather large package. The ant docs say that this is possible, and in testing (on linux and windows) it works like a charm. Funny thing is that when CC runs the build, the build fails with this message:

Ant Error Message: /opt/Cruise2/dwe/src/com/dralasoft/build.xml:533: The <javadoc2> task doesn't support the nested "fileset" element.

Even funnier is that I'm NOT using the old, deprecated <javadoc2/> task. I'm using <javadoc/>.

My first guess was that perhaps the ant.jar and optional.jar that are in CC's lib might be outdated, yet they never balked when I was using the javadoc task without the nested <fileset/>.

On a whim, and more for grins and giggles, I tried replacing CC's ant.jar and optional.jar with the ones from 1.5.4. CC was not happy about this, and would not start... not terribly surprising, really. Oh well. It was just for :-) and :-D, after all.

Has this type of problem cropped up for anyone else? Does anyone have any idea what's causing this?

-- R








-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise