design/src/obfuscator/build.xml
Evgeny Gryaznov f8daeaa4e1 ant obfuscator script
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@32 c66351dc-e62f-0410-b875-e3a5c0b9693f
2007-10-30 12:03:15 +00:00

35 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [<!ENTITY buildfile SYSTEM "file:./build-user.xml">]>
<project basedir="." default="update" name="Obfuscator">
<property name="obfuscator.location" value="." />
<property name="webim.location" value="../webim" />
<target name="update" depends="build">
<java classname="JSO" fork="true" error="${obfuscator.location}\bin\obfuscation.log">
<arg value="${obfuscator.location}\src\common.js" />
<arg value="${obfuscator.location}\src\page_chat.js" />
<arg value="${obfuscator.location}\src\page_pendingclients.js" />
<arg value="${obfuscator.location}\src\brws.js" />
<arg value="d=${webim.location}/js\" />
<!-- <arg value="debug"/> -->
<!-- <arg value="debugnames"/> -->
<!-- <arg value="o=0,0"/> -->
<classpath>
<pathelement location="${obfuscator.location}\bin\" />
</classpath>
</java>
</target>
<target name="build" depends="init">
<javac destdir="${obfuscator.location}\bin" fork="false">
<src path="${obfuscator.location}" />
</javac>
</target>
<target name="init">
<mkdir dir="${obfuscator.location}\bin"/>
</target>
</project>