I'm looking to set up automated/nightly builds for my org. (like everyone else!) I'd appreciate hearing about other's experiences.

I'm looking into using Anthill, because we have multiple projects (crosses off CruiseControl), are currently using VSS (sigh - crosses off Gump), and we want to see build logs when the build fails (currently this rules out using Maven directly - it produces no log for java:jar, and in b7 the site won't build if the code doesn't build; anyway we still need to build the ant projects)

My plan for the mavenized stuff is to write a simple build.xml that just invokes maven[1].

Anyone know of problems with a setup like this, or know a better way to do it?

Cheers,
Baz

[1] something like this...not tested this yet:
<property environment="env"/>
<target name="maven">
<java classname="com.werken.forehead.Forehead">
<arg>some-goal-here</arg>
<jvmarg>-Xmx128m</jvmarg>
<classpath>
<pathelement location="${env.MAVEN_HOME}\lib\forehead-1.0-beta-4.jar" />
</classpath>
<sysproperty key="maven.home" value="${env.MAVEN_HOME}" />
<sysproperty key="tools.jar" value="${env.JAVA_HOME}\lib\tools.jar" />
<sysproperty key="forehead.conf.file" value="${env.MAVEN_HOME}\bin\forehead.conf" />
</java>
</target>


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

Reply via email to