summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-03-28 17:35:22 +0000
committerVlastimil Babka <caster@gentoo.org>2010-03-28 17:35:22 +0000
commitf8244c6308e04db07185a2f43c528cd8843fdc52 (patch)
tree4aca2c6377ac5f6a2d64b5b50ff823abc1121213 /dev-java/saxon/files
parentBump dev-haskell/hashed-storage, and enable the test suite! (diff)
downloadgentoo-2-f8244c6308e04db07185a2f43c528cd8843fdc52.tar.gz
gentoo-2-f8244c6308e04db07185a2f43c528cd8843fdc52.tar.bz2
gentoo-2-f8244c6308e04db07185a2f43c528cd8843fdc52.zip
Version bump, fixes bug #130568. Thanks to Juan J. García de Soria, Michael Jinks and Hanno Meyer-Thurow.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/saxon/files')
-rw-r--r--dev-java/saxon/files/9.2-build.xml72
-rw-r--r--dev-java/saxon/files/9.2-edition.properties2
-rw-r--r--dev-java/saxon/files/build-6.5.2.xml72
3 files changed, 74 insertions, 72 deletions
diff --git a/dev-java/saxon/files/9.2-build.xml b/dev-java/saxon/files/9.2-build.xml
new file mode 100644
index 000000000000..3bd9a64d4fe5
--- /dev/null
+++ b/dev-java/saxon/files/9.2-build.xml
@@ -0,0 +1,72 @@
+<!-- simple generic build file -->
+
+<project name="saxon" default="all" basedir=".">
+
+ <!-- Properties -->
+
+ <property name="name" value="saxon"/>
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="build.classes" value="${build}/classes"/>
+ <property name="build.doc" value="${build}/api"/>
+ <property name="build.lib" value="${build}/lib"/>
+ <property name="j2se.javadoc" value="http://java.sun.com/javase/@JDK@/docs/api"/>
+ <property name="jdom.javadoc" value="/usr/share/jdom-@JDOM@/api"/>
+
+ <!-- Targets -->
+
+ <!-- Prepare build directories -->
+ <target name="prepare">
+ <mkdir dir="${src}"/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build.classes}"/>
+ <mkdir dir="${build.lib}"/>
+ <mkdir dir="${build.doc}"/>
+ <copy todir="${src}">
+ <fileset dir="." includes="com/**,org/**,net/**"/>
+ </copy>
+ </target>
+
+ <!-- Kill all the created directories -->
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${src}"/>
+ </target>
+
+ <!-- Build classes -->
+ <target name="classes" depends="prepare">
+ <javac srcdir="${src}" destdir="${build.classes}" encoding="ISO-8859-1"/>
+ </target>
+
+ <!-- Build jar archives -->
+
+ <target name="jar" depends="classes">
+ <jar jarfile="${build.lib}/${name}.jar"
+ basedir="${build.classes}">
+ <manifest>
+ <attribute name="Main-Class" value="net.sf.saxon.Transform"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <!-- Build the full JavaDocs -->
+ <target name="javadoc" depends="prepare">
+ <javadoc sourcepath="${src}"
+ destdir="${build.doc}"
+ doctitle="${name} JavaDoc"
+ windowtitle="${name} JavaDoc"
+ package="true"
+ author="true"
+ version="true"
+ packagenames="net.sf.saxon.*,org.w3c.xsl.*"
+ encoding="ISO-8859-1"
+ >
+ <link href="${j2se.javadoc}"/>
+ <link href="${jdom.javadoc}"/>
+ </javadoc>
+ </target>
+
+ <!-- Build everything -->
+ <target name="all" depends="jar,javadoc"/>
+
+</project>
diff --git a/dev-java/saxon/files/9.2-edition.properties b/dev-java/saxon/files/9.2-edition.properties
new file mode 100644
index 000000000000..bb5acee0b19c
--- /dev/null
+++ b/dev-java/saxon/files/9.2-edition.properties
@@ -0,0 +1,2 @@
+config=net.sf.saxon.Configuration
+platform=net.sf.saxon.java.JavaPlatform
diff --git a/dev-java/saxon/files/build-6.5.2.xml b/dev-java/saxon/files/build-6.5.2.xml
deleted file mode 100644
index 77e849d44e1f..000000000000
--- a/dev-java/saxon/files/build-6.5.2.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!---
- @author: Saleem Abdulrasool <compnerd@gentoo.org>
- @date: 5/9/2005
- @revision: 1.0_alpha
-
- @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
--->
-
-<project name="Gentoo_Builder" default="jar" basedir=".">
- <property name="src" value="src"/>
- <property name="build" value="build"/>
- <property name="dist" value="dist"/>
-
- <property name="project.name" value="saxon6.5"/>
- <property name="pkg" value="${package.name}"/>
- <property name="all.jar" value="${project.name}.jar"/>
-
- <!-- Override any defined properties -->
- <property file="build.properties"/>
- <path id="lib.classpath">
- <fileset dir="lib">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
-
- <target name="init">
- <tstamp/>
- <mkdir dir="${build}"/>
- <mkdir dir="${build}/META-INF/services"/>
- <mkdir dir="${dist}"/>
- <mkdir dir="${dist}/doc"/>
- </target>
-
- <target name="compile" depends="init">
- <javac srcdir="${src}" destdir="${build}" classpath="${classpath}" classpathref="lib.classpath"/>
- </target>
-
- <target name="manifest" depends="init">
- <manifest file="${build}/META-INF/MANIFEST.MF" mode="update">
- <attribute name="Built-By" value="Gentoo Portage"/>
- </manifest>
- <echo file="${build}/META-INF/services/javax.xml.xpath.XPathFactory" message="net.sf.saxon.xpath.XPathFactory"/>
- <echo file="${build}/META-INF/services/javax.xml.transform.TransformerFactory" message="net.sf.saxon.transform.TransformerFactoryImpl"/>
- </target>
-
- <target name="jar-saxon6.5" depends="compile,manifest">
- <jar jarfile="${dist}/${all.jar}" manifest="${build}/META-INF/MANIFEST.MF">
- <fileset dir="${build}">
- <include name="com/**"/>
- <include name="javax/**"/>
- <include name="org/**"/>
- <include name="META-INF/services/javax.xml.transform.TransformFactory"/>
- <include name="META-INF/services/javax.xml.parsers.SAXParserFactory"/>
- </fileset>
- </jar>
- </target>
-
- <target name="jar" depends="jar-saxon6.5"/>
-
- <target name="javadoc" depends="compile">
- <javadoc destdir="${dist}/doc/api" classpathref="lib.classpath">
- <fileset dir="${src}"/>
- </javadoc>
- </target>
-
- <target name="clean">
- <delete dir="${build}"/>
- <delete dir="${dist}"/>
- </target>
-</project>