Created
July 7, 2014 18:06
-
-
Save gissuebot/3140c03dd9ca4520f2e3 to your computer and use it in GitHub Desktop.
Migrated attachment for Guice issue 254, comment 0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: extensions/multibindings/build.xml | |
=================================================================== | |
--- extensions/multibindings/build.xml (revision 627) | |
+++ extensions/multibindings/build.xml (working copy) | |
@@ -12,11 +12,20 @@ | |
<target name="jar" depends="compile, manifest" | |
description="Build jar."> | |
+ <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" | |
+ classpath="../../lib/build/jarjar-1.0rc8.jar"/> | |
+ | |
<mkdir dir="${build.dir}"/> | |
<jar destfile="${build.dir}/${ant.project.name}-${version}.jar" | |
manifest="${build.dir}/META-INF/MANIFEST.MF"> | |
<fileset dir="${build.dir}/classes"/> | |
</jar> | |
+ <jarjar jarfile="${build.dir}/${ant.project.name}-${version}.jar" | |
+ manifest="${build.dir}/META-INF/MANIFEST.MF"> | |
+ <fileset dir="${build.dir}/classes"/> | |
+ <zipfileset src="../../lib/build/google-collect-snapshot-20080530.jar"/> | |
+ <rule pattern="com.google.common.**" result="com.google.inject.internal.@1"/> | |
+ <keep pattern="com.google.inject.**"/> | |
+ </jarjar> | |
</target> | |
- | |
</project> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment