zcwease / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

[Patch] Add a target to build a jar file #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's a small patch to build a jar file from the project.  This would make it
easier for people to use the jar in projects before it gets Mavenized.

{{{
diff --git a/build.xml b/build.xml
index fb0b0e4..3f43b1a 100644
--- a/build.xml
+++ b/build.xml
@@ -21,6 +21,10 @@
     </javac>
   </target>

+  <target name="jar" depends="compile">
+    <jar destfile="google-guava.jar" basedir="build/classes" />
+  </target>
+
   <target name="clean"
       description="Remove generated files.">
     <delete dir="build"/>
}}}

Original issue reported on code.google.com by blair-ol...@orcaware.com on 12 Dec 2009 at 7:17

GoogleCodeExporter commented 9 years ago
Also, not everyone is using Maven, so this would be useful even after it gets 
"Mavenized". Btw, Google Collections 
does provide a JAR, so I expect it will be added to this project eventually.

Original comment by dennisbijlsma001@gmail.com on 1 Feb 2010 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 9 Apr 2010 at 4:04

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:10