Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Commit 5e2a578

Browse files
author
jst
committed
Creating target that shall be used to create source distribution from the svn checkout
svn path=/trunk/; revision=45
1 parent 45fe58e commit 5e2a578

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

javahelp_nbproject/build.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@ have any questions.
5050
<target name="release" description="Build the full JavaHelp JARs"
5151
depends="build-jsearch-jars,copy-jsearch-jars,create-javahelp-jars"/>
5252

53+
54+
<target name="release-source" description="Build the source zip file">
55+
<property name="version" value="2.0.02"/>
56+
<mkdir dir="dist"/>
57+
<zip destfile="dist/javahelp2-src-${version}.zip" >
58+
<zipfileset dir=".." prefix="javahelp2-${version}">
59+
<include name="**/*"/>
60+
<exclude name="**/dist/**/*"/>
61+
<exclude name="**/build/**/*"/>
62+
<exclude name="www/**/*"/>
63+
</zipfileset>
64+
</zip>
65+
</target>
66+
5367
<target name="unpack-servlet-jar" unless="servlet-jar-present" depends="download-tomcat-zip">
5468
<echo message="Unpacking ${tomcat-zip}"/>
5569
<unzip src="${tomcat-zip}" dest="${java.io.tmpdir}/"/>

0 commit comments

Comments
 (0)