Skip to content

Commit

Permalink
Create directories for docjar, srcjar and jar targets
Browse files Browse the repository at this point in the history
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
deeptida authored and Michael Nitschinger committed Mar 26, 2013
1 parent 84ebf9a commit 1916609
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.xml
Expand Up @@ -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>
Expand Down Expand Up @@ -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}" />
Expand All @@ -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" />
Expand Down

0 comments on commit 1916609

Please sign in to comment.