Mick, We do the same thing. If you plan to use 2 or more projects on CruiseControl, it is not the way to do it. CruiseControl is designed to be started one time. It reads his configuration file every time it builds a project.
Pascal -----Message d'origine----- De : Doug Douglass [mailto:[EMAIL PROTECTED] Envoyé : September 21, 2005 15:02 À : Maven Users List Objet : Re: CruiseControl issues trying to install and run from maven. Pleasehelp. Mick, FWIW, I don't run CC from maven. I use the CC plugin to generate a config, tweak the config.xml and start CC manually. I found the CC docs/howto and CC plugin docs/howto describe different usage patterns, so I went with the straight CC docs. YMMV Doug Mick Knutson wrote: > Why do I always feel ignored on this list? > > I get 1 out of about 30 posting responded to. I do not feel like I am > asking stupid questions at all. > So, _please_, I really need to get cruise control working. > > > project.properties: > =============== > ###------------------------------------------------------------------------- -----------------------------------------### > > > # Cruise Control Settings - these are used in the generation of the > cruisecontrol config file. > maven.cruisecontrol.home=C:/opt/cruisecontrol-2.3.0.1 > #maven.cruisecontrol.checkout.dir=${basedir} > maven.cruisecontrol.mail.css=${maven.cruisecontrol.home}/main/reporting/jsp/ webcontent/css/cruisecontrol.css > > > maven.cruisecontrol.mail.xlsdir=${maven.cruisecontrol.home}/main/xsl > maven.cruisecontrol.logs.dir=${maven.build.dir} > maven.cruisecontrol.work.dir=${maven.build.dir}/cruisecontrol > #maven.cruisecontrol.goals=scm:update-project|clean > test|multiproject:install|multiproject:site|site:deploy > maven.cruisecontrol.goals=scm:update-project|clean > test|multiproject:install|site:deploy > #This is in seconds > maven.cruisecontrol.schedule.interval=3600 > > > CruiseControl config.xml that is generated: > ================================== > <?xml version="1.0" encoding="UTF-8"?> > > <cruisecontrol> > <project name="fastforwardProject"> > <bootstrappers> > <currentbuildstatusbootstrapper > file="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastfo rwardProject/status.txt"> > > > </currentbuildstatusbootstrapper> > </bootstrappers> > <modificationset> > <cvs > localWorkingCopy="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/t arget/cruisecontrol/checkout/fastforwardProject" > > cvsroot=":pserver:[EMAIL PROTECTED]:/usr/local/cvsroot"> > </cvs> > </modificationset> > <schedule interval="3600"> > <maven goal="scm:update-project|clean > test|multiproject:install|site:deploy" > projectfile="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target /cruisecontrol/checkout/fastforwardProject/project.xml" > > mavenscript="C:\Maven_1.0.2/bin/maven.bat"> > </maven> > </schedule> > <log > dir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastfor wardProject" > > encoding="ISO-8859-1"> > <merge > dir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/cruisec ontrol/checkout/fastforwardProject" > > pattern="TEST-*.xml"> > </merge> > </log> > <publishers> > <currentbuildstatuspublisher > file="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastfo rwardProject/status.txt"> > > > </currentbuildstatuspublisher> > <htmlemail spamwhilebroken="false" reportsuccess="always" > css="C:/opt/cruisecontrol-2.3.0.1/main/reporting/jsp/webcontent/css/cruiseco ntrol.css" > > mailhost="localhost" > buildresultsurl="http://www.safeway.com/cruisecontrol/buildresults/fastforwa rdProject" > > subjectprefix="[BUILD]" defaultsuffix="@safeway.com" > xsldir="C:/opt/cruisecontrol-2.3.0.1/main/xsl" > logdir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fast forwardProject" > > skipusers="false" returnaddress="[EMAIL PROTECTED]"> > <map DEFANGED_address="[EMAIL PROTECTED]" > DEFANGED_alias="knut01"> > </map> > <failure address="[EMAIL PROTECTED]"> > </failure> > <success address="[EMAIL PROTECTED]"> > </success> > </htmlemail> > </publishers> > <plugins> > </plugins> > </project> > </cruisecontrol> > > > > > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > > HP Consulting Services (Walnut Creek, CA) > > > > >> From: "Mick Knutson" <[EMAIL PROTECTED]> >> Reply-To: "Maven Users List" <users@maven.apache.org> >> To: users@maven.apache.org >> Subject: CruiseControl issues trying to install and run from maven. >> Please help. >> Date: Wed, 21 Sep 2005 10:25:00 -0700 >> >> I have maven generating my config.xml for me when I manually run >> "maven cruisecontrol", but there does not seem to be a >> cruisecontrol:install in the latest plugin. >> Also, when I run "maven cruisecontrol:run", I get some strange Sax >> Parser error. >> >> C:\opt\local\blackhawk\FastForward_AppServer\fastforward>maven >> cruisecontrol:install >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.0.2 >> >> BUILD FAILED >> Goal "cruisecontrol:install" does not exist in this project. >> Total time: 3 seconds >> Finished at: Wed Sep 21 10:11:41 PDT 2005 >> >> C:\opt\local\blackhawk\FastForward_AppServer\fastforward>maven >> cruisecontrol:run >> __ __ >> | \/ |__ _Apache__ ___ >> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ >> |_| |_\__,_|\_/\___|_||_| v. 1.0.2 >> >> build:start: >> >> scm:parse-connection: >> [echo] Using connection: >> scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:FastForward_AppSer ver >> >> >> Using SCM method: cvs >> Using CVSROOT: :pserver:[EMAIL PROTECTED]:/usr/local/cvsroot >> Using module: FastForward_AppServer >> >> scm:validate: >> >> cruisecontrol:validate: >> >> cruisecontrol:run: >> [java] [cc]Sep-21 10:11:52 Main - CruiseControl Version >> 2.3.0.1 >> [java] [cc]Sep-21 10:11:52 Main - failed to load config >> file [config.xml] : Could not load org.apache.xerces.parsers.SAXParser: >> SAX2 >> driver class org.apache.xerces.parsers.SAXParser not found: >> org.apache.xerces.parsers.SAXParser >> [java] [cc]Sep-21 10:11:52 Main - Usage: >> [java] [cc]Sep-21 10:11:52 Main - >> [java] [cc]Sep-21 10:11:52 Main - Starts a continuous >> integration loop >> [java] [cc]Sep-21 10:11:52 Main - >> [java] [cc]Sep-21 10:11:52 Main - java CruiseControl >> [options] >> [java] [cc]Sep-21 10:11:52 Main - where options (all >> optional) are: >> [java] [cc]Sep-21 10:11:52 Main - >> [java] [cc]Sep-21 10:11:52 Main - -port [number] >> where number is the port of the Controller web site; defaults to 8000 >> [java] [cc]Sep-21 10:11:52 Main - -user username >> where username is the login used to logon to the Controller web site; by >> de >> fault no login is required >> [java] [cc]Sep-21 10:11:52 Main - -password pwd >> where pwd is the password used to logon to the Controller web site; by >> defa >> ult no login is required >> [java] [cc]Sep-21 10:11:52 Main - -rmiport [number] >> where number is the RMI port of the Controller; defaults to 1099 >> [java] [cc]Sep-21 10:11:52 Main - -xslpath directory >> where directory is location of jmx xsl files; defaults to files in >> package >> [java] [cc]Sep-21 10:11:52 Main - -configfile file >> where file is the configuration file; defaults to config.xml in the >> current >> directory >> [java] [cc]Sep-21 10:11:52 Main - -debug to >> set the internal logging level to DEBUG >> [java] [cc]Sep-21 10:11:52 Main - >> [java] [cc]Sep-21 10:11:52 Main - Please keep in mind that >> the JMX server will only be started if you specify -port and/or -rmiport >> >> [java] [ERROR] Java Result: 1 >> BUILD SUCCESSFUL >> Total time: 4 seconds >> Finished at: Wed Sep 21 10:11:52 PDT 2005 >> >> >> >> >> >> Thank You >> Mick Knutson >> >> Sr. Java/J2EE Consultant >> BASE logic, inc. >> (415) 648-1804 (S.F., CA) >> http://www.BASELogic.com >> >> HP Consulting Services (Walnut Creek, CA) >> >> >> >> --------------------------------------------------------------------- >> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]