Make the tag result list scrollable so long tags can be read
[ajatus.git] / build.xml
blob339a8538e2254f9004c3fe2e1fc0b5d4ac72db67
1 <?xml version="1.0"?>
2 <project name="Ajatus build scripts" default="help" basedir=".">
3     <property file="build.properties"  />
4     <property name="absolute_basedir" value="" />
5     <resolvepath propertyName="absolute_basedir" file="${project.basedir}"/>
7     <taskdef classname="build.packJavascripts"
8              name="packJavascripts"
9              classpath="/${project.basedir}"
10     />
11     
12     <taskdef classname="build.releaseAjatus"
13              name="releaseAjatus"
14              classpath="/${project.basedir}"
15     />
17     <target name="help">
18         <echo>
19 Usage:
20 To release Ajatus:
21         phing release -Dversion=x.x.x
23 To pack and obfuscate javascripts for Ajatus:
24         phing packjs
25 To unpack javascripts for Ajatus:
26         phing unpackjs
27         
28 target_dir = ${target_dir} // this is the dir where the created release is done.
29 temp_dir  = ${temp_dir} // this is where some processes are run before moving to final dir.
30         </echo>
31     </target>
33     <target name="release">
34         <mkdir dir="${target_dir}"/>
35         <releaseAjatus
36             action="release"
37             version="${version}"
38             target_dir="${target_dir}"
39             temp_dir="${temp_dir}"
40             returnProperty="statistics"
41         />
42         <echo>${statistics} released to ${target_dir}</echo>
43     </target>
45     <target name="packjs">
46         <mkdir dir="${temp_dir}"/>
47         <packJavascripts
48             action="packj"
49             target_dir="${temp_dir}"
50             returnProperty="statistics"
51         />
52         <echo>${statistics} packaged to ${temp_dir}</echo>
53     </target>    
54     <target name="unpackjs">
55         <mkdir dir="${temp_dir}"/>
56         <packJavascripts
57             action="unpack"
58             target_dir="${temp_dir}"
59             returnProperty="statistics"
60         />
61         <echo>${statistics} unpacked to ${temp_dir}</echo>
62     </target>
64 </project>