diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 14:55:39 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 14:55:39 +0000 |
commit | c22390220c41eb906a7943e723369d9c0518e63f (patch) | |
tree | 8d1107dd36b02fa4335f7204f6133c076d47ea77 /dev-java/iso-relax/files | |
parent | Initial import. Thanks to Birce Arnould <98111@free.fr>, Athul Acharya <aacha... (diff) | |
download | gentoo-2-c22390220c41eb906a7943e723369d9c0518e63f.tar.gz gentoo-2-c22390220c41eb906a7943e723369d9c0518e63f.tar.bz2 gentoo-2-c22390220c41eb906a7943e723369d9c0518e63f.zip |
initial import, ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de>
Diffstat (limited to 'dev-java/iso-relax/files')
-rw-r--r-- | dev-java/iso-relax/files/build.xml | 77 | ||||
-rw-r--r-- | dev-java/iso-relax/files/digest-iso-relax-20041111 | 1 |
2 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/iso-relax/files/build.xml b/dev-java/iso-relax/files/build.xml new file mode 100644 index 000000000000..da8722e368f8 --- /dev/null +++ b/dev-java/iso-relax/files/build.xml @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<project name="ISORELAX" basedir="." default="release"> + + <!-- create a distribution package --> + <target name="release"> + <tstamp /> + + <!-- compile files --> + <mkdir dir="temp" /> + <javac srcdir="src" debug="true" + destdir="temp" + classpath="lib/verifier.jar"> + <include name="**/*.java" /> + </javac> + + <!-- create a time stamp file --> + <echo file="temp/version.properties">version=${DSTAMP}</echo> + + <!-- creates src zip --> + <delete file="src.zip"/> + <zip zipfile="src.zip" + compress="true"> + <fileset dir="src"> + <patternset> + <exclude name="*.vjp"/> + <exclude name="codebase.dat"/> + <exclude name="*.SRG"/> + </patternset> + </fileset> + </zip> + + <!-- creates binary jar --> + <delete file="isorelax.jar"/> + <jar jarfile="isorelax.jar" + compress="true"> + <fileset dir="temp" /> + <fileset dir="" includes="COPYING.txt"/> + <!-- resource files --> + <fileset dir="src"> + <patternset> + <include name="**/*.properties" /> + <include name="**/*.rxm"/> + <include name="**/*.dtd"/> + <include name="**/*.rng"/> + <include name="**/*.mod"/> + </patternset> + </fileset> + </jar> + <delete dir="temp" /> + + <zip zipfile="isorelax.${DSTAMP}.zip" compress="true"> + <fileset dir="." includes="isorelax.jar src.zip COPYING.txt"/> + </zip> + </target> + + + <!-- ant task test --> + <target name="ant-task-test"> + <taskdef name="jarv" classname="org.iso_relax.ant.JARVTask"> + <classpath path="isorelax.jar"/> + <classpath path="lib/verifier.jar"/> + <classpath path="lib/verifier.manifest.jar"/> + </taskdef> + + <jarv + schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore" + schema="test/relax001.rlx" + file="test/relax001.v00.xml" /> + + <jarv + schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore" + schema="test/relax001.rlx"> + + <fileset dir="test" includes="*.xml"/> + </jarv> + </target> +</project> diff --git a/dev-java/iso-relax/files/digest-iso-relax-20041111 b/dev-java/iso-relax/files/digest-iso-relax-20041111 new file mode 100644 index 000000000000..aa52b9f84fb2 --- /dev/null +++ b/dev-java/iso-relax/files/digest-iso-relax-20041111 @@ -0,0 +1 @@ +MD5 10381903828d30e36252910679fcbab6 isorelax.20041111.zip 108294 |