|
|
Re: ... CC and Ant's Javadoc task ...: msg#00031
java.cruise-control.user
|
Subject: |
Re: ... CC and Ant's Javadoc task ... |
Yeah, that was my first thought, which was why I tried it first thing.
Using 1.5.4 ant jars, CC 2.0 will not start -- it just hangs when
looking at its own buildfile. You can't just put one or the other of
ant.jar and optional.jar in either. CC checks the versioning and
declares its unhappiness with the mismatch.
FWIW, the version detected by CC (using the same ones that came along
with 2.0) was "null". The dates were from Sept of 2001.
Anyhow, I'm going to write a hack in my own buildfile to get around it,
I guess. I'll move the offending source from the package structure
prior to calling the javadoc and move it back when I'm done. I'm still
curious about how a javadoc task has been able to be confused with a
javadoc2 task ONLY within the context of CC 2.0.
Just for grins, I'll test with another (more recent) CC version, too,
and report the results.
-- R
Greg Irvine wrote:
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_id=1278&alloc_id=3371> &op=click
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
-------------------------------------------------------
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
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
|
| |