Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added source and javadoc-jars as targets to build.xml

  • Loading branch information...
commit c75c3ba2e26b87b43a9097e3002eb70e39b6a24c 1 parent d99ce9d
@MagnusS authored
Showing with 10 additions and 0 deletions.
  1. +2 −0  .gitignore
  2. +8 −0 build.xml
View
2  .gitignore
@@ -0,0 +1,2 @@
+build
+dist
View
8 build.xml
@@ -71,4 +71,12 @@
nbproject/build-impl.xml file.
-->
+
+ <target description="bundle sources in a jar" name="package-sources">
+ <jar basedir="src" destfile="dist/${application.title}-sources.jar"/>
+ </target>
+ <target depends="-javadoc-build" description="bundle javadoc in a jar" name="package-doc">
+ <jar basedir="dist/javadoc" destfile="dist/${application.title}-javadoc.jar"/>
+ </target>
+ <target name="-post-jar" depends="package-sources, package-doc" />
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.