diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-23 00:05:13 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-23 00:05:13 +0000 |
commit | b63aefa1aa7e095b892c1738a8b95e2d3d528103 (patch) | |
tree | 1a631d0b064333b6318eac66ac47033054edd6f6 /dev-db/jxtray/files | |
parent | endeavour version bump (Manifest recommit) (diff) | |
download | gentoo-2-b63aefa1aa7e095b892c1738a8b95e2d3d528103.tar.gz gentoo-2-b63aefa1aa7e095b892c1738a8b95e2d3d528103.tar.bz2 gentoo-2-b63aefa1aa7e095b892c1738a8b95e2d3d528103.zip |
Initial import. Fixes #74247.
Diffstat (limited to 'dev-db/jxtray/files')
-rw-r--r-- | dev-db/jxtray/files/build.xml | 62 | ||||
-rw-r--r-- | dev-db/jxtray/files/default.properties | 11 | ||||
-rw-r--r-- | dev-db/jxtray/files/digest-jxtray-0.5 | 1 |
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-db/jxtray/files/build.xml b/dev-db/jxtray/files/build.xml new file mode 100644 index 000000000000..4d4fadf5974d --- /dev/null +++ b/dev-db/jxtray/files/build.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> + +<project name="jxtray" default="jar" basedir="."> + + <property file="${basedir}/build.properties"/> + <property file="${basedir}/default.properties"/> + <property name="jxtray.version" value="0.5"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + <mkdir dir="${dist}"/> + <mkdir dir="${javadoc}"/> + </target> + + <target name="compile" depends="init"> + <javac srcdir="${srcdir}" + destdir="${build}" + classpath="${classpath}" + source="1.4" + target="1.4"/> + + <copy toDir="${build}/images"> + <fileset dir="images" includes="**/*.*"/> + </copy> + + <copy toDir="${build}/share"> + <fileset dir="share" includes="**/*.*"/> + </copy> + + <copy toDir="${build}/doc"> + <fileset dir="doc" includes="**/*.*"/> + </copy> + </target> + + <target name="javadoc" depends="compile"> + <javadoc sourcepath="${srcdir}" + destdir="${javadoc}" + packagenames="${packages}"/> + </target> + + <target name="jar" depends="compile"> + + <!-- + <unjar dest="${build}"> + <fileset dir="${basedir}/lib" includes="**/*.jar"/> + </unjar> + --> + + <jar jarfile="${dist}/jxtray-${jxtray.version}.jar" basedir="${build}"> + <manifest> + <attribute name="Main-Class" value="jxtray.Jxtray"/> + </manifest> + </jar> + </target> + + <target name="clean"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + <delete dir="${javadoc}"/> + </target> +</project> diff --git a/dev-db/jxtray/files/default.properties b/dev-db/jxtray/files/default.properties new file mode 100644 index 000000000000..2c2418d0adf2 --- /dev/null +++ b/dev-db/jxtray/files/default.properties @@ -0,0 +1,11 @@ + +build=${basedir}/build +dist=${basedir}/dist + +javadoc=${build}/doc +packages=jxtray.* + +srcdir=${basedir}/src + +classpath=${basedir}/lib/jdom.jar:${basedir}/lib/xerces.jar:${basedir}/poi.jar:${basedir}/lib/xml-apis.jar + diff --git a/dev-db/jxtray/files/digest-jxtray-0.5 b/dev-db/jxtray/files/digest-jxtray-0.5 new file mode 100644 index 000000000000..eb8824c7c83b --- /dev/null +++ b/dev-db/jxtray/files/digest-jxtray-0.5 @@ -0,0 +1 @@ +MD5 2d8f90c6c597e2a50b2217c4ec4abb03 jxtray-src-0.5.tgz 2476739 |