logo       

RE: How does CC invoke ant?: msg#00075

java.cruise-control.user

Subject: RE: How does CC invoke ant?


==>but what you probably want to use is the antscript attribute on the ant
element:
Thanks for the suggestion. I've been experimenting this morning with this
attribute. Now I have three more questions:

1) Do you have any sample config files/snippets that you can share?
2) Why does my browser (IE on a W2K machine) pop open when I used antscript
& NOT when I use buildfile? The CC process still continues, but this is
rather annoying.
3) Also, I only get the following when using antfile:

2003-12-18 10:58:08,000 [BuildQueueThread] ERROR Project -
exception attempting build in project Lawson-Developer-Studio
net.sourceforge.cruisecontrol.CruiseControlException: Error reading :
D:\lawenv\LawsonPlatform\toolkit\skade\plugins\log.xml. Saved as :
D:\lawenv\LawsonPlatform\toolkit\skade\plugins\1071766687984log.xml : skip
value is negative
at
net.sourceforge.cruisecontrol.builders.AntBuilder.getAntLogAsElement(AntBuilder.java:349)
at
net.sourceforge.cruisecontrol.builders.AntBuilder.build(AntBuilder.java:161)
at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:144)
at net.sourceforge.cruisecontrol.Project.build(Project.java:196)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:145)
at
net.sourceforge.cruisecontrol.BuildQueue.serviceQueue(BuildQueue.java:75)
at net.sourceforge.cruisecontrol.BuildQueue.run(BuildQueue.java:91)
at java.lang.Thread.run(Thread.java:536)

Mike McGowan
mike.mcgowan@xxxxxxxxxx


|---------+---------------------------------------------->
| | "Jeffrey Fredrick" <jtf@xxxxxxxxxx>|
| | Sent by: |
| | cruisecontrol-user-admin@xxxxxxxxxx|
| | ceforge.net |
| | |
| | |
| | 12/17/2003 04:56 PM |
| | |
|---------+---------------------------------------------->

>----------------------------------------------------------------------------------------------|
|
|
| To: <Mike.McGowan@xxxxxxxxxx>,
<cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx> |
| cc:
|
| Subject: RE: [Cruisecontrol-user] How does CC invoke ant?
|

>----------------------------------------------------------------------------------------------|





well you found out about the DEBUG option (well done!), but what you
probably want to use is the antscript attribute on the ant element:
http://cruisecontrol.sourceforge.net/main/configxml.html#antbuilder

Jtf


-----Original Message-----
From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of
Mike.McGowan@xxxxxxxxxx
Sent: Wednesday, December 17, 2003 11:26 AM
To: cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
Subject: [Cruisecontrol-user] How does CC invoke ant?


I've got my ant build file running properly from the command line. e.g "ant
-f mybuildfile.xml". Next, my CC config file (located in the same
directory as mybuildfile.xml), I launch the exact same build file.
Immediately I see that I do not have all of my ant properties set and the
build fails. In my environment, we have a ant wrapper written in Perl (to
eliminate the need to have separate .bat & .sh files) This wrapper does
look for the property file & loads properties before invoking ant.

I would have expected CC's pluggable ant builder, to use my environment's
configured ant. Are there some debug/verbose options that I can use to see
how ant is getting invoked from within the CC process?

Mike McGowan
mike.mcgowan@xxxxxxxxxx




-------------------------------------------------------
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







-------------------------------------------------------
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