Last active
January 27, 2016 08:51
-
-
Save johnou/481d3d361be0ba76dbb1 to your computer and use it in GitHub Desktop.
Pipeline race
This file contains hidden or 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
<project name="NettyProject" default="dist" basedir="."> | |
<property name="build-destination" value="build" /> | |
<property name="input-artifact" value="netty-all-4.0.34.Final-SNAPSHOT.jar" /> | |
<property name="shaded-artifact" value="netty-all-4.0.34.Final-shaded.jar" /> | |
<target name="dist"> | |
<delete dir="${build-destination}" /> | |
<get src="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jarjar/jarjar-1.4.jar" dest="jarjar-1.4.jar"/> | |
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="jarjar-1.4.jar"/> | |
<jarjar jarfile="${build-destination}/${shaded-artifact}"> | |
<zipfileset src="${input-artifact}" excludes="META-INF/**"/> | |
<rule pattern="io.netty.**" result="org.python.netty.@1"/> | |
</jarjar> | |
<unzip src="${input-artifact}" dest="${build-destination}" /> | |
<unzip src="${build-destination}/${shaded-artifact}" dest="${build-destination}" /> | |
<get src="http://central.maven.org/maven2/org/python/jython-standalone/2.7.1b2/jython-standalone-2.7.1b2.jar" dest="${build-destination}/jython-standalone-2.7.1b2-patched.jar"/> | |
<exec dir="${build-destination}" executable="zip"> | |
<arg line="-r jython-standalone-2.7.1b2-patched.jar io"/> | |
</exec> | |
<exec dir="${build-destination}" executable="zip"> | |
<arg line="-r jython-standalone-2.7.1b2-patched.jar org"/> | |
</exec> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment