I wrote a build.xml which include some target use maven.
For example:
    <target
      name="prepare-maven.script">

        <condition property="maven.script" value="maven.bat">
            <and>
                  <os family="windows" />
                  <equals arg1="${maven.script}" arg2="$${maven.script}"
/>
            </and>
        </condition>

        <condition property="maven.script" value="maven">
            <equals arg1="${maven.script}" arg2="$${maven.script}" />
        </condition>
    </target>

    <target
      name="clean"
      depends="prepare-maven.script">

      <exec executable="${maven.home}/bin/${maven.script}"
            failonerror="true">
        <arg line="clean"/>
        <env key="MAVEN_HOME" value="${maven.home}"/>
      </exec>
    </target>

and I wrote a cruisecontrol.xml has some target as:
    <target name="clean">
      <ant antfile="build.xml" target="clean"/>
    </target>
So I can use CC ececute cruisecontrol.xml. 

-----Original Message-----
From: J. Matthew Pryor [mailto:[EMAIL PROTECTED]] 
Sent: 2002?8?27? 11:26
To: Turbine Maven Users List; [EMAIL PROTECTED]
Subject: RE: Cruise Control Integration?

Any gotchas with getting it going ?

Thanks,
Matthew

> -----Original Message-----
> From: Kuisong.Tong [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 11:27 AM
> To: 'Turbine Maven Users List'; [EMAIL PROTECTED]
> Subject: RE: Cruise Control Integration?
> 
> 
> Now I use CC2.0 and Maven b6, I think this work well.
> 
> -----Original Message-----
> From: James CE Johnson [mailto:[EMAIL PROTECTED]] 
> Sent: 2002?8?26? 23:23
> To: [EMAIL PROTECTED]
> Subject: RE: Cruise Control Integration?
> 
> > James,
> >
> > You have 2 options:
> >
> > - wrap the call to maven in an ant build file and configure CC to
use
> > that ant build file. This feature is available now.
> 
> That's probably the best thing for us to do since we currently have CC
> working nicely with the Maven B4 ant buildfiles.
> >
> > - or use the Maven CI feature! It's called the reactor and is a
plugin
> > that you can find in your repo (under maven/jars). However, it is
> still
> > crude and is currently lacking lots of the features that you will
find
> > in CC/Gump. That will come.
> >
> > Actually, you may have seen my email from yesterday on the same
> > subject. I'd also like to make some headway in the CI field.
> 
> Yea. Read that. Liked it too.
> 
> >
> > Cheers,
> > -Vincent
> >
> >> -----Original Message-----
> >> From: James CE J ohnson [mailto:[EMAIL PROTECTED]]
> >> Sent: 26 August 2002 14:03
> >> To: turbine-maven-user
> >> Subject: Cruise Control Integration?
> >>
> >> Well, I've just about got our projects converted from B4 to last
> >> friday's version. Once I'm done with that I have to "solve" Cruise
> >> Control integration and then I can twist everyone's arm to upgrade.
> > Has
> >> anyone tackled this? Any suggestions?
> >>
> >> Thanks,
> >> James
> >>
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> >> [EMAIL PROTECTED]>
> >> For additional commands, e-mail: <mailto:turbine-maven-user-
> >> [EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]> For
> > additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to