summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-03 17:10:26 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-03 17:10:26 +0000
commit306620a0234a64b445f16f77a1df8024fafedf2d (patch)
treeadbdb59e3b884300304f601711686354a892e6ab /dev-java/jmi-interface/files/jmi-interface-1.0-build.xml
parentStable on x86 per security bug #90619 (diff)
downloadgentoo-2-306620a0234a64b445f16f77a1df8024fafedf2d.tar.gz
gentoo-2-306620a0234a64b445f16f77a1df8024fafedf2d.tar.bz2
gentoo-2-306620a0234a64b445f16f77a1df8024fafedf2d.zip
Inital import, ebuild submitted by Petteri Räty <petteri.raty@welho.com> in bug #90978.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'dev-java/jmi-interface/files/jmi-interface-1.0-build.xml')
-rw-r--r--dev-java/jmi-interface/files/jmi-interface-1.0-build.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/jmi-interface/files/jmi-interface-1.0-build.xml b/dev-java/jmi-interface/files/jmi-interface-1.0-build.xml
new file mode 100644
index 000000000000..f9967c1a28e0
--- /dev/null
+++ b/dev-java/jmi-interface/files/jmi-interface-1.0-build.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+
+<project name="jmi" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="dist.dir" value="dist" />
+ <property name="doc.dir" value="doc" />
+ <property name="jarfile" value="${ant.project.name}.jar"/>
+
+ <!-- init -->
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${dist.dir}"/>
+ <mkdir dir="${build.dir}"/>
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <javac srcdir="${src.dir}" destdir="${build.dir}"/>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+
+ <jar jarfile="${dist.dir}/jmi.jar" basedir="${build.dir}"
+ excludes="javax/jmi/primitivetypes/** javax/jmi/model/** javax/jmi/corbaidltypes/**" />
+
+ <jar jarfile="${dist.dir}/mof.jar" basedir="${build.dir}"
+ excludes="javax/jmi/reflect/** javax/jmi/xmi/**" />
+
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="javadoc">
+ <mkdir dir="${doc.dir}" />
+ <javadoc sourcepath="${src.dir}"
+ packagenames="*"
+ destdir="${doc.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API"
+ />
+ </target>
+
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}"/>
+ </target>
+</project>