GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / build.xml
blob330375fa442537982873ebf03e4eba2cd40c5420
2 <project name="grails-build" default="package">
3                                         
4         <property file="build.properties"/>
5         <property environment="env" />
8         
9     <path id="classpath">
10         <fileset dir="${grails.lib}">
11             <include name="*.jar"/>
12         </fileset>
13         <fileset dir="${grails.lib}/endorsed">
14             <include name="*.jar"/>
15         </fileset>        
16         <fileset dir="${env.JAVA_HOME}/lib">
17                 <include name="tools.jar"/>
18             </fileset>  
19         <pathelement location="${grails.src.war}/WEB-INF"/> 
20       <pathelement path="${grails.build}"/>
21     </path>
23     <target name="clean" description="Clean the build directory.">
24         <echo>JAVA HOME IS ${env.JAVA_HOME}</echo>
25         <delete dir="${grails.dist}"/>
26         <delete dir="${grails.target}"/>
27         <delete dir="${grails.doc}"/>
28     </target>
30     <import file="ant/build/resolve.xml"   /> 
31     <import file="ant/build/compile.xml"   />
32     <import file="ant/build/unit-test.xml" />
33     <import file="ant/build/bundle.xml"    />
34     <import file="ant/build/javadoc.xml"   />
35     <import file="ant/build/osx.xml"   />
36     <!--<import file="ant/build/checkstyle.xml"   />-->
37     <import file="ant/build/release.xml"   />
38     <import file="ant/build/eclipse.xml"   />
40     <target name="cruise"
41             depends="clean,build, test-with-coverage, jar, javadoc, package"
42             description="to be started by the CruiseControl build server">
43         <delete dir="dist/coverage/" quiet="true"/>
44         <mkdir dir="dist/coverage/"/>
45         <move todir="dist/coverage/">
46             <fileset dir="${coverage.report}"/>
47         </move>
48      </target>
51 </project>