mirror of
https://github.com/Mibew/tray.git
synced 2024-11-15 09:24:12 +03:00
ant obfuscator script
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@32 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
0f3fe25110
commit
f8daeaa4e1
34
src/obfuscator/build.xml
Normal file
34
src/obfuscator/build.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?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>
|
Loading…
Reference in New Issue
Block a user