diff options
Diffstat (limited to 'dev-java/iso-relax/files/iso-relax-20050331-build.patch')
-rw-r--r-- | dev-java/iso-relax/files/iso-relax-20050331-build.patch | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/dev-java/iso-relax/files/iso-relax-20050331-build.patch b/dev-java/iso-relax/files/iso-relax-20050331-build.patch new file mode 100644 index 000000000000..054bafeee2b9 --- /dev/null +++ b/dev-java/iso-relax/files/iso-relax-20050331-build.patch @@ -0,0 +1,87 @@ +Only in iso-relax-20050331: build +diff -ru iso-relax-20050331-orig/build.xml iso-relax-20050331/build.xml +--- iso-relax-20050331-orig/build.xml 2006-01-17 21:56:42.000000000 -0500 ++++ iso-relax-20050331/build.xml 2006-01-17 22:06:20.000000000 -0500 +@@ -1,17 +1,47 @@ + <?xml version="1.0"?> + <project name="ISORELAX" basedir="." default="release"> + ++ <property name="build" value="build"/> ++ <property name="src" value="src"/> ++ <property name="javadocs" value="docs/api"/> ++ ++ <target name="init"> ++ <mkdir dir="${build}"/> ++ <mkdir dir="${build}"/> ++ </target> ++ ++ <target name="compile" depends="init"> ++ <javac srcdir="${src}" debug="true" destdir="${build}"/> ++ </target> ++ ++ <target name="javadoc" depends="init"> ++ <javadoc sourcepath="${src}" destdir="${javadocs}" packagenames="*"> ++ </javadoc> ++ </target> ++ ++ <target name="jar" depends="compile"> ++ <jar jarfile="isorelax.jar" compress="false"> ++ <fileset dir="${build}" /> ++ <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> ++ </target> ++ + <!-- create a distribution package --> +- <target name="release"> ++ <target name="release" depends="jar"> + <tstamp /> + + <!-- compile files --> + <mkdir dir="temp" /> +- <javac srcdir="src" debug="true" destdir="temp"> +- <classpath> +- <fileset dir="lib" includes="*.jar" /> +- </classpath> +- </javac> + + <!-- create a time stamp file --> + <echo file="temp/version.properties">version=${DSTAMP}</echo> +@@ -30,24 +60,7 @@ + </fileset> + </zip> + +- <!-- creates binary jar --> +- <delete file="isorelax.jar"/> +- <jar jarfile="isorelax.jar" +- compress="false"> +- <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" /> ++ <delete dir="${build}" /> + + <zip zipfile="isorelax.${DSTAMP}.zip" compress="true"> + <fileset dir="." includes="isorelax.jar src.zip COPYING.txt"/> +Only in iso-relax-20050331: .build.xml.swp +Only in iso-relax-20050331: docs +Only in iso-relax-20050331: isorelax.jar |