Scheduled Task i meant. try that if you dont want to use CruiseControl -D
On 6/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thanks Dan! > > Is the Scheduletask same as Task Scheduler on windows? Pardon my > ignorance about system-type files...I am just a beginner. > > I found some documentation about task Scheduler which comes installed > with most windows systems, I was wondering if this is the only option > I have, if I dont want to use cruisecontrol. > > Any suggestions? > > S > > dan tran <[EMAIL PROTECTED]> 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]