Permalink
Browse files

Create directories for docjar, srcjar and jar targets

Change-Id: I1c5523e0014c781bee41180f42b66da715d18bde
Reviewed-on: http://review.couchbase.org/25329
Tested-by: Deepti Dawar <deepti.dawar@globallogic.com>
Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
  • Loading branch information...
1 parent 84ebf9a commit 191660989a151e419dad8bfaaf94915771ffb789 @deeptida deeptida committed with daschl Mar 25, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 build.xml
View
@@ -329,6 +329,7 @@
<target name="docsjar" depends="docs"
description="Create the documentation jar">
+ <mkdir dir="${build.dir}/javadocs" />
<zip destfile="${build.dir}/javadocs/${name}-${version}.jar"
basedir="${build.javadoc}" />
</target>
@@ -384,7 +385,7 @@
<target name="srcjar" depends="init,jar"
description="Create source jars">
- <mkdir dir="${build.dir}" />
+ <mkdir dir="${build.dir}/sources" />
<jar jarfile="${build.dir}/sources/${name}-${version}.jar">
<fileset dir="${src.dir}" />
<fileset dir="${build.src.dir}" />
@@ -395,6 +396,7 @@
</target>
<target name="jar" depends="compile,compile-test" description="Creates a jar file for the library">
+ <mkdir dir="${build.dir}/jars" />
<jar jarfile="${build.dir}/jars/${name}-${version}.jar" basedir="${build.classes}">
<manifest>
<attribute name="Implementation-Title" value="java memcached client" />

0 comments on commit 1916609

Please sign in to comment.