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"
9 classpath="/${project.basedir}"
12 <taskdef classname="build.releaseAjatus"
14 classpath="/${project.basedir}"
21 phing release -Dversion=x.x.x
23 To pack and obfuscate javascripts for Ajatus:
25 To unpack javascripts for Ajatus:
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.
33 <target name="release">
34 <mkdir dir="${target_dir}"/>
38 target_dir="${target_dir}"
39 temp_dir="${temp_dir}"
40 returnProperty="statistics"
42 <echo>${statistics} released to ${target_dir}</echo>
45 <target name="packjs">
46 <mkdir dir="${temp_dir}"/>
49 target_dir="${temp_dir}"
50 returnProperty="statistics"
52 <echo>${statistics} packaged to ${temp_dir}</echo>
54 <target name="unpackjs">
55 <mkdir dir="${temp_dir}"/>
58 target_dir="${temp_dir}"
59 returnProperty="statistics"
61 <echo>${statistics} unpacked to ${temp_dir}</echo>