fix standalone compiler build

This commit is contained in:
Leonid Shalupov
2012-05-02 23:04:21 +04:00
parent 6dd5780cbd
commit 6626086abf
5 changed files with 57 additions and 40 deletions
Binary file not shown.
Binary file not shown.
+14 -1
View File
@@ -1 +1,14 @@
Deleted package com.google.javascript.jscomp.ant to avoid dependency on ant.jar.
1) Deleted package com.google.javascript.jscomp.ant to avoid dependency on ant.jar.
2) jarjar-ed it:
<target name="jarjarClosureCompiler">
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${basedir}/dependencies/jarjar.jar"/>
<delete file="${output}/closure-compiler.jar" failonerror="false"/>
<jarjar jarfile="${output}/closure-compiler.jar">
<zipgroupfileset dir="${basedir}" includes="closure-compiler.jar" />
<rule pattern="com.google.common.**" result="closurecompiler.internal.com.google.common.@1"/>
<rule pattern="com.google.protobuf.**" result="closurecompiler.internal.com.google.protobuf.@1"/>
<rule pattern="org.mozilla.classfile.**" result="closurecompiler.internal.org.mozilla.classfile.@1"/>
</jarjar>
</target>