Use other version of JS ast by develar: changes to jars and xmls.

Adapted from https://github.com/develar/kotlin/commit/d3521123a6e4d551b30743b68b6bb23b9678553b.
This commit is contained in:
Pavel V. Talanov
2012-08-07 13:35:46 +04:00
parent fa513ce976
commit 17b85cbeed
11 changed files with 15 additions and 8 deletions
+13 -1
View File
@@ -12,9 +12,21 @@
<orderEntry type="module" module-name="frontend" />
<orderEntry type="module" module-name="cli" />
<orderEntry type="library" name="intellij-core" level="project" />
<orderEntry type="library" name="js-libs" level="project" />
<orderEntry type="library" name="idea-full" level="project" />
<orderEntry type="module" module-name="frontend.java" />
<orderEntry type="module-library" scope="TEST">
<library name="js-test-libs">
<CLASSES>
<root url="jar://$MODULE_DIR$/testLib/closure-compiler.jar!/" />
<root url="jar://$MODULE_DIR$/testLib/rhino-1.7R4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MODULE_DIR$/testLib/src/rhino-1.7R4-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="library" name="js-libs" level="project" />
</component>
</module>
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,14 @@
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>
Binary file not shown.