|
Last change
on this file since 18 was
16,
checked in by tuxta, 17 years ago
|
|
Created grails app and init domain classes
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | <project name="openmim" default="test"> |
|---|
| 2 | |
|---|
| 3 | <condition property="grails" value="grails.bat"> |
|---|
| 4 | <os family="windows"/> |
|---|
| 5 | </condition> |
|---|
| 6 | <property name="grails" value="grails" /> |
|---|
| 7 | |
|---|
| 8 | <!-- ================================= |
|---|
| 9 | target: clean |
|---|
| 10 | ================================= --> |
|---|
| 11 | <target name="clean" description="--> Cleans a Grails application"> |
|---|
| 12 | <exec executable="${grails}" failonerror="true"> |
|---|
| 13 | <arg value="clean"/> |
|---|
| 14 | </exec> |
|---|
| 15 | </target> |
|---|
| 16 | |
|---|
| 17 | <!-- ================================= |
|---|
| 18 | target: war |
|---|
| 19 | ================================= --> |
|---|
| 20 | <target name="war" description="--> Creates a WAR of a Grails application"> |
|---|
| 21 | <exec executable="${grails}" failonerror="true"> |
|---|
| 22 | <arg value="war"/> |
|---|
| 23 | </exec> |
|---|
| 24 | </target> |
|---|
| 25 | |
|---|
| 26 | <!-- ================================= |
|---|
| 27 | target: test |
|---|
| 28 | ================================= --> |
|---|
| 29 | <target name="test" description="--> Run a Grails applications unit tests"> |
|---|
| 30 | <exec executable="${grails}" failonerror="true"> |
|---|
| 31 | <arg value="test-app"/> |
|---|
| 32 | </exec> |
|---|
| 33 | </target> |
|---|
| 34 | |
|---|
| 35 | <!-- ================================= |
|---|
| 36 | target: deploy |
|---|
| 37 | ================================= --> |
|---|
| 38 | <target name="deploy" depends="war" description="--> The deploy target (initially empty)"> |
|---|
| 39 | <!-- TODO --> |
|---|
| 40 | </target> |
|---|
| 41 | </project> |
|---|
Note: See
TracBrowser
for help on using the repository browser.