diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-23 00:43:59 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-23 00:43:59 +0000 |
commit | 2fda0386a8d98bf40b648563cbbb137f3ed19f5c (patch) | |
tree | db24a03ec8cba2f86d62afd63c12bab99efe1685 /dev-java/jgoodies-forms/files/build.xml | |
parent | Initial import. Fixes #56571. (diff) | |
download | historical-2fda0386a8d98bf40b648563cbbb137f3ed19f5c.tar.gz historical-2fda0386a8d98bf40b648563cbbb137f3ed19f5c.tar.bz2 historical-2fda0386a8d98bf40b648563cbbb137f3ed19f5c.zip |
Initial import. Fixes #75000.
Diffstat (limited to 'dev-java/jgoodies-forms/files/build.xml')
-rw-r--r-- | dev-java/jgoodies-forms/files/build.xml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/jgoodies-forms/files/build.xml b/dev-java/jgoodies-forms/files/build.xml new file mode 100644 index 000000000000..82444c20799c --- /dev/null +++ b/dev-java/jgoodies-forms/files/build.xml @@ -0,0 +1,64 @@ +<?xml version="1.0"?> + +<project name="forms" default="jar" basedir="."> + + <!-- This is a customized build.xml for portage! --> + <!-- + <property file="${basedir}/build.properties"/> + <property file="${basedir}/default.properties"/> + --> + + <property name="build" value="${basedir}/build"/> + + <property name="spec.title" value="JGoodies Forms"/> + <property name="spec.version" value="1.0.5"/> + <property name="spec.vendor" value="JGoodies Karsten Lentzsch"/> + <property name="imp.title" value="com.jgoodies.forms"/> + <property name="imp.version" value="1.0.5"/> + <property name="imp.vendor" value="JGoodies Karsten Lentzsch"/> + + <property name="forms.src" value="${basedir}"/> + + <property name="forms.javadoc" value="${build}/doc"/> + <property name="forms.packages" value="com.jgoodies.forms.*"/> + + <target name="init"> + <tstamp /> + <mkdir dir="${build}"/> + <mkdir dir="${build}/doc"/> + </target> + + <target name="compile" depends="init"> + <javac srcdir="${forms.src}" + destdir="${build}" + source="1.4" + target="1.4"/> + </target> + + <target name="manifest" depends="init"> + <manifest file="MANIFEST.MF" mode="update"> + <attribute name="Built-By" value="Gentoo Portage"/> + + <section name="com/jgoodies/forms"> + <attribute name="Specification-Title" value="${spec.title}"/> + <attribute name="Specification-Version" value="${spec.version}"/> + <attribute name="Specification-Vendor" value="${spec.vendor}"/> + <attribute name="Implementation-Title" value="${imp.title}"/> + <attribute name="Implementation-Version" value="${imp.version}"/> + <attribute name="Implementation-Vendor" value="${imp.vendor}"/> + </section> + </manifest> + </target> + + <target name="javadoc" depends="compile"> + <javadoc sourcepath="${forms.src}" + destdir="${forms.javadoc}" + packagenames="${forms.packages}"/> + </target> + + <target name="jar" depends="compile,manifest"> + <jar jarfile="forms.jar" manifest="MANIFEST.MF"> + <fileset dir="${build}"/> + </jar> + </target> +</project> |