You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Porter <bp...@f2network.com.au> on 2003/12/02 00:19:56 UTC
RE: cruisecontrol, CI & maven
No, the error is:
Project descriptor
> > D:\ri\op\op\op\checkout\op\project.xml does not exist
You need to checkout op into the checkout\op directory once before the
standard CC setup works. I never attempted to do a cvs bootstrapper that
might achieve this - if anyone has it figured out let me know and I'll
adjust the plugin.
Cheers,
Brett
> -----Original Message-----
> From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> Sent: Tuesday, 2 December 2003 10:22 AM
> To: Maven Users List
> Subject: Re: cruisecontrol, CI & maven
>
>
> Looks like you didn't give cruisecontrol the -configfile or -project
> options.
> --
> dIon Gillard, Multitask Consulting
> Blog: http://blogs.codehaus.org/people/dion/
>
>
>
> Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 06:21:34 PM:
>
> > thanks Dion,
> >
> > ok, so if i've got it right..... the plugin coordinates maven
> > projects
> with
> > cruisecontrol. Cruisecontrol config file is built using
> maven project
> > descriptor info for cvs properties etc. then cruisecontrol
> executes
> calling
> > maven goals.
> >
> > I downloaded cruisecontrol, built cruisecontrol, executed
> the plugin
> > to
> create
> > the cruisecontrol config then executed cruisecontrol...........
> >
> > error :( config at the bottom,
> >
> > any ideas - sorry if this is getting a bit off-topic for a
> maven list.
> >
> > [cc]Nov-28 15:11:23 Main - CruiseControl Version
> 2.1 Compiled
> on
> > November 28 2003 1508
> > [cc]Nov-28 15:11:23 trolController- projectName = [op] [cc]Nov-28
> > 15:11:23 trolController- No previously serialized project
> found:
> > D:\ri\op\op\op\op
> > [cc]Nov-28 15:11:23 Project - Project op: reading
> settings from
> config
> > file [D:\ri\op\op\op\cruisecontrol.xml]
> > [cc]Nov-28 15:11:23 Main - Project descriptor
> > D:\ri\op\op\op\checkout\op\project.xml does not exist
> > [cc]Nov-28 15:11:23 Main - Usage:
> > [cc]Nov-28 15:11:23 Main -
> > [cc]Nov-28 15:11:23 Main - Starts a continuous
> integration loop
> > [cc]Nov-28 15:11:23 Main -
> > [cc]Nov-28 15:11:23 Main - java CruiseControl [options]
> > [cc]Nov-28 15:11:23 Main - where options are:
> > [cc]Nov-28 15:11:23 Main -
> > [cc]Nov-28 15:11:23 Main - -port number where
> number is
> > the port of the Controller web site
> > [cc]Nov-28 15:11:23 Main - -configfile file
> where file
> is the
> > configuration file
> >
> >
> >
> >
> > <cruisecontrol>
> > <project name="op">
> > <bootstrappers>
> > <currentbuildstatusbootstrapper
> > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > </currentbuildstatusbootstrapper>
> > </bootstrappers>
> > <modificationset>
> > <cvs localWorkingCopy="D:\ri\op\op\op/checkout/op"
> > cvsroot=":pserver:nathan@pocbeawl:/OnePort/data/cvsroot">
> > </cvs>
> > </modificationset>
> > <schedule interval="300">
> > <maven goal="scm:update|clean test|site:deploy"
> > projectfile="D:\ri\op\op\op/checkout/op/project.xml"
> > mavenscript="D:\java\apache\maven/bin/maven">
> > </maven>
> > </schedule>
> > <publishers>
> > <currentbuildstatuspublisher
> > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > </currentbuildstatuspublisher>
> > <htmlemail logdir="D:\ri\op\op\op/target/cc-logs/op"
> mailhost="localhost"
> > css="../cc/reporting/jsp/css/cruisecontrol.css"
> > subjectprefix="[BUILD]"
> > returnaddress="nathan.coast@oneport.com"
> defaultsuffix="@oneport.com"
> > xsldir="../cc/reporting/jsp/xsl">
> > <failure address="nathan.coast@oneport.com">
> > </failure>
> > </htmlemail>
> > </publishers>
> > </project>
> > </cruisecontrol>
> >
> >
> >
> >
> >
> >
> >
> >
> > D:\ri\op\op\op>
> >
> >
> >
> > dion@multitask.com.au wrote:
> >
> > > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003
> 03:05:20 PM:
> > >
> > >
> > >>Hi,
> > >>
> > >>Is it 'expected' that cruisecontrol will be the defacto mechanism
> > >>for
> > >
> > > performing
> > >
> > >>CI within maven? In other words is it worth investing the time to
> learn
> > >
> > >
> > >>cruisecontrol?
> > >
> > >
> > > I don't know if it's worth *your* time, but it was up and going
> quickly
> > > for me.
> > >
> > >
> > >>As a cruisecontrol newbie I'm not sure where the boundaries of
> > >
> > > cruisecontrol and
> > >
> > >>maven overlap. What I'm looking for is some way of
> schedulling cvs
> > >
> > > checkout,
> > >
> > >>build, deploy, test, email someone when it goes wrong.
> > >
> > >
> > > It does that easily.
> > >
> > >
> > >>Is there a more recent maven plugin for cruisecontrol? I
> had a look
> at
> > >
> > > the
> > >
> > >>current plugin and the run method doesn't seem to do much :)
> > >
> > > Who needs the run method?
> > >
> > > I used the plugin to generate the config file and run CC by batch
> > > file
> on
> > > our CI/testing box.
> > >
> > > I had to tweak the CC plugin a bit as some of the
> property defaults
> make
> > > no sense.
> > >
> > > --
> > > dIon Gillard, Multitask Consulting
> > > Blog: http://blogs.codehaus.org/people/dion/
> > >
> > >
> > >
> > >
> > >
> > >
> --------------------------------------------------------------------
> > > -
> > > 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, CI & maven
Posted by di...@multitask.com.au.
I tweaked the plugin, as quite a few properties just don't make sense.
One was the checkout directory.
If I'm running maven cruisecontrol, I already have a directory with code
in it. I didn't understand why it used 'checkout'.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Brett Porter <bp...@f2network.com.au> wrote on 02/12/2003 10:19:56 AM:
> No, the error is:
> Project descriptor
> > > D:\ri\op\op\op\checkout\op\project.xml does not exist
>
> You need to checkout op into the checkout\op directory once before the
> standard CC setup works. I never attempted to do a cvs bootstrapper that
> might achieve this - if anyone has it figured out let me know and I'll
> adjust the plugin.
>
> Cheers,
> Brett
>
> > -----Original Message-----
> > From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> > Sent: Tuesday, 2 December 2003 10:22 AM
> > To: Maven Users List
> > Subject: Re: cruisecontrol, CI & maven
> >
> >
> > Looks like you didn't give cruisecontrol the -configfile or -project
> > options.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog: http://blogs.codehaus.org/people/dion/
> >
> >
> >
> > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 06:21:34 PM:
> >
> > > thanks Dion,
> > >
> > > ok, so if i've got it right..... the plugin coordinates maven
> > > projects
> > with
> > > cruisecontrol. Cruisecontrol config file is built using
> > maven project
> > > descriptor info for cvs properties etc. then cruisecontrol
> > executes
> > calling
> > > maven goals.
> > >
> > > I downloaded cruisecontrol, built cruisecontrol, executed
> > the plugin
> > > to
> > create
> > > the cruisecontrol config then executed cruisecontrol...........
> > >
> > > error :( config at the bottom,
> > >
> > > any ideas - sorry if this is getting a bit off-topic for a
> > maven list.
> > >
> > > [cc]Nov-28 15:11:23 Main - CruiseControl Version
> > 2.1 Compiled
> > on
> > > November 28 2003 1508
> > > [cc]Nov-28 15:11:23 trolController- projectName = [op] [cc]Nov-28
> > > 15:11:23 trolController- No previously serialized project
> > found:
> > > D:\ri\op\op\op\op
> > > [cc]Nov-28 15:11:23 Project - Project op: reading
> > settings from
> > config
> > > file [D:\ri\op\op\op\cruisecontrol.xml]
> > > [cc]Nov-28 15:11:23 Main - Project descriptor
> > > D:\ri\op\op\op\checkout\op\project.xml does not exist
> > > [cc]Nov-28 15:11:23 Main - Usage:
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - Starts a continuous
> > integration loop
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - java CruiseControl [options]
> > > [cc]Nov-28 15:11:23 Main - where options are:
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - -port number where
> > number is
> > > the port of the Controller web site
> > > [cc]Nov-28 15:11:23 Main - -configfile file
> > where file
> > is the
> > > configuration file
> > >
> > >
> > >
> > >
> > > <cruisecontrol>
> > > <project name="op">
> > > <bootstrappers>
> > > <currentbuildstatusbootstrapper
> > > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > > </currentbuildstatusbootstrapper>
> > > </bootstrappers>
> > > <modificationset>
> > > <cvs localWorkingCopy="D:\ri\op\op\op/checkout/op"
> > > cvsroot=":pserver:nathan@pocbeawl:/OnePort/data/cvsroot">
> > > </cvs>
> > > </modificationset>
> > > <schedule interval="300">
> > > <maven goal="scm:update|clean test|site:deploy"
> > > projectfile="D:\ri\op\op\op/checkout/op/project.xml"
> > > mavenscript="D:\java\apache\maven/bin/maven">
> > > </maven>
> > > </schedule>
> > > <publishers>
> > > <currentbuildstatuspublisher
> > > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > > </currentbuildstatuspublisher>
> > > <htmlemail logdir="D:\ri\op\op\op/target/cc-logs/op"
> > mailhost="localhost"
> > > css="../cc/reporting/jsp/css/cruisecontrol.css"
> > > subjectprefix="[BUILD]"
> > > returnaddress="nathan.coast@oneport.com"
> > defaultsuffix="@oneport.com"
> > > xsldir="../cc/reporting/jsp/xsl">
> > > <failure address="nathan.coast@oneport.com">
> > > </failure>
> > > </htmlemail>
> > > </publishers>
> > > </project>
> > > </cruisecontrol>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > D:\ri\op\op\op>
> > >
> > >
> > >
> > > dion@multitask.com.au wrote:
> > >
> > > > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003
> > 03:05:20 PM:
> > > >
> > > >
> > > >>Hi,
> > > >>
> > > >>Is it 'expected' that cruisecontrol will be the defacto mechanism
> > > >>for
> > > >
> > > > performing
> > > >
> > > >>CI within maven? In other words is it worth investing the time to
> > learn
> > > >
> > > >
> > > >>cruisecontrol?
> > > >
> > > >
> > > > I don't know if it's worth *your* time, but it was up and going
> > quickly
> > > > for me.
> > > >
> > > >
> > > >>As a cruisecontrol newbie I'm not sure where the boundaries of
> > > >
> > > > cruisecontrol and
> > > >
> > > >>maven overlap. What I'm looking for is some way of
> > schedulling cvs
> > > >
> > > > checkout,
> > > >
> > > >>build, deploy, test, email someone when it goes wrong.
> > > >
> > > >
> > > > It does that easily.
> > > >
> > > >
> > > >>Is there a more recent maven plugin for cruisecontrol? I
> > had a look
> > at
> > > >
> > > > the
> > > >
> > > >>current plugin and the run method doesn't seem to do much :)
> > > >
> > > > Who needs the run method?
> > > >
> > > > I used the plugin to generate the config file and run CC by batch
> > > > file
> > on
> > > > our CI/testing box.
> > > >
> > > > I had to tweak the CC plugin a bit as some of the
> > property defaults
> > make
> > > > no sense.
> > > >
> > > > --
> > > > dIon Gillard, Multitask Consulting
> > > > Blog: http://blogs.codehaus.org/people/dion/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > 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, CI & maven
Posted by di...@multitask.com.au.
I tweaked the plugin, as quite a few properties just don't make sense.
One was the checkout directory.
If I'm running maven cruisecontrol, I already have a directory with code
in it. I didn't understand why it used 'checkout'.
--
dIon Gillard, Multitask Consulting
Blog: http://blogs.codehaus.org/people/dion/
Brett Porter <bp...@f2network.com.au> wrote on 02/12/2003 10:19:56 AM:
> No, the error is:
> Project descriptor
> > > D:\ri\op\op\op\checkout\op\project.xml does not exist
>
> You need to checkout op into the checkout\op directory once before the
> standard CC setup works. I never attempted to do a cvs bootstrapper that
> might achieve this - if anyone has it figured out let me know and I'll
> adjust the plugin.
>
> Cheers,
> Brett
>
> > -----Original Message-----
> > From: dion@multitask.com.au [mailto:dion@multitask.com.au]
> > Sent: Tuesday, 2 December 2003 10:22 AM
> > To: Maven Users List
> > Subject: Re: cruisecontrol, CI & maven
> >
> >
> > Looks like you didn't give cruisecontrol the -configfile or -project
> > options.
> > --
> > dIon Gillard, Multitask Consulting
> > Blog: http://blogs.codehaus.org/people/dion/
> >
> >
> >
> > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003 06:21:34 PM:
> >
> > > thanks Dion,
> > >
> > > ok, so if i've got it right..... the plugin coordinates maven
> > > projects
> > with
> > > cruisecontrol. Cruisecontrol config file is built using
> > maven project
> > > descriptor info for cvs properties etc. then cruisecontrol
> > executes
> > calling
> > > maven goals.
> > >
> > > I downloaded cruisecontrol, built cruisecontrol, executed
> > the plugin
> > > to
> > create
> > > the cruisecontrol config then executed cruisecontrol...........
> > >
> > > error :( config at the bottom,
> > >
> > > any ideas - sorry if this is getting a bit off-topic for a
> > maven list.
> > >
> > > [cc]Nov-28 15:11:23 Main - CruiseControl Version
> > 2.1 Compiled
> > on
> > > November 28 2003 1508
> > > [cc]Nov-28 15:11:23 trolController- projectName = [op] [cc]Nov-28
> > > 15:11:23 trolController- No previously serialized project
> > found:
> > > D:\ri\op\op\op\op
> > > [cc]Nov-28 15:11:23 Project - Project op: reading
> > settings from
> > config
> > > file [D:\ri\op\op\op\cruisecontrol.xml]
> > > [cc]Nov-28 15:11:23 Main - Project descriptor
> > > D:\ri\op\op\op\checkout\op\project.xml does not exist
> > > [cc]Nov-28 15:11:23 Main - Usage:
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - Starts a continuous
> > integration loop
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - java CruiseControl [options]
> > > [cc]Nov-28 15:11:23 Main - where options are:
> > > [cc]Nov-28 15:11:23 Main -
> > > [cc]Nov-28 15:11:23 Main - -port number where
> > number is
> > > the port of the Controller web site
> > > [cc]Nov-28 15:11:23 Main - -configfile file
> > where file
> > is the
> > > configuration file
> > >
> > >
> > >
> > >
> > > <cruisecontrol>
> > > <project name="op">
> > > <bootstrappers>
> > > <currentbuildstatusbootstrapper
> > > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > > </currentbuildstatusbootstrapper>
> > > </bootstrappers>
> > > <modificationset>
> > > <cvs localWorkingCopy="D:\ri\op\op\op/checkout/op"
> > > cvsroot=":pserver:nathan@pocbeawl:/OnePort/data/cvsroot">
> > > </cvs>
> > > </modificationset>
> > > <schedule interval="300">
> > > <maven goal="scm:update|clean test|site:deploy"
> > > projectfile="D:\ri\op\op\op/checkout/op/project.xml"
> > > mavenscript="D:\java\apache\maven/bin/maven">
> > > </maven>
> > > </schedule>
> > > <publishers>
> > > <currentbuildstatuspublisher
> > > file="D:\ri\op\op\op/target/cc-logs/currentbuildstatus.txt">
> > > </currentbuildstatuspublisher>
> > > <htmlemail logdir="D:\ri\op\op\op/target/cc-logs/op"
> > mailhost="localhost"
> > > css="../cc/reporting/jsp/css/cruisecontrol.css"
> > > subjectprefix="[BUILD]"
> > > returnaddress="nathan.coast@oneport.com"
> > defaultsuffix="@oneport.com"
> > > xsldir="../cc/reporting/jsp/xsl">
> > > <failure address="nathan.coast@oneport.com">
> > > </failure>
> > > </htmlemail>
> > > </publishers>
> > > </project>
> > > </cruisecontrol>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > D:\ri\op\op\op>
> > >
> > >
> > >
> > > dion@multitask.com.au wrote:
> > >
> > > > Nathan Coast <na...@codeczar.com> wrote on 28/11/2003
> > 03:05:20 PM:
> > > >
> > > >
> > > >>Hi,
> > > >>
> > > >>Is it 'expected' that cruisecontrol will be the defacto mechanism
> > > >>for
> > > >
> > > > performing
> > > >
> > > >>CI within maven? In other words is it worth investing the time to
> > learn
> > > >
> > > >
> > > >>cruisecontrol?
> > > >
> > > >
> > > > I don't know if it's worth *your* time, but it was up and going
> > quickly
> > > > for me.
> > > >
> > > >
> > > >>As a cruisecontrol newbie I'm not sure where the boundaries of
> > > >
> > > > cruisecontrol and
> > > >
> > > >>maven overlap. What I'm looking for is some way of
> > schedulling cvs
> > > >
> > > > checkout,
> > > >
> > > >>build, deploy, test, email someone when it goes wrong.
> > > >
> > > >
> > > > It does that easily.
> > > >
> > > >
> > > >>Is there a more recent maven plugin for cruisecontrol? I
> > had a look
> > at
> > > >
> > > > the
> > > >
> > > >>current plugin and the run method doesn't seem to do much :)
> > > >
> > > > Who needs the run method?
> > > >
> > > > I used the plugin to generate the config file and run CC by batch
> > > > file
> > on
> > > > our CI/testing box.
> > > >
> > > > I had to tweak the CC plugin a bit as some of the
> > property defaults
> > make
> > > > no sense.
> > > >
> > > > --
> > > > dIon Gillard, Multitask Consulting
> > > > Blog: http://blogs.codehaus.org/people/dion/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > --------------------------------------------------------------------
> > > > -
> > > > 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