Eric,
I work for a very small startup company. Due to time and resource
constraints the boss does not want to add another tool right now. I
guess if we had a bit more time to investigate how to implement CC, we
would. Riht now, I have very tight deadlines.
I have read good things on the net about CC. But have'nt found a simple
and straightforward way to integrate it with maven. And I am still very
very new with maven!
Thanks
Savitha
Eric Pugh wrote:
A little off topic, but why wouldn't you use CruiseControl (or any of
the other tools out there?)
CC has good Maven support, an okay reporting interface, and is
scalable. I'd hazard that you could get a basic build up and running
in the required 15 minutes for a sniff test! Well, after running Ant
and compiling the app I guess..
The next version will have integrated servlet container to remove the
need for an external servlet container to run the reporting app.
Maven support has been enhanced as well.
Eric
On Jun 2, 2005, at 11:51 PM, [EMAIL PROTECTED] wrote:
Eric,
Thanks! But we currently do not want to use Cruisecontrol. I am
trying to figure out a way to set something up with maven without
having to use CruiseControl. I have not found anything seaching the
internet so far!
Savitha
"Maven Users List" <users@maven.apache.org> wrote:
Use CruiseControl
http://cruisecontrol.sf.net
- Eric
On Jun 2, 2005, at 4:03 AM, dan tran wrote:
To schedule a job, use cron on unix or cron with cygwin on windows,
or
windows' scheduletask.
Regarding troubleshooting your goal, perhaps you should scale it
down
and debug from there, use maven's -X option would also helps.
-D
On 6/2/05, Savitha Rajiv <[EMAIL PROTECTED]> wrote:
Hi,
I was wondering if someone could help me with a couple of issues.
I can't figure out a way to schedule builds once a month, or for
that
matter, to vary the build intervals.
Also, my nightly-build goal defined in maven.xml is not building
the
JAR file or cleaning up the target directory. Here is my
maven.xml.
Any pointers will be greatly appreciated! Thanks!
<project default="nightly-build"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant">
<preGoal name="nightly-build">
<tstamp>
<format property="build.date" pattern="yyyy.MM.dd/hh.mm.ss"/>
<echo>BUILD DATE IS</echo>
<echo>"${build.date}"</echo>
</tstamp>
<j:set var="maven.build.dir" value="${basedir}/target/
${build.date}"/>
<j:set var="maven.scm.method" value="cvs"/>
<j:set var="maven.scm.cvs.module" value="Root"/>
</preGoal>
<goal name="nightly-build"
description="Nightly Build WizioTec">
<echo>nightly-build</echo>
<!--Any ant task, or jelly tags can go here -->
value="multiproject:goal,multiproject:clean,clean,clean-
site,multiproject:site,site:deploy"
/>
<j:set var="goals"
value="update-project,compile,test,jar,send-report,site:generate"/>
<mkdir dir="${maven.build.dir}/${build.date}" />
<u:tokenize var="goals" delim=",">${goals}</u:tokenize>
<j:forEach items="${goals}" var="goal" indexVar="goalNumber">
Now attaining goal number ${goalNumber}, which is ${goal}
<attainGoal name="${goal}" />
</j:forEach>
</goal>
<goal name="send-report">
<echo>SENDING REPORTS VIA EMAIL</echo>
<mail subject="Build Status on Mercury"
mailhost="mail.wiziotec.com" mailport="25"
encoding="plain">
<from address="[EMAIL PROTECTED]" name="Nightly Build"/>
<to address="[EMAIL PROTECTED]" name="Savitha Rajiv" />
<message src="buildresults.log" />
<fileset dir="c:\savitha\workspace\root">
<include name="buildresults.log" />
</fileset>
</mail>
</goal>
<goal name="compile">
<echo>compile</echo>
</goal>
<goal name="test">
<echo>test</echo>
</goal>
<goal name="jar">
<echo>BUILDING JARS NOW</echo>
</goal>
<goal name="update-project">
<echo>Updating sources</echo>
</goal>
</project>
---------------------------------
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
--------------------------------------------------------------------
-
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]