build.xml 796 Bytes
Newer Older
1
<project name="ARSnova" default="run">
2 3
	<property name="main.dir" value="src/main/webapp" />
	<property name="lib.dir" value="${main.dir}/lib" />
4 5 6 7 8 9 10 11 12 13 14 15 16
	<property name="sencha.dir" value="${lib.dir}/sencha1.1.1" />
	
	<target name="min:js">
		<chmod file="${sencha.dir}/jsbuilder/jsdb/linux/jsdb" perm="+x" />
		<exec executable="sh" dir="${sencha.dir}/jsbuilder" failonerror="true">
			<arg value="JSBuilder.sh" />
			<arg value="-p ../ARSnovaCombined.jsb3" />
			<arg value="-d ../" />
			<arg value="-v" />
		</exec>
	</target>
	
	<target name="min:css">
17 18
		<java jar="${sencha.dir}/jsbuilder/ycompressor/ycompressor.jar" fork="true" failonerror="true" output="${main.dir}/resources/css/arsnova_min.css">
			<arg value="${main.dir}/resources/css/arsnova_new.css" />
19 20 21 22
		</java> 
	</target>

</project>