|
RE: ... CC and Ant's Javadoc task ...: msg#00032java.cruise-control.user
Generally speaking I'm now a fan of using the ant script attribute rather than having CC invoke ant directly. It is a very nice way to insulate CC and the project from each other, and allows CC and each project to use different JDKs, different ant, different xalan, etc. Jtf -----Original Message----- From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx [mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Greg Irvine Sent: Wednesday, December 10, 2003 3:05 PM To: cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx Subject: RE: [Cruisecontrol-user] ... CC and Ant's Javadoc task ... Randy, My first thought is a mismatch in Ant versions. Is the ant.jar file in your CC lib directory the same versional as the standalone 1.5.4 version installed? Perhaps the CC ant.jar is found first and as potentially an older version it doesn't accept nested filesets ? So, ensure that the ant.jar file in the CRUISE_PATH in the <cc>/main/bin/cruisecontrol.sh file is the standalone 1.5.4 version not the one that ships with CC. Hope it helps. - Greg Greg Irvine Senior Software Engineer (HMI) Thales ATM, Melbourne, Australia E-mail: greg.irvine@xxxxxxxxxxxxx Ph: (03) 9425 7544, Mobile: 0413 900 265 Address: 630 Church St, Richmond, VIC 3121 Confidentiality Notice: The information contained in this email, and any files transmitted with it, is intended for the named recipients only. It may contain privileged and/or confidential information and if you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. If you have received this email, and any files transmitted with it, in error, please notify the sender by reply email and delete the email from your system. > -----Original Message----- > From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx > [mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On > Behalf Of Randy Novick > Sent: Thursday, 11 December 2003 10:01 AM > To: Cruisecontrol Users > Subject: [Cruisecontrol-user] ... 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_id78&alloc_id371&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ... CC and Ant's Javadoc task ..., Randy Novick |
|---|---|
| Next by Date: | RE: ... CC and Ant's Javadoc task ..., Greg Irvine |
| Previous by Thread: | Re: ... CC and Ant's Javadoc task ..., Randy Novick |
| Next by Thread: | RE: ... CC and Ant's Javadoc task ..., Greg Irvine |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |