You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@hotmail.com> on 2005/09/21 19:25:00 UTC

CruiseControl issues trying to install and run from maven. Please help.

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:mknut01@167.146.29.126:/usr/local/cvsroot:FastForward_AppServer

Using SCM method: cvs
Using CVSROOT: :pserver:mknut01@167.146.29.126:/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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE : CruiseControl issues trying to install and run from maven. Pleasehelp.

Posted by Pascal Larin <pl...@accovia.com>.
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:ddouglass@denverdata.com] 
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:mknut01@167.146.29.126:/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="mick.knutson01@safeway.com">
>        <map DEFANGED_address="mknutson@baselogic.com" 
> DEFANGED_alias="knut01">
>        </map>
>        <failure address="mick.knutson01@safeway.com">
>        </failure>
>        <success address="mick.knutson01@safeway.com">
>        </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" <mi...@hotmail.com>
>> Reply-To: "Maven Users List" <us...@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:mknut01@167.146.29.126:/usr/local/cvsroot:FastForward_AppSer
ver 
>>
>>
>> Using SCM method: cvs
>> Using CVSROOT: :pserver:mknut01@167.146.29.126:/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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: CruiseControl issues trying to install and run from maven. Please help.

Posted by Doug Douglass <dd...@denverdata.com>.
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/fastforwardProject/status.txt"> 
> 
> 
>      </currentbuildstatusbootstrapper>
>    </bootstrappers>
>    <modificationset>
>      <cvs
> localWorkingCopy="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/cruisecontrol/checkout/fastforwardProject" 
> 
> cvsroot=":pserver:mknut01@167.146.29.126:/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/fastforwardProject" 
> 
> encoding="ISO-8859-1">
>      <merge
> dir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/cruisecontrol/checkout/fastforwardProject" 
> 
> pattern="TEST-*.xml">
>      </merge>
>    </log>
>    <publishers>
>      <currentbuildstatuspublisher
> file="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastforwardProject/status.txt"> 
> 
> 
>      </currentbuildstatuspublisher>
>      <htmlemail spamwhilebroken="false" reportsuccess="always"
> css="C:/opt/cruisecontrol-2.3.0.1/main/reporting/jsp/webcontent/css/cruisecontrol.css" 
> 
> mailhost="localhost"
> buildresultsurl="http://www.safeway.com/cruisecontrol/buildresults/fastforwardProject" 
> 
> subjectprefix="[BUILD]" defaultsuffix="@safeway.com"
> xsldir="C:/opt/cruisecontrol-2.3.0.1/main/xsl"
> logdir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastforwardProject" 
> 
> skipusers="false" returnaddress="mick.knutson01@safeway.com">
>        <map DEFANGED_address="mknutson@baselogic.com" 
> DEFANGED_alias="knut01">
>        </map>
>        <failure address="mick.knutson01@safeway.com">
>        </failure>
>        <success address="mick.knutson01@safeway.com">
>        </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" <mi...@hotmail.com>
>> Reply-To: "Maven Users List" <us...@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:mknut01@167.146.29.126:/usr/local/cvsroot:FastForward_AppServer 
>>
>>
>> Using SCM method: cvs
>> Using CVSROOT: :pserver:mknut01@167.146.29.126:/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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: CruiseControl issues trying to install and run from maven. Please help.

Posted by Mick Knutson <mi...@hotmail.com>.
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/fastforwardProject/status.txt">

      </currentbuildstatusbootstrapper>
    </bootstrappers>
    <modificationset>
      <cvs
localWorkingCopy="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/cruisecontrol/checkout/fastforwardProject"
cvsroot=":pserver:mknut01@167.146.29.126:/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/fastforwardProject"
encoding="ISO-8859-1">
      <merge
dir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/cruisecontrol/checkout/fastforwardProject"
pattern="TEST-*.xml">
      </merge>
    </log>
    <publishers>
      <currentbuildstatuspublisher
file="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastforwardProject/status.txt">

      </currentbuildstatuspublisher>
      <htmlemail spamwhilebroken="false" reportsuccess="always"
css="C:/opt/cruisecontrol-2.3.0.1/main/reporting/jsp/webcontent/css/cruisecontrol.css"
mailhost="localhost"
buildresultsurl="http://www.safeway.com/cruisecontrol/buildresults/fastforwardProject"
subjectprefix="[BUILD]" defaultsuffix="@safeway.com"
xsldir="C:/opt/cruisecontrol-2.3.0.1/main/xsl"
logdir="C:\opt\local\blackhawk\FastForward_AppServer\fastforward/target/fastforwardProject"
skipusers="false" returnaddress="mick.knutson01@safeway.com">
        <map address="mknutson@baselogic.com" alias="knut01">
        </map>
        <failure address="mick.knutson01@safeway.com">
        </failure>
        <success address="mick.knutson01@safeway.com">
        </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" <mi...@hotmail.com>
>Reply-To: "Maven Users List" <us...@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:mknut01@167.146.29.126:/usr/local/cvsroot:FastForward_AppServer
>
>Using SCM method: cvs
>Using CVSROOT: :pserver:mknut01@167.146.29.126:/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: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org