2009-02-22 08:04:26 +08:00
|
|
|
<project name="bbb-scheduler" default="test">
|
2008-10-28 23:05:48 +08:00
|
|
|
|
|
|
|
<condition property="grails" value="grails.bat">
|
|
|
|
<os family="windows"/>
|
|
|
|
</condition>
|
|
|
|
<property name="grails" value="grails" />
|
|
|
|
|
|
|
|
<!-- =================================
|
|
|
|
target: clean
|
|
|
|
================================= -->
|
|
|
|
<target name="clean" description="--> Cleans a Grails application">
|
|
|
|
<exec executable="${grails}" failonerror="true">
|
|
|
|
<arg value="clean"/>
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================
|
|
|
|
target: war
|
|
|
|
================================= -->
|
|
|
|
<target name="war" description="--> Creates a WAR of a Grails application">
|
|
|
|
<exec executable="${grails}" failonerror="true">
|
|
|
|
<arg value="war"/>
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================
|
|
|
|
target: test
|
|
|
|
================================= -->
|
|
|
|
<target name="test" description="--> Run a Grails applications unit tests">
|
|
|
|
<exec executable="${grails}" failonerror="true">
|
|
|
|
<arg value="test-app"/>
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<!-- =================================
|
|
|
|
target: deploy
|
|
|
|
================================= -->
|
|
|
|
<target name="deploy" depends="war" description="--> The deploy target (initially empty)">
|
|
|
|
<!-- TODO -->
|
|
|
|
</target>
|
|
|
|
</project>
|