summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-25 00:17:50 +0100
committerSven Gothel <[email protected]>2011-02-25 00:17:50 +0100
commit52c005fb1ce1339cf6dca30f4a30f6edc430d597 (patch)
tree29f1ad8e6547029098cafa5b81f52edc28e3b70d
parentf7f6cdea6749a709ebdb34165ad047e9556492f1 (diff)
Rewritten due to some corruption (fs ?)
-rw-r--r--build.xml74
-rw-r--r--build/built-jar.properties0
-rw-r--r--dist/README.TXT0
-rw-r--r--lib/dom4j-1.6.1-hudson-3.jarbin0 -> 267206 bytes
-rw-r--r--nbproject/build-impl.xml891
-rw-r--r--nbproject/genfiles.properties8
-rw-r--r--nbproject/private/private.properties6
-rw-r--r--nbproject/private/private.xml2
-rw-r--r--nbproject/project.properties76
-rw-r--r--nbproject/project.xml15
-rw-r--r--src/Main.java23
-rw-r--r--src/TolerantXMLErrorHandler.java103
-rw-r--r--test.sh9
-rw-r--r--test/TEST-error-01.xml241
-rw-r--r--test/TEST-error-02.xml240
-rw-r--r--test/TEST-ok-01.xml238
16 files changed, 1926 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index e69de29..66cfb61 100644
--- a/build.xml
+++ b/build.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See commented blocks below for -->
+<!-- some examples of how to customize the build. -->
+<!-- (If you delete it and reopen the project it will be recreated.) -->
+<!-- By default, only the Clean and Build commands use this build script. -->
+<!-- Commands such as Run, Debug, and Test only use this build script if -->
+<!-- the Compile on Save feature is turned off for the project. -->
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
+<!-- in the project's Project Properties dialog box.-->
+<project name="test-XmlTolerantInput01" default="default" basedir=".">
+ <description>Builds, tests, and runs the project test-XmlTolerantInput01.</description>
+ <import file="nbproject/build-impl.xml"/>
+ <!--
+
+ There exist several targets which are by default empty and which can be
+ used for execution of your tasks. These targets are usually executed
+ before and after some main targets. They are:
+
+ -pre-init: called before initialization of project properties
+ -post-init: called after initialization of project properties
+ -pre-compile: called before javac compilation
+ -post-compile: called after javac compilation
+ -pre-compile-single: called before javac compilation of single file
+ -post-compile-single: called after javac compilation of single file
+ -pre-compile-test: called before javac compilation of JUnit tests
+ -post-compile-test: called after javac compilation of JUnit tests
+ -pre-compile-test-single: called before javac compilation of single JUnit test
+ -post-compile-test-single: called after javac compilation of single JUunit test
+ -pre-jar: called before JAR building
+ -post-jar: called after JAR building
+ -post-clean: called after cleaning build products
+
+ (Targets beginning with '-' are not intended to be called on their own.)
+
+ Example of inserting an obfuscator after compilation could look like this:
+
+ <target name="-post-compile">
+ <obfuscate>
+ <fileset dir="${build.classes.dir}"/>
+ </obfuscate>
+ </target>
+
+ For list of available properties check the imported
+ nbproject/build-impl.xml file.
+
+
+ Another way to customize the build is by overriding existing main targets.
+ The targets of interest are:
+
+ -init-macrodef-javac: defines macro for javac compilation
+ -init-macrodef-junit: defines macro for junit execution
+ -init-macrodef-debug: defines macro for class debugging
+ -init-macrodef-java: defines macro for class execution
+ -do-jar-with-manifest: JAR building (if you are using a manifest)
+ -do-jar-without-manifest: JAR building (if you are not using a manifest)
+ run: execution of project
+ -javadoc-build: Javadoc generation
+ test-report: JUnit report generation
+
+ An example of overriding the target for project execution could look like this:
+
+ <target name="run" depends="test-XmlTolerantInput01-impl.jar">
+ <exec dir="bin" executable="launcher.exe">
+ <arg file="${dist.jar}"/>
+ </exec>
+ </target>
+
+ Notice that the overridden target depends on the jar target and not only on
+ the compile target as the regular run target does. Again, for a list of available
+ properties which you can use, check the target you are overriding in the
+ nbproject/build-impl.xml file.
+
+ -->
+</project>
diff --git a/build/built-jar.properties b/build/built-jar.properties
deleted file mode 100644
index e69de29..0000000
--- a/build/built-jar.properties
+++ /dev/null
diff --git a/dist/README.TXT b/dist/README.TXT
deleted file mode 100644
index e69de29..0000000
--- a/dist/README.TXT
+++ /dev/null
diff --git a/lib/dom4j-1.6.1-hudson-3.jar b/lib/dom4j-1.6.1-hudson-3.jar
index e69de29..6e59109 100644
--- a/lib/dom4j-1.6.1-hudson-3.jar
+++ b/lib/dom4j-1.6.1-hudson-3.jar
Binary files differ
diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml
index e69de29..b41ba47 100644
--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -0,0 +1,891 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+
+For the purpose of easier reading the script
+is divided into following sections:
+
+ - initialization
+ - compilation
+ - jar
+ - execution
+ - debugging
+ - javadoc
+ - junit compilation
+ - junit execution
+ - junit debugging
+ - applet
+ - cleanup
+
+ -->
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="test-XmlTolerantInput01-impl">
+ <fail message="Please build using Ant 1.7.1 or higher.">
+ <condition>
+ <not>
+ <antversion atleast="1.7.1"/>
+ </not>
+ </condition>
+ </fail>
+ <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
+ <!--
+ ======================
+ INITIALIZATION SECTION
+ ======================
+ -->
+ <target name="-pre-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init" name="-init-private">
+ <property file="nbproject/private/config.properties"/>
+ <property file="nbproject/private/configs/${config}.properties"/>
+ <property file="nbproject/private/private.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private" name="-init-user">
+ <property file="${user.properties.file}"/>
+ <!-- The two properties below are usually overridden -->
+ <!-- by the active platform. Just a fallback. -->
+ <property name="default.javac.source" value="1.4"/>
+ <property name="default.javac.target" value="1.4"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user" name="-init-project">
+ <property file="nbproject/configs/${config}.properties"/>
+ <property file="nbproject/project.properties"/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
+ <available file="${manifest.file}" property="manifest.available"/>
+ <available file="${application.splash}" property="splashscreen.available"/>
+ <condition property="main.class.available">
+ <and>
+ <isset property="main.class"/>
+ <not>
+ <equals arg1="${main.class}" arg2="" trim="true"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class">
+ <and>
+ <isset property="manifest.available"/>
+ <isset property="main.class.available"/>
+ </and>
+ </condition>
+ <condition property="do.mkdist">
+ <and>
+ <isset property="libs.CopyLibs.classpath"/>
+ <not>
+ <istrue value="${mkdist.disabled}"/>
+ </not>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class+mkdist.available">
+ <and>
+ <istrue value="${manifest.available+main.class}"/>
+ <isset property="do.mkdist"/>
+ </and>
+ </condition>
+ <condition property="manifest.available+main.class+mkdist.available+splashscreen.available">
+ <and>
+ <istrue value="${manifest.available+main.class+mkdist.available}"/>
+ <istrue value="${splashscreen.available}"/>
+ </and>
+ </condition>
+ <condition property="do.archive">
+ <not>
+ <istrue value="${jar.archive.disabled}"/>
+ </not>
+ </condition>
+ <condition property="do.archive+manifest.available">
+ <and>
+ <isset property="manifest.available"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+manifest.available+main.class">
+ <and>
+ <istrue value="${manifest.available+main.class}"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+manifest.available+main.class+mkdist.available">
+ <and>
+ <istrue value="${manifest.available+main.class+mkdist.available}"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available">
+ <and>
+ <istrue value="${manifest.available+main.class+mkdist.available+splashscreen.available}"/>
+ <istrue value="${do.archive}"/>
+ </and>
+ </condition>
+ <condition property="have.tests">
+ <or>
+ <available file="${test.src.dir}"/>
+ </or>
+ </condition>
+ <condition property="have.sources">
+ <or>
+ <available file="${src.dir}"/>
+ </or>
+ </condition>
+ <condition property="netbeans.home+have.tests">
+ <and>
+ <isset property="netbeans.home"/>
+ <isset property="have.tests"/>
+ </and>
+ </condition>
+ <condition property="no.javadoc.preview">
+ <and>
+ <isset property="javadoc.preview"/>
+ <isfalse value="${javadoc.preview}"/>
+ </and>
+ </condition>
+ <property name="run.jvmargs" value=""/>
+ <property name="javac.compilerargs" value=""/>
+ <property name="work.dir" value="${basedir}"/>
+ <condition property="no.deps">
+ <and>
+ <istrue value="${no.dependencies}"/>
+ </and>
+ </condition>
+ <property name="javac.debug" value="true"/>
+ <property name="javadoc.preview" value="true"/>
+ <property name="application.args" value=""/>
+ <property name="source.encoding" value="${file.encoding}"/>
+ <property name="runtime.encoding" value="${source.encoding}"/>
+ <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
+ <and>
+ <isset property="javadoc.encoding"/>
+ <not>
+ <equals arg1="${javadoc.encoding}" arg2=""/>
+ </not>
+ </and>
+ </condition>
+ <property name="javadoc.encoding.used" value="${source.encoding}"/>
+ <property name="includes" value="**"/>
+ <property name="excludes" value=""/>
+ <property name="do.depend" value="false"/>
+ <condition property="do.depend.true">
+ <istrue value="${do.depend}"/>
+ </condition>
+ <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
+ <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
+ <length length="0" string="${endorsed.classpath}" when="greater"/>
+ </condition>
+ <property name="javac.fork" value="false"/>
+ <property name="jar.index" value="false"/>
+ <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
+ </target>
+ <target name="-post-init">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
+ <fail unless="src.dir">Must set src.dir</fail>
+ <fail unless="test.src.dir">Must set test.src.dir</fail>
+ <fail unless="build.dir">Must set build.dir</fail>
+ <fail unless="dist.dir">Must set dist.dir</fail>
+ <fail unless="build.classes.dir">Must set build.classes.dir</fail>
+ <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
+ <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
+ <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
+ <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
+ <fail unless="dist.jar">Must set dist.jar</fail>
+ </target>
+ <target name="-init-macrodef-property">
+ <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${javac.processorpath}" name="processorpath"/>
+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="${empty.dir}" name="sourcepath"/>
+ <attribute default="${empty.dir}" name="gensrcdir"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.dir}/empty" name="empty.dir"/>
+ <mkdir dir="${empty.dir}"/>
+ <mkdir dir="@{apgeneratedsrcdir}"/>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
+ <src>
+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </src>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <compilerarg line="${javac.compilerargs}"/>
+ <compilerarg value="-processorpath"/>
+ <compilerarg path="@{processorpath}:${empty.dir}"/>
+ <compilerarg line="${ap.processors.internal}"/>
+ <compilerarg line="${annotation.processing.processor.options}"/>
+ <compilerarg value="-s"/>
+ <compilerarg path="@{apgeneratedsrcdir}"/>
+ <compilerarg line="${ap.proc.none.internal}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
+ <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <attribute default="${javac.processorpath}" name="processorpath"/>
+ <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="${javac.debug}" name="debug"/>
+ <attribute default="${empty.dir}" name="sourcepath"/>
+ <attribute default="${empty.dir}" name="gensrcdir"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.dir}/empty" name="empty.dir"/>
+ <mkdir dir="${empty.dir}"/>
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
+ <src>
+ <dirset dir="@{gensrcdir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </src>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <compilerarg line="${javac.compilerargs}"/>
+ <customize/>
+ </javac>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
+ <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${src.dir}" name="srcdir"/>
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <attribute default="${javac.classpath}" name="classpath"/>
+ <sequential>
+ <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </depend>
+ </sequential>
+ </macrodef>
+ <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${build.classes.dir}" name="destdir"/>
+ <sequential>
+ <fail unless="javac.includes">Must set javac.includes</fail>
+ <pathconvert pathsep="," property="javac.includes.binary">
+ <path>
+ <filelist dir="@{destdir}" files="${javac.includes}"/>
+ </path>
+ <globmapper from="*.java" to="*.class"/>
+ </pathconvert>
+ <delete>
+ <files includes="${javac.includes.binary}"/>
+ </delete>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-junit">
+ <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${includes}" name="includes"/>
+ <attribute default="${excludes}" name="excludes"/>
+ <attribute default="**" name="testincludes"/>
+ <sequential>
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" showoutput="true" tempdir="${build.dir}">
+ <batchtest todir="${build.test.results.dir}">
+ <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
+ <filename name="@{testincludes}"/>
+ </fileset>
+ </batchtest>
+ <classpath>
+ <path path="${run.test.classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <formatter type="brief" usefile="false"/>
+ <formatter type="xml"/>
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ </junit>
+ </sequential>
+ </macrodef>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
+ <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${main.class}" name="name"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <attribute default="" name="stopclassname"/>
+ <sequential>
+ <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ </nbjpdastart>
+ </sequential>
+ </macrodef>
+ <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${build.classes.dir}" name="dir"/>
+ <sequential>
+ <nbjpdareload>
+ <fileset dir="@{dir}" includes="${fix.classes}">
+ <include name="${fix.includes}*.class"/>
+ </fileset>
+ </nbjpdareload>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-debug-args">
+ <property name="version-output" value="java version &quot;${ant.java.version}"/>
+ <condition property="have-jdk-older-than-1.4">
+ <or>
+ <contains string="${version-output}" substring="java version &quot;1.0"/>
+ <contains string="${version-output}" substring="java version &quot;1.1"/>
+ <contains string="${version-output}" substring="java version &quot;1.2"/>
+ <contains string="${version-output}" substring="java version &quot;1.3"/>
+ </or>
+ </condition>
+ <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
+ <istrue value="${have-jdk-older-than-1.4}"/>
+ </condition>
+ <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
+ <os family="windows"/>
+ </condition>
+ <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
+ <isset property="debug.transport"/>
+ </condition>
+ </target>
+ <target depends="-init-debug-args" name="-init-macrodef-debug">
+ <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${debug.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg line="${debug-args-line}"/>
+ <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-java">
+ <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <attribute default="${main.class}" name="classname"/>
+ <attribute default="${run.classpath}" name="classpath"/>
+ <element name="customize" optional="true"/>
+ <sequential>
+ <java classname="@{classname}" dir="${work.dir}" fork="true">
+ <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
+ <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
+ <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
+ <jvmarg line="${run.jvmargs}"/>
+ <classpath>
+ <path path="@{classpath}"/>
+ </classpath>
+ <syspropertyset>
+ <propertyref prefix="run-sys-prop."/>
+ <mapper from="run-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <customize/>
+ </java>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-macrodef-copylibs">
+ <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
+ <element name="customize" optional="true"/>
+ <sequential>
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <pathconvert property="run.classpath.without.build.classes.dir">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to=""/>
+ </pathconvert>
+ <pathconvert pathsep=" " property="jar.classpath">
+ <path path="${run.classpath.without.build.classes.dir}"/>
+ <chainedmapper>
+ <flattenmapper/>
+ <globmapper from="*" to="lib/*"/>
+ </chainedmapper>
+ </pathconvert>
+ <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
+ <copylibs compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}" manifest="${manifest.file}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
+ <fileset dir="${build.classes.dir}"/>
+ <manifest>
+ <attribute name="Class-Path" value="${jar.classpath}"/>
+ <customize/>
+ </manifest>
+ </copylibs>
+ </sequential>
+ </macrodef>
+ </target>
+ <target name="-init-presetdef-jar">
+ <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
+ <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
+ <j2seproject1:fileset dir="${build.classes.dir}"/>
+ </jar>
+ </presetdef>
+ </target>
+ <target name="-init-ap-cmdline-properties">
+ <property name="annotation.processing.enabled" value="true"/>
+ <property name="annotation.processing.processors.list" value=""/>
+ <property name="annotation.processing.processor.options" value=""/>
+ <property name="annotation.processing.run.all.processors" value="true"/>
+ <property name="javac.processorpath" value="${javac.classpath}"/>
+ <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
+ <condition property="ap.supported.internal" value="true">
+ <not>
+ <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
+ </not>
+ </condition>
+ </target>
+ <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
+ <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
+ <isfalse value="${annotation.processing.run.all.processors}"/>
+ </condition>
+ <condition else="" property="ap.proc.none.internal" value="-proc:none">
+ <isfalse value="${annotation.processing.enabled}"/>
+ </condition>
+ </target>
+ <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
+ <property name="ap.cmd.line.internal" value=""/>
+ </target>
+ <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
+ <!--
+ ===================
+ COMPILATION SECTION
+ ===================
+ -->
+ <target name="-deps-jar-init" unless="built-jar.properties">
+ <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
+ <delete file="${built-jar.properties}" quiet="true"/>
+ </target>
+ <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
+ <echo level="warn" message="Cycle detected: test-XmlTolerantInput01 was already built"/>
+ </target>
+ <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
+ <mkdir dir="${build.dir}"/>
+ <touch file="${built-jar.properties}" verbose="false"/>
+ <property file="${built-jar.properties}" prefix="already.built.jar."/>
+ <antcall target="-warn-already-built-jar"/>
+ <propertyfile file="${built-jar.properties}">
+ <entry key="${basedir}" value=""/>
+ </propertyfile>
+ </target>
+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
+ <target depends="init" name="-check-automatic-build">
+ <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
+ </target>
+ <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
+ <antcall target="clean"/>
+ </target>
+ <target depends="init,deps-jar" name="-pre-pre-compile">
+ <mkdir dir="${build.classes.dir}"/>
+ </target>
+ <target name="-pre-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="do.depend.true" name="-compile-depend">
+ <pathconvert property="build.generated.subdirs">
+ <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="*"/>
+ </dirset>
+ </pathconvert>
+ <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
+ <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target if="has.persistence.xml" name="-copy-persistence-xml">
+ <mkdir dir="${build.classes.dir}/META-INF"/>
+ <copy todir="${build.classes.dir}/META-INF">
+ <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
+ </copy>
+ </target>
+ <target name="-post-compile">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
+ <target name="-pre-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile/>
+ <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
+ </target>
+ <target name="-post-compile-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
+ <!--
+ ====================
+ JAR BUILDING SECTION
+ ====================
+ -->
+ <target depends="init" name="-pre-pre-jar">
+ <dirname file="${dist.jar}" property="dist.jar.dir"/>
+ <mkdir dir="${dist.jar.dir}"/>
+ </target>
+ <target name="-pre-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available">
+ <j2seproject1:jar/>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class">
+ <j2seproject1:jar manifest="${manifest.file}"/>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
+ <j2seproject1:jar manifest="${manifest.file}">
+ <j2seproject1:manifest>
+ <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
+ </j2seproject1:manifest>
+ </j2seproject1:jar>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <pathconvert property="run.classpath.with.dist.jar">
+ <path path="${run.classpath}"/>
+ <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
+ </pathconvert>
+ <echo>java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available+splashscreen.available" name="-do-jar-with-libraries-and-splashscreen">
+ <basename file="${application.splash}" property="splashscreen.basename"/>
+ <mkdir dir="${build.classes.dir}/META-INF"/>
+ <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
+ <j2seproject3:copylibs>
+ <customize>
+ <attribute name="Main-Class" value="${main.class}"/>
+ <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
+ </customize>
+ </j2seproject3:copylibs>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <echo>java -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target depends="init,compile,-pre-pre-jar,-pre-jar,-init-macrodef-copylibs" if="do.archive+manifest.available+main.class+mkdist.available" name="-do-jar-with-libraries" unless="splashscreen.available">
+ <j2seproject3:copylibs>
+ <customize>
+ <attribute name="Main-Class" value="${main.class}"/>
+ </customize>
+ </j2seproject3:copylibs>
+ <echo>To run this application from the command line without Ant, try:</echo>
+ <property location="${dist.jar}" name="dist.jar.resolved"/>
+ <echo>java -jar "${dist.jar.resolved}"</echo>
+ </target>
+ <target name="-post-jar">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries-and-splashscreen,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
+ <!--
+ =================
+ EXECUTION SECTION
+ =================
+ -->
+ <target depends="init,compile" description="Run a main class." name="run">
+ <j2seproject1:java>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <target name="-do-not-recompile">
+ <property name="javac.includes.binary" value=""/>
+ </target>
+ <target depends="init,compile-single" name="run-single">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}"/>
+ </target>
+ <target depends="init,compile-test-single" name="run-test-with-main">
+ <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
+ <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
+ </target>
+ <!--
+ =================
+ DEBUGGING SECTION
+ =================
+ -->
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger">
+ <j2seproject1:nbjpdastart name="${debug.class}"/>
+ </target>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
+ </target>
+ <target depends="init,compile" name="-debug-start-debuggee">
+ <j2seproject3:debug>
+ <customize>
+ <arg line="${application.args}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
+ <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
+ <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
+ </target>
+ <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}"/>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
+ <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
+ <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
+ <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
+ </target>
+ <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
+ <target depends="init" name="-pre-debug-fix">
+ <fail unless="fix.includes">Must set fix.includes</fail>
+ <property name="javac.includes" value="${fix.includes}.java"/>
+ </target>
+ <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
+ <j2seproject1:nbjpdareload/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
+ <!--
+ ===============
+ JAVADOC SECTION
+ ===============
+ -->
+ <target depends="init" if="have.sources" name="-javadoc-build">
+ <mkdir dir="${dist.javadoc.dir}"/>
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
+ <classpath>
+ <path path="${javac.classpath}"/>
+ </classpath>
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/*.java"/>
+ </fileset>
+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ <copy todir="${dist.javadoc.dir}">
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="**/doc-files/**"/>
+ </fileset>
+ </copy>
+ </target>
+ <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
+ <nbbrowse file="${dist.javadoc.dir}/index.html"/>
+ </target>
+ <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
+ <!--
+ =========================
+ JUNIT COMPILATION SECTION
+ =========================
+ -->
+ <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
+ <mkdir dir="${build.test.classes.dir}"/>
+ </target>
+ <target name="-pre-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target if="do.depend.true" name="-compile-test-depend">
+ <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
+ <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
+ <target name="-pre-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
+ <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
+ <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
+ <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
+ <copy todir="${build.test.classes.dir}">
+ <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
+ </copy>
+ </target>
+ <target name="-post-compile-test-single">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
+ <!--
+ =======================
+ JUNIT EXECUTION SECTION
+ =======================
+ -->
+ <target depends="init" if="have.tests" name="-pre-test-run">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
+ <j2seproject3:junit testincludes="**/*Test.java"/>
+ </target>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init" if="have.tests" name="test-report"/>
+ <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
+ <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
+ <target depends="init" if="have.tests" name="-pre-test-run-single">
+ <mkdir dir="${build.test.results.dir}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
+ <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
+ <j2seproject3:junit excludes="" includes="${test.includes}"/>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
+ <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
+ </target>
+ <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
+ <!--
+ =======================
+ JUNIT DEBUGGING SECTION
+ =======================
+ -->
+ <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
+ <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
+ <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
+ <delete file="${test.report.file}"/>
+ <mkdir dir="${build.test.results.dir}"/>
+ <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
+ <customize>
+ <syspropertyset>
+ <propertyref prefix="test-sys-prop."/>
+ <mapper from="test-sys-prop.*" to="*" type="glob"/>
+ </syspropertyset>
+ <arg value="${test.class}"/>
+ <arg value="showoutput=true"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
+ <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
+ <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
+ </target>
+ <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
+ <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
+ <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
+ </target>
+ <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
+ <!--
+ =========================
+ APPLET EXECUTION SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" name="run-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject1:java classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject1:java>
+ </target>
+ <!--
+ =========================
+ APPLET DEBUGGING SECTION
+ =========================
+ -->
+ <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
+ <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
+ <j2seproject3:debug classname="sun.applet.AppletViewer">
+ <customize>
+ <arg value="${applet.url}"/>
+ </customize>
+ </j2seproject3:debug>
+ </target>
+ <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
+ <!--
+ ===============
+ CLEANUP SECTION
+ ===============
+ -->
+ <target name="-deps-clean-init" unless="built-clean.properties">
+ <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
+ <delete file="${built-clean.properties}" quiet="true"/>
+ </target>
+ <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
+ <echo level="warn" message="Cycle detected: test-XmlTolerantInput01 was already built"/>
+ </target>
+ <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
+ <mkdir dir="${build.dir}"/>
+ <touch file="${built-clean.properties}" verbose="false"/>
+ <property file="${built-clean.properties}" prefix="already.built.clean."/>
+ <antcall target="-warn-already-built-clean"/>
+ <propertyfile file="${built-clean.properties}">
+ <entry key="${basedir}" value=""/>
+ </propertyfile>
+ </target>
+ <target depends="init" name="-do-clean">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
+ </target>
+ <target name="-post-clean">
+ <!-- Empty placeholder for easier customization. -->
+ <!-- You can override this target in the ../build.xml file. -->
+ </target>
+ <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
+ <target name="-check-call-dep">
+ <property file="${call.built.properties}" prefix="already.built."/>
+ <condition property="should.call.dep">
+ <not>
+ <isset property="already.built.${call.subproject}"/>
+ </not>
+ </condition>
+ </target>
+ <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
+ <ant antfile="${call.script}" inheritall="false" target="${call.target}">
+ <propertyset>
+ <propertyref prefix="transfer."/>
+ <mapper from="transfer.*" to="*" type="glob"/>
+ </propertyset>
+ </ant>
+ </target>
+</project>
diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties
index e69de29..6464716 100644
--- a/nbproject/genfiles.properties
+++ b/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=6f29b565
+build.xml.script.CRC32=707c39ae
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=6f29b565
+nbproject/build-impl.xml.script.CRC32=f4211046
diff --git a/nbproject/private/private.properties b/nbproject/private/private.properties
index e69de29..a81cb4f 100644
--- a/nbproject/private/private.properties
+++ b/nbproject/private/private.properties
@@ -0,0 +1,6 @@
+compile.on.save=true
+do.depend=false
+do.jar=true
+javac.debug=true
+javadoc.preview=true
+user.properties.file=/home/sven/.netbeans/6.9/build.properties
diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml
index e69de29..8ca126a 100644
--- a/nbproject/private/private.xml
+++ b/nbproject/private/private.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1"/>
diff --git a/nbproject/project.properties b/nbproject/project.properties
index e69de29..1e2d989 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -0,0 +1,76 @@
+annotation.processing.enabled=true
+annotation.processing.enabled.in.editor=false
+annotation.processing.run.all.processors=true
+annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
+application.title=test-XmlTolerantInput01
+application.vendor=sven
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+build.generated.sources.dir=${build.dir}/generated-sources
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+# Uncomment to specify the preferred debugger connection transport:
+#debug.transport=dt_socket
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/test-XmlTolerantInput01.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+endorsed.classpath=
+excludes=
+file.reference.dom4j-1.6.1-hudson-3.jar=lib/dom4j-1.6.1-hudson-3.jar
+includes=**
+jar.compress=false
+javac.classpath=\
+ ${file.reference.dom4j-1.6.1-hudson-3.jar}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.processorpath=\
+ ${javac.classpath}
+javac.source=1.5
+javac.target=1.5
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}:\
+ ${libs.junit.classpath}:\
+ ${libs.junit_4.classpath}
+javac.test.processorpath=\
+ ${javac.test.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+main.class=Main
+manifest.file=manifest.mf
+meta.inf.dir=${src.dir}/META-INF
+platform.active=default_platform
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project
+# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
+# or test-sys-prop.name=value to set system properties for unit tests):
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+source.encoding=UTF-8
+source.reference.dom4j-1.6.1-hudson-3.jar=/home/sven/projects/JOGL/jenkins/dom4j-1.6.1/src/java
+src.dir=src
+test.src.dir=test
diff --git a/nbproject/project.xml b/nbproject/project.xml
index e69de29..c534ee4 100644
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.java.j2seproject</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
+ <name>test-XmlTolerantInput01</name>
+ <source-roots>
+ <root id="src.dir"/>
+ </source-roots>
+ <test-roots>
+ <root id="test.src.dir"/>
+ </test-roots>
+ </data>
+ </configuration>
+</project>
diff --git a/src/Main.java b/src/Main.java
index e69de29..99d98c5 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -0,0 +1,23 @@
+import org.dom4j.Document;
+import org.dom4j.DocumentException;
+import org.dom4j.Element;
+import org.dom4j.io.SAXReader;
+
+import java.io.File;
+
+public class Main {
+ public static void main(String[] argv) {
+ File xmlReport = new File(argv[0]);
+ SAXReader saxReader = new SAXReader();
+ System.err.println("Attached TolerantXMLErrorHandler: " + TolerantXMLErrorHandler.attach(saxReader));
+ Document result;
+ try {
+ result = saxReader.read(xmlReport);
+ } catch (DocumentException ex) {
+ ex.printStackTrace();
+ return;
+ }
+ Element root = result.getRootElement();
+ System.out.println("ROOT: "+root);
+ }
+}
diff --git a/src/TolerantXMLErrorHandler.java b/src/TolerantXMLErrorHandler.java
new file mode 100644
index 0000000..8e46a33
--- /dev/null
+++ b/src/TolerantXMLErrorHandler.java
@@ -0,0 +1,103 @@
+/**
+ * Copyright 2011 JogAmp Community. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification, are
+ * permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice, this list of
+ * conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice, this list
+ * of conditions and the following disclaimer in the documentation and/or other materials
+ * provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY JogAmp Community ``AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JogAmp Community OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * The views and conclusions contained in the software and documentation are those of the
+ * authors and should not be interpreted as representing official policies, either expressed
+ * or implied, of JogAmp Community.
+ */
+
+import org.dom4j.io.SAXReader;
+import org.xml.sax.ErrorHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXParseException;
+import org.xml.sax.XMLReader;
+
+public class TolerantXMLErrorHandler implements ErrorHandler {
+ public static final String XERCES_FEATURE_PREFIX = "http://apache.org/xml/features/";
+ public static final String CONTINUE_AFTER_FATAL_ERROR_FEATURE = "continue-after-fatal-error";
+ public static final String msgContentIllegalInTrailingMisc = "Content is not allowed in trailing section.";
+
+ public static final String XERCES_CONTINUE_AFTER_FATAL_ERROR_FEATURE =
+ XERCES_FEATURE_PREFIX + CONTINUE_AFTER_FATAL_ERROR_FEATURE;
+
+ public static boolean attach(SAXReader reader) {
+ boolean ok = true;
+ try {
+ reader.setFeature(XERCES_CONTINUE_AFTER_FATAL_ERROR_FEATURE, true);
+ } catch (SAXException ex) {
+ ex.printStackTrace();
+ return false;
+ }
+ reader.setErrorHandler(new TolerantXMLErrorHandler());
+ return true;
+ }
+
+ public static boolean attach(XMLReader reader) {
+ boolean ok = true;
+ try {
+ reader.setFeature(XERCES_CONTINUE_AFTER_FATAL_ERROR_FEATURE, true);
+ } catch (SAXException ex) {
+ ex.printStackTrace();
+ return false;
+ }
+ reader.setErrorHandler(new TolerantXMLErrorHandler());
+ return true;
+ }
+
+ public static boolean exceptionMessageEquals(Exception ex, final Class type, final String message) {
+ Throwable cause = ex;
+ while ( null != cause ) {
+ if( type.isInstance(cause) ) {
+ if( message.equals(cause.getMessage()) ) {
+ return true;
+ }
+ }
+ cause = cause.getCause();
+ }
+ return false;
+ }
+
+ public void warning(SAXParseException exception) throws SAXException {
+ exception.printStackTrace();
+ }
+
+ public void error(SAXParseException exception) throws SAXException {
+ exception.printStackTrace();
+ }
+
+ public void fatalError(SAXParseException exception) throws SAXException {
+ if(exceptionMessageEquals(exception, SAXException.class, msgContentIllegalInTrailingMisc)) {
+ printCatched("fatalError(SAXException "+msgContentIllegalInTrailingMisc+")", exception);
+ return; // keep going ..
+ }
+ throw exception;
+ }
+
+ static void printCatched(String header, Exception ex) {
+ System.err.println("************************************************");
+ System.err.println("Catched: " + header);
+ System.err.println("------------------------------------------------");
+ ex.printStackTrace();
+ System.err.println("************************************************");
+ }
+}
diff --git a/test.sh b/test.sh
index 2e6909e..9fc597d 100644
--- a/test.sh
+++ b/test.sh
@@ -1,4 +1,13 @@
#! /bin/bash
+echo TEST-ok-01
+echo
java -cp lib/dom4j-1.6.1-hudson-3.jar:build/classes Main test/TEST-ok-01.xml
+echo
+echo TEST-error-01 catched
+echo
java -cp lib/dom4j-1.6.1-hudson-3.jar:build/classes Main test/TEST-error-01.xml
+echo
+echo TEST-error-02 not catched
+echo
+java -cp lib/dom4j-1.6.1-hudson-3.jar:build/classes Main test/TEST-error-02.xml
diff --git a/test/TEST-error-01.xml b/test/TEST-error-01.xml
index e69de29..a71363b 100644
--- a/test/TEST-error-01.xml
+++ b/test/TEST-error-01.xml
@@ -0,0 +1,241 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite errors="0" failures="0" hostname="jogamp02" name="com.jogamp.common.nio.CachedBufferFactoryTest" tests="3" time="0.106" timestamp="2011-02-24T00:16:46">
+<properties>
+<property name="env.DESKTOP_SESSION" value="kde"/>
+<property name="env.OLDPWD" value="/home/jogamp/jenkins"/>
+<property name="file.encoding.pkg" value="sun.io"/>
+<property name="ant.file.GlueGen-properties" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-properties.xml"/>
+<property name="j.grammar" value="../src/java/com/jogamp/gluegen/jgram"/>
+<property name="java.home" value="/opt-linux-x86_64/jdk1.6.0_24/jre"/>
+<property name="ant.file.jogamp-archivetasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-archivetasks.xml"/>
+<property name="env.DISPLAY" value=":0.0"/>
+<property name="gluegen-cpptasks.file.abs-path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.SCM_BRANCH" value="master"/>
+<property name="c.strip.libraries" value="true"/>
+<property name="env.XDG_SESSION_COOKIE" value="8b694e8e8d0618f9512d776b4c8be689-1298506376.992284-1690936385"/>
+<property name="java.endorsed.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/endorsed"/>
+<property name="env.LOGNAME" value="jogamp"/>
+<property name="env.GS_LIB" value="/home/jogamp/.fonts"/>
+<property name="env.HUDSON_HOME" value="/srv/jenkins/config"/>
+<property name="gluegen-test.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar"/>
+<property name="env.TEXINPUTS" value=":/usr/share/latex2html/texinputs"/>
+<property name="rootrel.build" value="build"/>
+<property name="gluegen.lib" value="../build/obj"/>
+<property name="env.KDE_SESSION_UID" value="1001"/>
+<property name="env.SESSION_MANAGER" value="local/jogamp02:@/tmp/.ICE-unix/2193,unix/jogamp02:/tmp/.ICE-unix/2193"/>
+<property name="sun.os.patch.level" value="unknown"/>
+<property name="java.vendor.url" value="http://java.sun.com/"/>
+<property name="env.NODE_NAME" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.version" value="1.6.0_24"/>
+<property name="version.timestamp" value="20110224"/>
+<property name="classes" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/classes"/>
+<property name="gluegen-rt.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-rt.jar"/>
+<property name="env.NODE_LABELS" value="linux-x86_64-amd linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.JENKINS_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
+<property name="ant.file.type.GlueGen-properties" value="file"/>
+<property name="ant.project.invoked-targets" value="junit.run"/>
+<property name="env.XDG_DATA_DIRS" value="/usr/share:/usr/share:/usr/local/share"/>
+<property name="build.archiveon" value="true"/>
+<property name="macosx64" value="true"/>
+<property name="user.name" value="jogamp"/>
+<property name="os.and.arch" value="linux-amd64"/>
+<property name="env.LANG" value="en_US.UTF-8"/>
+<property name="gluegen.cpptasks.detected.os" value="true"/>
+<property name="env.CVS_RSH" value="ssh"/>
+<property name="generated.java.from.j.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/jgram"/>
+<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+<property name="sun.jnu.encoding" value="UTF-8"/>
+<property name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:abstract=/tmp/dbus-2YAMUrYaSn,guid=35c1b0ed0dfc8f03646cfad90000002c"/>
+<property name="build_t.java" value="../build/test/build/classes"/>
+<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+<property name="label" value="linux-x86_64-amd"/>
+<property name="java.specification.name" value="Java Platform API Specification"/>
+<property name="user.timezone" value=""/>
+<property name="env.ANT_PATH" value="/opt-share/apache-ant"/>
+<property name="stub.includes.dir" value="stub_includes"/>
+<property name="isUnix" value="true"/>
+<property name="path.separator" value=":"/>
+<property name="c.strip.args" value=""/>
+<property name="file.encoding" value="UTF-8"/>
+<property name="c.strip.tool" value="strip"/>
+<property name="ant.project.default-target" value="all"/>
+<property name="build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build"/>
+<property name="build_t.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.HOME" value="/home/jogamp"/>
+<property name="env.MANPATH" value="/opt-linux-x86_64-k10/share/man:/opt-linux-x86_64/share/man:/opt-linux-x86/man:/usr/man:/usr/share/man:"/>
+<property name="ant.file" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GTK_RC_FILES" value="/etc/gtk/gtkrc:/home/jogamp/.gtkrc::/home/jogamp/.kde/share/config/gtkrc"/>
+<property name="src.generated" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc"/>
+<property name="env.BUILD_TAG" value="hudson-label=linux-x86_64-amd-296"/>
+<property name="system.env.library.path" value="LD_LIBRARY_PATH"/>
+<property name="env._" value="/opt-linux-x86_64/j2se6/bin/java"/>
+<property name="make" value="."/>
+<property name="java.io.tmpdir" value="/tmp"/>
+<property name="TODAY" value="February 24 2011"/>
+<property name="user.language" value="en"/>
+<property name="line.separator" value="&#10;"/>
+<property name="ant.file.type.GlueGen-cpptasks-base" value="file"/>
+<property name="jogamp-archivetasks.basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="ant.file.type" value="file"/>
+<property name="env.SSH_AGENT_PID" value="1903"/>
+<property name="archive.name" value="gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="jogamp.common.classes" value="com/jogamp/common/**"/>
+<property name="ant.file.type.maven-common" value="file"/>
+<property name="env.JOB_NAME" value="gluegen/label=linux-x86_64-amd"/>
+<property name="java.vm.info" value="mixed mode"/>
+<property name="env.CCACHE_PREFIX" value="distcc"/>
+<property name="src.java" value="../src/java"/>
+<property name="build_t.gen.rootrel" value="build/test/build/gensrc"/>
+<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+<property name="env.BUILD_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/296/"/>
+<property name="isX11" value="true"/>
+<property name="macosx32" value="true"/>
+<property name="ant.file.type.jogamp-archivetasks" value="file"/>
+<property name="macosppc" value="false"/>
+<property name="ant.file.GlueGen-cpptasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks.xml"/>
+<property name="c.compiler.debug" value="false"/>
+<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
+<property name="build_t.gen" value="../build/test/build/gensrc"/>
+<property name="env.DM_CONTROL" value="/var/run/xdmctl"/>
+<property name="gluegen" value="../src/java/com/jogamp/gluegen"/>
+<property name="junit.jar" value="../make/lib/junit.jar"/>
+<property name="env.HUDSON_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="ant.version" value="Apache Ant(TM) version 1.8.2 compiled on December 20 2010"/>
+<property name="env.DESKTOP_STARTUP_ID" value="jogamp02;1298506415;603903;2193_TIME0"/>
+<property name="use.macosx64" value="true"/>
+<property name="test.base.dir" value="../src/junit"/>
+<property name="javadoc.root.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc"/>
+<property name="gluegen.build.commit" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="test.archive.name" value="gluegen-2.0-b296-20110224-linux-amd64-test-results-linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.BUILD_NUMBER" value="296"/>
+<property name="os.name" value="Linux"/>
+<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="test.junit.generation.dir" value="../src/junit/com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
+<property name="env.JOB_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/"/>
+<property name="env.KDE_SESSION_VERSION" value="4"/>
+<property name="archive" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="java.library.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.PATH" value="/opt-linux-x86_64/j2se6/bin:/opt-linux-x86_64/jre6/bin:/opt-share/apache-ant/bin:/opt-linux-x86_64-k10/bin:/opt-linux-x86_64/bin:/opt-linux-x86_64/MozillaFirefox:/opt-linux-x86_64/jre6/bin:/opt-linux-x86_64/j2se6/bin:/opt-linux-x86/bin:/usr/local/scripts:/usr/local/scripts-common:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:"/>
+<property name="env.HUDSON_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.type.GlueGen-cpptasks" value="file"/>
+<property name="ant.java.version" value="1.6"/>
+<property name="env.JENKINS_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.jogamp-env" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-env.xml"/>
+<property name="basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="java.class.version" value="50.0"/>
+<property name="env.SHLVL" value="1"/>
+<property name="antlr.jar" value="../make/lib/antlr.jar"/>
+<property name="env.LD_LIBRARY_PATH" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64/server:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64:/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/amd64"/>
+<property name="ant.home" value="/opt-share/apache-ant"/>
+<property name="gluegen.build.number" value="296"/>
+<property name="env.KDE_MULTIHEAD" value="false"/>
+<property name="batchtest.timeout" value="1800000"/>
+<property name="env.JENKINS_HOME" value="/srv/jenkins/config"/>
+<property name="build_t.lib" value="../build/test/build/natives"/>
+<property name="destfile.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64.7z"/>
+<property name="build_t.obj" value="../build/test/build/obj"/>
+<property name="sun.boot.library.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64"/>
+<property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
+<property name="env.LIBGL_DRIVERS_PATH" value="/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri"/>
+<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
+<property name="env.USER" value="jogamp"/>
+<property name="env.GTK_MODULES" value="canberra-gtk-module"/>
+<property name="env.JRE_HOME" value="/opt-linux-x86_64/jre6"/>
+<property name="env.OPT_LINUX_X86_64_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.lib.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.QT_PLUGIN_PATH" value="/home/jogamp/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/"/>
+<property name="ant.project.name" value="GlueGenTest"/>
+<property name="gluegen.jnlp.codebase" value=""/>
+<property name="java.vm.specification.version" value="1.0"/>
+<property name="results" value="../build/test/results"/>
+<property name="gluegen.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar"/>
+<property name="env.NLSPATH" value="/usr/dt/lib/nls/msg/%L/%N.cat"/>
+<property name="sun.cpu.isalist" value=""/>
+<property name="c.grammar" value="../src/java/com/jogamp/gluegen/cgram"/>
+<property name="test.junit.generation.rel" value="com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.ext.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/ext:/usr/java/packages/lib/ext"/>
+<property name="javadoc.gluegen.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc/gluegen/javadoc"/>
+<property name="os.version" value="2.6.32-25-preempt"/>
+<property name="javadoc.link" value="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+<property name="user.home" value="/home/jogamp"/>
+<property name="ant.file.maven-common" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/maven-common.xml"/>
+<property name="use.macosx32" value="true"/>
+<property name="env.SCM_COMMIT" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
+<property name="env.KDE_FULL_SESSION" value="true"/>
+<property name="env.JAVA_HOME" value="/opt-linux-x86_64/j2se6"/>
+<property name="native.library.suffix" value="so"/>
+<property name="env.BUILD_ARCHIVE" value="true"/>
+<property name="gluegen.root" value=".."/>
+<property name="user.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="gluegen.excludes" value="com/jogamp/gluegen/runtime/BufferFactoryInternal.java,com/jogamp/gluegen/nativesig/**"/>
+<property name="gluegen.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.XFILESEARCHPATH" value="/usr/dt/app-defaults/%L/Dt"/>
+<property name="env.WINDOWPATH" value="7"/>
+<property name="gluegen.user.properties.file.set" value="/home/jogamp/gluegen.properties"/>
+<property name="gluegen.user.properties.file" value="/home/jogamp/gluegen.properties"/>
+<property name="project.root" value=".."/>
+<property name="env.PWD" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="env.OPT_LINUX_X86_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="build_t" value="../build/test/build"/>
+<property name="test.dir" value="../build/test"/>
+<property name="sun.cpu.endian" value="little"/>
+<property name="env.GTK2_RC_FILES" value="/etc/gtk-2.0/gtkrc:/home/jogamp/.gtkrc-2.0:/home/jogamp/.gtkrc-2.0-kde4:/home/jogamp/.kde/share/config/gtkrc-2.0"/>
+<property name="gluegen.build.branch" value="master"/>
+<property name="build.node.name" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.vm.version" value="19.1-b02"/>
+<property name="java.class.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/lib/junit.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar:/opt-share/apache-ant-1.8.2/lib/ant-launcher.jar:/opt-share/apache-ant/lib/ant.jar:/opt-share/apache-ant/lib/ant-junit.jar:/opt-share/apache-ant/lib/ant-junit4.jar"/>
+<property name="DSTAMP" value="20110224"/>
+<property name="env.XCURSOR_THEME" value="default"/>
+<property name="isLinux" value="true"/>
+<property name="ant.library.dir" value="/opt-share/apache-ant/lib"/>
+<property name="test.junit.rel" value="com/jogamp"/>
+<property name="os.arch" value="amd64"/>
+<property name="gluegen.version" value="2.0-b296-20110224"/>
+<property name="sun.java.launcher" value="SUN_STANDARD"/>
+<property name="env.OPT_LINUX_X86_64_K10_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen"/>
+<property name="isLinuxAMD64" value="true"/>
+<property name="gluegen.cpptasks.detected.os.2" value="true"/>
+<property name="env.BUILD_ID" value="2011-02-24_01-15-17"/>
+<property name="ant.core.lib" value="/opt-share/apache-ant/lib/ant.jar"/>
+<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="TSTAMP" value="0116"/>
+<property name="generated.java.from.c.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/cgram"/>
+<property name="file.separator" value="/"/>
+<property name="ant.file.GlueGenTest" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GIT_BRANCH" value="master"/>
+<property name="java.runtime.version" value="1.6.0_24-b07"/>
+<property name="gluegen-cpptasks.file" value="../make/gluegen-cpptasks-base.xml"/>
+<property name="env.SSH_AUTH_SOCK" value="/tmp/ssh-uJYDYm1721/agent.1721"/>
+<property name="sun.boot.class.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/resources.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/rt.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/sunrsasign.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jsse.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jce.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/charsets.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/modules/jdk.boot.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/classes"/>
+<property name="env.XDM_MANAGED" value="method=classic,auto"/>
+<property name="ant.file.GlueGen-cpptasks-base" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.WORKSPACE" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd"/>
+<property name="user.country" value="US"/>
+<property name="env.ANT_HOME" value="/opt-share/apache-ant"/>
+<property name="env.EXECUTOR_NUMBER" value="0"/>
+<property name="ant.file.GlueGen" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build.xml"/>
+<property name="env.SHELL" value="/bin/bash"/>
+<property name="ant.file.type.jogamp-env" value="file"/>
+<property name="gluegen.build.id" value="2011-02-24_01-15-17"/>
+<property name="tools.jar" value="/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/tools.jar"/>
+<property name="gluegen-rt.classes" value="com/jogamp/gluegen/runtime/**"/>
+<property name="gluegen_base_version" value="2.0"/>
+<property name="java.vendor" value="Sun Microsystems Inc."/>
+<property name="src.generated.java" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java"/>
+<property name="ant.file.type.GlueGen" value="file"/>
+<property name="env.HUDSON_COOKIE" value="99941aa4-4d72-45d8-94e2-b835c6ce0249"/>
+<property name="java.specification.version" value="1.6"/>
+<property name="ant.file.type.GlueGenTest" value="file"/>
+<property name="sun.arch.data.model" value="64"/>
+</properties>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="dynamicTest" time="0.0070"/>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="dynamicConcurrentTest" time="0.019"/>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="staticTest" time="0.02"/>
+<system-out/>
+<system-err/>
+</testsuite>
+>
diff --git a/test/TEST-error-02.xml b/test/TEST-error-02.xml
new file mode 100644
index 0000000..7cad8be
--- /dev/null
+++ b/test/TEST-error-02.xml
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite errors="0" failures="0" hostname="jogamp02" name="com.jogamp.common.nio.CachedBufferFactoryTest" tests="3" time="0.106" timestamp="2011-02-24T00:16:46">
+<properties>
+<property name="env.DESKTOP_SESSION" value="kde"/>
+<property name="env.OLDPWD" value="/home/jogamp/jenkins"/>
+<property name="file.encoding.pkg" value="sun.io"/>
+<property name="ant.file.GlueGen-properties" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-properties.xml"/>
+<property name="j.grammar" value="../src/java/com/jogamp/gluegen/jgram"/>
+<property name="java.home" value="/opt-linux-x86_64/jdk1.6.0_24/jre"/>
+<property name="ant.file.jogamp-archivetasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-archivetasks.xml"/>
+<property name="env.DISPLAY" value=":0.0"/>
+<property name="gluegen-cpptasks.file.abs-path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.SCM_BRANCH" value="master"/>
+<property name="c.strip.libraries" value="true"/>
+<property name="env.XDG_SESSION_COOKIE" value="8b694e8e8d0618f9512d776b4c8be689-1298506376.992284-1690936385"/>
+<property name="java.endorsed.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/endorsed"/>
+<property name="env.LOGNAME" value="jogamp"/>
+<property name="env.GS_LIB" value="/home/jogamp/.fonts"/>
+<property name="env.HUDSON_HOME" value="/srv/jenkins/config"/>
+<property name="gluegen-test.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar"/>
+<property name="env.TEXINPUTS" value=":/usr/share/latex2html/texinputs"/>
+<property name="rootrel.build" value="build"/>
+<property name="gluegen.lib" value="../build/obj"/>
+<property name="env.KDE_SESSION_UID" value="1001"/>
+<property name="env.SESSION_MANAGER" value="local/jogamp02:@/tmp/.ICE-unix/2193,unix/jogamp02:/tmp/.ICE-unix/2193"/>
+<property name="sun.os.patch.level" value="unknown"/>
+<property name="java.vendor.url" value="http://java.sun.com/"/>
+<property name="env.NODE_NAME" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.version" value="1.6.0_24"/>
+<property name="version.timestamp" value="20110224"/>
+<property name="classes" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/classes"/>
+<property name="gluegen-rt.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-rt.jar"/>
+<property name="env.NODE_LABELS" value="linux-x86_64-amd linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.JENKINS_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
+<property name="ant.file.type.GlueGen-properties" value="file"/>
+<property name="ant.project.invoked-targets" value="junit.run"/>
+<property name="env.XDG_DATA_DIRS" value="/usr/share:/usr/share:/usr/local/share"/>
+<property name="build.archiveon" value="true"/>
+<property name="macosx64" value="true"/>
+<property name="user.name" value="jogamp"/>
+<property name="os.and.arch" value="linux-amd64"/>
+<property name="env.LANG" value="en_US.UTF-8"/>
+<property name="gluegen.cpptasks.detected.os" value="true"/>
+<property name="env.CVS_RSH" value="ssh"/>
+<property name="generated.java.from.j.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/jgram"/>
+<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+<property name="sun.jnu.encoding" value="UTF-8"/>
+<property name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:abstract=/tmp/dbus-2YAMUrYaSn,guid=35c1b0ed0dfc8f03646cfad90000002c"/>
+<property name="build_t.java" value="../build/test/build/classes"/>
+<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+<property name="label" value="linux-x86_64-amd"/>
+<property name="java.specification.name" value="Java Platform API Specification"/>
+<property name="user.timezone" value=""/>
+<property name="env.ANT_PATH" value="/opt-share/apache-ant"/>
+<property name="stub.includes.dir" value="stub_includes"/>
+<property name="isUnix" value="true"/>
+<property name="path.separator" value=":"/>
+<property name="c.strip.args" value=""/>
+<property name="file.encoding" value="UTF-8"/>
+<property name="c.strip.tool" value="strip"/>
+<property name="ant.project.default-target" value="all"/>
+<property name="build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build"/>
+<property name="build_t.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.HOME" value="/home/jogamp"/>
+<property name="env.MANPATH" value="/opt-linux-x86_64-k10/share/man:/opt-linux-x86_64/share/man:/opt-linux-x86/man:/usr/man:/usr/share/man:"/>
+<property name="ant.file" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GTK_RC_FILES" value="/etc/gtk/gtkrc:/home/jogamp/.gtkrc::/home/jogamp/.kde/share/config/gtkrc"/>
+<property name="src.generated" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc"/>
+<property name="env.BUILD_TAG" value="hudson-label=linux-x86_64-amd-296"/>
+<property name="system.env.library.path" value="LD_LIBRARY_PATH"/>
+<property name="env._" value="/opt-linux-x86_64/j2se6/bin/java"/>
+<property name="make" value="."/>
+<property name="java.io.tmpdir" value="/tmp"/>
+<property name="TODAY" value="February 24 2011"/>
+<property name="user.language" value="en"/>
+<property name="line.separator" value="&#10;"/>
+<property name="ant.file.type.GlueGen-cpptasks-base" value="file"/>
+<property name="jogamp-archivetasks.basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="ant.file.type" value="file"/>
+<property name="env.SSH_AGENT_PID" value="1903"/>
+<property name="archive.name" value="gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="jogamp.common.classes" value="com/jogamp/common/**"/>
+<property name="ant.file.type.maven-common" value="file"/>
+<property name="env.JOB_NAME" value="gluegen/label=linux-x86_64-amd"/>
+<property name="java.vm.info" value="mixed mode"/>
+<property name="env.CCACHE_PREFIX" value="distcc"/>
+<property name="src.java" value="../src/java"/>
+<property name="build_t.gen.rootrel" value="build/test/build/gensrc"/>
+<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+<property name="env.BUILD_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/296/"/>
+<property name="isX11" value="true"/>
+<property name="macosx32" value="true"/>
+<property name="ant.file.type.jogamp-archivetasks" value="file"/>
+<property name="macosppc" value="false"/>
+<property name="ant.file.GlueGen-cpptasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks.xml"/>
+<property name="c.compiler.debug" value="false"/>
+<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
+<property name="build_t.gen" value="../build/test/build/gensrc"/>
+<property name="env.DM_CONTROL" value="/var/run/xdmctl"/>
+<property name="gluegen" value="../src/java/com/jogamp/gluegen"/>
+<property name="junit.jar" value="../make/lib/junit.jar"/>
+<property name="env.HUDSON_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="ant.version" value="Apache Ant(TM) version 1.8.2 compiled on December 20 2010"/>
+<property name="env.DESKTOP_STARTUP_ID" value="jogamp02;1298506415;603903;2193_TIME0"/>
+<property name="use.macosx64" value="true"/>
+<property name="test.base.dir" value="../src/junit"/>
+<property name="javadoc.root.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc"/>
+<property name="gluegen.build.commit" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="test.archive.name" value="gluegen-2.0-b296-20110224-linux-amd64-test-results-linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.BUILD_NUMBER" value="296"/>
+<property name="os.name" value="Linux"/>
+<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="test.junit.generation.dir" value="../src/junit/com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
+<property name="env.JOB_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/"/>
+<property name="env.KDE_SESSION_VERSION" value="4"/>
+<property name="archive" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="java.library.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.PATH" value="/opt-linux-x86_64/j2se6/bin:/opt-linux-x86_64/jre6/bin:/opt-share/apache-ant/bin:/opt-linux-x86_64-k10/bin:/opt-linux-x86_64/bin:/opt-linux-x86_64/MozillaFirefox:/opt-linux-x86_64/jre6/bin:/opt-linux-x86_64/j2se6/bin:/opt-linux-x86/bin:/usr/local/scripts:/usr/local/scripts-common:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:"/>
+<property name="env.HUDSON_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.type.GlueGen-cpptasks" value="file"/>
+<property name="ant.java.version" value="1.6"/>
+<property name="env.JENKINS_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.jogamp-env" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-env.xml"/>
+<property name="basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="java.class.version" value="50.0"/>
+<property name="env.SHLVL" value="1"/>
+<property name="antlr.jar" value="../make/lib/antlr.jar"/>
+<property name="env.LD_LIBRARY_PATH" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64/server:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64:/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/amd64"/>
+<property name="ant.home" value="/opt-share/apache-ant"/>
+<property name="gluegen.build.number" value="296"/>
+<property name="env.KDE_MULTIHEAD" value="false"/>
+<property name="batchtest.timeout" value="1800000"/>
+<property name="env.JENKINS_HOME" value="/srv/jenkins/config"/>
+<property name="build_t.lib" value="../build/test/build/natives"/>
+<property name="destfile.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64.7z"/>
+<property name="build_t.obj" value="../build/test/build/obj"/>
+<property name="sun.boot.library.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64"/>
+<property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
+<property name="env.LIBGL_DRIVERS_PATH" value="/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri"/>
+<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
+<property name="env.USER" value="jogamp"/>
+<property name="env.GTK_MODULES" value="canberra-gtk-module"/>
+<property name="env.JRE_HOME" value="/opt-linux-x86_64/jre6"/>
+<property name="env.OPT_LINUX_X86_64_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.lib.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.QT_PLUGIN_PATH" value="/home/jogamp/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/"/>
+<property name="ant.project.name" value="GlueGenTest"/>
+<property name="gluegen.jnlp.codebase" value=""/>
+<property name="java.vm.specification.version" value="1.0"/>
+<property name="results" value="../build/test/results"/>
+<property name="gluegen.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar"/>
+<property name="env.NLSPATH" value="/usr/dt/lib/nls/msg/%L/%N.cat"/>
+<property name="sun.cpu.isalist" value=""/>
+<property name="c.grammar" value="../src/java/com/jogamp/gluegen/cgram"/>
+<property name="test.junit.generation.rel" value="com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.ext.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/ext:/usr/java/packages/lib/ext"/>
+<property name="javadoc.gluegen.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc/gluegen/javadoc"/>
+<property name="os.version" value="2.6.32-25-preempt"/>
+<property name="javadoc.link" value="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+<property name="user.home" value="/home/jogamp"/>
+<property name="ant.file.maven-common" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/maven-common.xml"/>
+<property name="use.macosx32" value="true"/>
+<property name="env.SCM_COMMIT" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
+<property name="env.KDE_FULL_SESSION" value="true"/>
+<property name="env.JAVA_HOME" value="/opt-linux-x86_64/j2se6"/>
+<property name="native.library.suffix" value="so"/>
+<property name="env.BUILD_ARCHIVE" value="true"/>
+<property name="gluegen.root" value=".."/>
+<property name="user.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="gluegen.excludes" value="com/jogamp/gluegen/runtime/BufferFactoryInternal.java,com/jogamp/gluegen/nativesig/**"/>
+<property name="gluegen.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.XFILESEARCHPATH" value="/usr/dt/app-defaults/%L/Dt"/>
+<property name="env.WINDOWPATH" value="7"/>
+<property name="gluegen.user.properties.file.set" value="/home/jogamp/gluegen.properties"/>
+<property name="gluegen.user.properties.file" value="/home/jogamp/gluegen.properties"/>
+<property name="project.root" value=".."/>
+<property name="env.PWD" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="env.OPT_LINUX_X86_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="build_t" value="../build/test/build"/>
+<property name="test.dir" value="../build/test"/>
+<property name="sun.cpu.endian" value="little"/>
+<property name="env.GTK2_RC_FILES" value="/etc/gtk-2.0/gtkrc:/home/jogamp/.gtkrc-2.0:/home/jogamp/.gtkrc-2.0-kde4:/home/jogamp/.kde/share/config/gtkrc-2.0"/>
+<property name="gluegen.build.branch" value="master"/>
+<property name="build.node.name" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.vm.version" value="19.1-b02"/>
+<property name="java.class.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/lib/junit.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar:/opt-share/apache-ant-1.8.2/lib/ant-launcher.jar:/opt-share/apache-ant/lib/ant.jar:/opt-share/apache-ant/lib/ant-junit.jar:/opt-share/apache-ant/lib/ant-junit4.jar"/>
+<property name="DSTAMP" value="20110224"/>
+<property name="env.XCURSOR_THEME" value="default"/>
+<property name="isLinux" value="true"/>
+<property name="ant.library.dir" value="/opt-share/apache-ant/lib"/>
+<property name="test.junit.rel" value="com/jogamp"/>
+<property name="os.arch" value="amd64"/>
+<property name="gluegen.version" value="2.0-b296-20110224"/>
+<property name="sun.java.launcher" value="SUN_STANDARD"/>
+<property name="env.OPT_LINUX_X86_64_K10_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen"/>
+<property name="isLinuxAMD64" value="true"/>
+<property name="gluegen.cpptasks.detected.os.2" value="true"/>
+<property name="env.BUILD_ID" value="2011-02-24_01-15-17"/>
+<property name="ant.core.lib" value="/opt-share/apache-ant/lib/ant.jar"/>
+<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="TSTAMP" value="0116"/>
+<property name="generated.java.from.c.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/cgram"/>
+<property name="file.separator" value="/"/>
+<property name="ant.file.GlueGenTest" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GIT_BRANCH" value="master"/>
+<property name="java.runtime.version" value="1.6.0_24-b07"/>
+<property name="gluegen-cpptasks.file" value="../make/gluegen-cpptasks-base.xml"/>
+<property name="env.SSH_AUTH_SOCK" value="/tmp/ssh-uJYDYm1721/agent.1721"/>
+<property name="sun.boot.class.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/resources.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/rt.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/sunrsasign.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jsse.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jce.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/charsets.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/modules/jdk.boot.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/classes"/>
+<property name="env.XDM_MANAGED" value="method=classic,auto"/>
+<property name="ant.file.GlueGen-cpptasks-base" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.WORKSPACE" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd"/>
+<property name="user.country" value="US"/>
+<property name="env.ANT_HOME" value="/opt-share/apache-ant"/>
+<property name="env.EXECUTOR_NUMBER" value="0"/>
+<property name="ant.file.GlueGen" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build.xml"/>
+<property name="env.SHELL" value="/bin/bash"/>
+<property name="ant.file.type.jogamp-env" value="file"/>
+<property name="gluegen.build.id" value="2011-02-24_01-15-17"/>
+<property name="tools.jar" value="/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/tools.jar"/>
+<property name="gluegen-rt.classes" value="com/jogamp/gluegen/runtime/**"/>
+<property name="gluegen_base_version" value="2.0"/>
+<property name="java.vendor" value="Sun Microsystems Inc."/>
+<property name="src.generated.java" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java"/>
+<property name="ant.file.type.GlueGen" value="file"/>
+<property name="env.HUDSON_COOKIE" value="99941aa4-4d72-45d8-94e2-b835c6ce0249"/>
+<property name="java.specification.version" value="1.6"/>
+<property name="ant.file.type.GlueGenTest" value="file"/>
+<property name="sun.arch.data.model" value="64"/>
+</properties>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="dynamicTest" time="0.0070"/>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="dynamicConcurrentTest" time="0.019"/>
+<testcase classname="com.jogamp.common.nio.CachedBufferFactoryTest" name="staticTest" time="0.02"/>
+<system-out/>
+<system-err/>
+</testsute>
diff --git a/test/TEST-ok-01.xml b/test/TEST-ok-01.xml
index e69de29..8539a6b 100644
--- a/test/TEST-ok-01.xml
+++ b/test/TEST-ok-01.xml
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite errors="0" failures="0" hostname="jogamp02" name="com.jogamp.common.nio.BuffersTest" tests="1" time="0.078" timestamp="2011-02-24T00:16:46">
+<properties>
+<property name="env.DESKTOP_SESSION" value="kde"/>
+<property name="env.OLDPWD" value="/home/jogamp/jenkins"/>
+<property name="file.encoding.pkg" value="sun.io"/>
+<property name="ant.file.GlueGen-properties" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-properties.xml"/>
+<property name="j.grammar" value="../src/java/com/jogamp/gluegen/jgram"/>
+<property name="java.home" value="/opt-linux-x86_64/jdk1.6.0_24/jre"/>
+<property name="ant.file.jogamp-archivetasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-archivetasks.xml"/>
+<property name="env.DISPLAY" value=":0.0"/>
+<property name="gluegen-cpptasks.file.abs-path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.SCM_BRANCH" value="master"/>
+<property name="c.strip.libraries" value="true"/>
+<property name="env.XDG_SESSION_COOKIE" value="8b694e8e8d0618f9512d776b4c8be689-1298506376.992284-1690936385"/>
+<property name="java.endorsed.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/endorsed"/>
+<property name="env.LOGNAME" value="jogamp"/>
+<property name="env.GS_LIB" value="/home/jogamp/.fonts"/>
+<property name="env.HUDSON_HOME" value="/srv/jenkins/config"/>
+<property name="gluegen-test.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar"/>
+<property name="env.TEXINPUTS" value=":/usr/share/latex2html/texinputs"/>
+<property name="rootrel.build" value="build"/>
+<property name="gluegen.lib" value="../build/obj"/>
+<property name="env.KDE_SESSION_UID" value="1001"/>
+<property name="env.SESSION_MANAGER" value="local/jogamp02:@/tmp/.ICE-unix/2193,unix/jogamp02:/tmp/.ICE-unix/2193"/>
+<property name="sun.os.patch.level" value="unknown"/>
+<property name="java.vendor.url" value="http://java.sun.com/"/>
+<property name="env.NODE_NAME" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.version" value="1.6.0_24"/>
+<property name="version.timestamp" value="20110224"/>
+<property name="classes" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/classes"/>
+<property name="gluegen-rt.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-rt.jar"/>
+<property name="env.NODE_LABELS" value="linux-x86_64-amd linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.JENKINS_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
+<property name="ant.file.type.GlueGen-properties" value="file"/>
+<property name="ant.project.invoked-targets" value="junit.run"/>
+<property name="env.XDG_DATA_DIRS" value="/usr/share:/usr/share:/usr/local/share"/>
+<property name="build.archiveon" value="true"/>
+<property name="macosx64" value="true"/>
+<property name="user.name" value="jogamp"/>
+<property name="os.and.arch" value="linux-amd64"/>
+<property name="env.LANG" value="en_US.UTF-8"/>
+<property name="gluegen.cpptasks.detected.os" value="true"/>
+<property name="env.CVS_RSH" value="ssh"/>
+<property name="generated.java.from.j.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/jgram"/>
+<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+<property name="sun.jnu.encoding" value="UTF-8"/>
+<property name="env.DBUS_SESSION_BUS_ADDRESS" value="unix:abstract=/tmp/dbus-2YAMUrYaSn,guid=35c1b0ed0dfc8f03646cfad90000002c"/>
+<property name="build_t.java" value="../build/test/build/classes"/>
+<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+<property name="label" value="linux-x86_64-amd"/>
+<property name="java.specification.name" value="Java Platform API Specification"/>
+<property name="user.timezone" value=""/>
+<property name="env.ANT_PATH" value="/opt-share/apache-ant"/>
+<property name="stub.includes.dir" value="stub_includes"/>
+<property name="isUnix" value="true"/>
+<property name="path.separator" value=":"/>
+<property name="c.strip.args" value=""/>
+<property name="file.encoding" value="UTF-8"/>
+<property name="c.strip.tool" value="strip"/>
+<property name="ant.project.default-target" value="all"/>
+<property name="build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build"/>
+<property name="build_t.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.HOME" value="/home/jogamp"/>
+<property name="env.MANPATH" value="/opt-linux-x86_64-k10/share/man:/opt-linux-x86_64/share/man:/opt-linux-x86/man:/usr/man:/usr/share/man:"/>
+<property name="ant.file" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GTK_RC_FILES" value="/etc/gtk/gtkrc:/home/jogamp/.gtkrc::/home/jogamp/.kde/share/config/gtkrc"/>
+<property name="src.generated" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc"/>
+<property name="env.BUILD_TAG" value="hudson-label=linux-x86_64-amd-296"/>
+<property name="system.env.library.path" value="LD_LIBRARY_PATH"/>
+<property name="env._" value="/opt-linux-x86_64/j2se6/bin/java"/>
+<property name="make" value="."/>
+<property name="java.io.tmpdir" value="/tmp"/>
+<property name="TODAY" value="February 24 2011"/>
+<property name="user.language" value="en"/>
+<property name="line.separator" value="&#10;"/>
+<property name="ant.file.type.GlueGen-cpptasks-base" value="file"/>
+<property name="jogamp-archivetasks.basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="ant.file.type" value="file"/>
+<property name="env.SSH_AGENT_PID" value="1903"/>
+<property name="archive.name" value="gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="jogamp.common.classes" value="com/jogamp/common/**"/>
+<property name="ant.file.type.maven-common" value="file"/>
+<property name="env.JOB_NAME" value="gluegen/label=linux-x86_64-amd"/>
+<property name="java.vm.info" value="mixed mode"/>
+<property name="env.CCACHE_PREFIX" value="distcc"/>
+<property name="src.java" value="../src/java"/>
+<property name="build_t.gen.rootrel" value="build/test/build/gensrc"/>
+<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+<property name="env.BUILD_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/296/"/>
+<property name="isX11" value="true"/>
+<property name="macosx32" value="true"/>
+<property name="ant.file.type.jogamp-archivetasks" value="file"/>
+<property name="macosppc" value="false"/>
+<property name="ant.file.GlueGen-cpptasks" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks.xml"/>
+<property name="c.compiler.debug" value="false"/>
+<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
+<property name="build_t.gen" value="../build/test/build/gensrc"/>
+<property name="env.DM_CONTROL" value="/var/run/xdmctl"/>
+<property name="gluegen" value="../src/java/com/jogamp/gluegen"/>
+<property name="junit.jar" value="../make/lib/junit.jar"/>
+<property name="env.HUDSON_SERVER_COOKIE" value="7071b9bf9772cbbb6c07605b631f8e84"/>
+<property name="ant.version" value="Apache Ant(TM) version 1.8.2 compiled on December 20 2010"/>
+<property name="env.DESKTOP_STARTUP_ID" value="jogamp02;1298506415;603903;2193_TIME0"/>
+<property name="use.macosx64" value="true"/>
+<property name="test.base.dir" value="../src/junit"/>
+<property name="javadoc.root.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc"/>
+<property name="gluegen.build.commit" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="test.archive.name" value="gluegen-2.0-b296-20110224-linux-amd64-test-results-linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="env.BUILD_NUMBER" value="296"/>
+<property name="os.name" value="Linux"/>
+<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="test.junit.generation.dir" value="../src/junit/com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
+<property name="env.JOB_URL" value="https://jogamp.org/chuck/job/gluegen/./label=linux-x86_64-amd/"/>
+<property name="env.KDE_SESSION_VERSION" value="4"/>
+<property name="archive" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64"/>
+<property name="java.library.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/natives"/>
+<property name="env.PATH" value="/opt-linux-x86_64/j2se6/bin:/opt-linux-x86_64/jre6/bin:/opt-share/apache-ant/bin:/opt-linux-x86_64-k10/bin:/opt-linux-x86_64/bin:/opt-linux-x86_64/MozillaFirefox:/opt-linux-x86_64/jre6/bin:/opt-linux-x86_64/j2se6/bin:/opt-linux-x86/bin:/usr/local/scripts:/usr/local/scripts-common:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:"/>
+<property name="env.HUDSON_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.type.GlueGen-cpptasks" value="file"/>
+<property name="ant.java.version" value="1.6"/>
+<property name="env.JENKINS_URL" value="https://jogamp.org/chuck/"/>
+<property name="ant.file.jogamp-env" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/jogamp-env.xml"/>
+<property name="basedir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="java.class.version" value="50.0"/>
+<property name="env.SHLVL" value="1"/>
+<property name="antlr.jar" value="../make/lib/antlr.jar"/>
+<property name="env.LD_LIBRARY_PATH" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64/server:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64:/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/amd64"/>
+<property name="ant.home" value="/opt-share/apache-ant"/>
+<property name="gluegen.build.number" value="296"/>
+<property name="env.KDE_MULTIHEAD" value="false"/>
+<property name="batchtest.timeout" value="1800000"/>
+<property name="env.JENKINS_HOME" value="/srv/jenkins/config"/>
+<property name="build_t.lib" value="../build/test/build/natives"/>
+<property name="destfile.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen-2.0-b296-20110224-linux-amd64.7z"/>
+<property name="build_t.obj" value="../build/test/build/obj"/>
+<property name="sun.boot.library.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/amd64"/>
+<property name="sun.management.compiler" value="HotSpot 64-Bit Server Compiler"/>
+<property name="env.LIBGL_DRIVERS_PATH" value="/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri"/>
+<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
+<property name="env.USER" value="jogamp"/>
+<property name="env.GTK_MODULES" value="canberra-gtk-module"/>
+<property name="env.JRE_HOME" value="/opt-linux-x86_64/jre6"/>
+<property name="env.OPT_LINUX_X86_64_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.lib.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.QT_PLUGIN_PATH" value="/home/jogamp/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/"/>
+<property name="ant.project.name" value="GlueGenTest"/>
+<property name="gluegen.jnlp.codebase" value=""/>
+<property name="java.vm.specification.version" value="1.0"/>
+<property name="results" value="../build/test/results"/>
+<property name="gluegen.jar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar"/>
+<property name="env.NLSPATH" value="/usr/dt/lib/nls/msg/%L/%N.cat"/>
+<property name="sun.cpu.isalist" value=""/>
+<property name="c.grammar" value="../src/java/com/jogamp/gluegen/cgram"/>
+<property name="test.junit.generation.rel" value="com/jogamp/gluegen/test/junit/generation"/>
+<property name="java.ext.dirs" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/ext:/usr/java/packages/lib/ext"/>
+<property name="javadoc.gluegen.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/javadoc/gluegen/javadoc"/>
+<property name="os.version" value="2.6.32-25-preempt"/>
+<property name="javadoc.link" value="http://download.oracle.com/javase/1.5.0/docs/api/"/>
+<property name="user.home" value="/home/jogamp"/>
+<property name="ant.file.maven-common" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/maven-common.xml"/>
+<property name="use.macosx32" value="true"/>
+<property name="env.SCM_COMMIT" value="5cf4eeb334ac5390b0c681da0fb17db56a143395"/>
+<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
+<property name="env.KDE_FULL_SESSION" value="true"/>
+<property name="env.JAVA_HOME" value="/opt-linux-x86_64/j2se6"/>
+<property name="native.library.suffix" value="so"/>
+<property name="env.BUILD_ARCHIVE" value="true"/>
+<property name="gluegen.root" value=".."/>
+<property name="user.dir" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="gluegen.excludes" value="com/jogamp/gluegen/runtime/BufferFactoryInternal.java,com/jogamp/gluegen/nativesig/**"/>
+<property name="gluegen.lib.abs" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/obj"/>
+<property name="env.XFILESEARCHPATH" value="/usr/dt/app-defaults/%L/Dt"/>
+<property name="env.WINDOWPATH" value="7"/>
+<property name="gluegen.user.properties.file.set" value="/home/jogamp/gluegen.properties"/>
+<property name="gluegen.user.properties.file" value="/home/jogamp/gluegen.properties"/>
+<property name="project.root" value=".."/>
+<property name="env.PWD" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make"/>
+<property name="env.OPT_LINUX_X86_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="build_t" value="../build/test/build"/>
+<property name="test.dir" value="../build/test"/>
+<property name="sun.cpu.endian" value="little"/>
+<property name="env.GTK2_RC_FILES" value="/etc/gtk-2.0/gtkrc:/home/jogamp/.gtkrc-2.0:/home/jogamp/.gtkrc-2.0-kde4:/home/jogamp/.kde/share/config/gtkrc-2.0"/>
+<property name="gluegen.build.branch" value="master"/>
+<property name="build.node.name" value="linux64-AMD58xx-ubuntu10-jogamp-x64-sgothel-002"/>
+<property name="java.vm.version" value="19.1-b02"/>
+<property name="java.class.path" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/lib/junit.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gluegen.jar:/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/test/build/gluegen-test.jar:/opt-share/apache-ant-1.8.2/lib/ant-launcher.jar:/opt-share/apache-ant/lib/ant.jar:/opt-share/apache-ant/lib/ant-junit.jar:/opt-share/apache-ant/lib/ant-junit4.jar"/>
+<property name="DSTAMP" value="20110224"/>
+<property name="env.XCURSOR_THEME" value="default"/>
+<property name="isLinux" value="true"/>
+<property name="ant.library.dir" value="/opt-share/apache-ant/lib"/>
+<property name="test.junit.rel" value="com/jogamp"/>
+<property name="os.arch" value="amd64"/>
+<property name="gluegen.version" value="2.0-b296-20110224"/>
+<property name="sun.java.launcher" value="SUN_STANDARD"/>
+<property name="env.OPT_LINUX_X86_64_K10_ETC_PROFILE_LOCAL_READ" value="1"/>
+<property name="gluegen.build" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen"/>
+<property name="isLinuxAMD64" value="true"/>
+<property name="gluegen.cpptasks.detected.os.2" value="true"/>
+<property name="env.BUILD_ID" value="2011-02-24_01-15-17"/>
+<property name="ant.core.lib" value="/opt-share/apache-ant/lib/ant.jar"/>
+<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
+<property name="TSTAMP" value="0116"/>
+<property name="generated.java.from.c.grammar" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java/com/jogamp/gluegen/cgram"/>
+<property name="file.separator" value="/"/>
+<property name="ant.file.GlueGenTest" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build-test.xml"/>
+<property name="env.GIT_BRANCH" value="master"/>
+<property name="java.runtime.version" value="1.6.0_24-b07"/>
+<property name="gluegen-cpptasks.file" value="../make/gluegen-cpptasks-base.xml"/>
+<property name="env.SSH_AUTH_SOCK" value="/tmp/ssh-uJYDYm1721/agent.1721"/>
+<property name="sun.boot.class.path" value="/opt-linux-x86_64/jdk1.6.0_24/jre/lib/resources.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/rt.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/sunrsasign.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jsse.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/jce.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/charsets.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/lib/modules/jdk.boot.jar:/opt-linux-x86_64/jdk1.6.0_24/jre/classes"/>
+<property name="env.XDM_MANAGED" value="method=classic,auto"/>
+<property name="ant.file.GlueGen-cpptasks-base" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/gluegen-cpptasks-base.xml"/>
+<property name="env.WORKSPACE" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd"/>
+<property name="user.country" value="US"/>
+<property name="env.ANT_HOME" value="/opt-share/apache-ant"/>
+<property name="env.EXECUTOR_NUMBER" value="0"/>
+<property name="ant.file.GlueGen" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/make/build.xml"/>
+<property name="env.SHELL" value="/bin/bash"/>
+<property name="ant.file.type.jogamp-env" value="file"/>
+<property name="gluegen.build.id" value="2011-02-24_01-15-17"/>
+<property name="tools.jar" value="/opt-linux-x86_64/jdk1.6.0_24/jre/../lib/tools.jar"/>
+<property name="gluegen-rt.classes" value="com/jogamp/gluegen/runtime/**"/>
+<property name="gluegen_base_version" value="2.0"/>
+<property name="java.vendor" value="Sun Microsystems Inc."/>
+<property name="src.generated.java" value="/home/jogamp/JogAmpSlavex64/workspace/gluegen/label/linux-x86_64-amd/build/gensrc/java"/>
+<property name="ant.file.type.GlueGen" value="file"/>
+<property name="env.HUDSON_COOKIE" value="99941aa4-4d72-45d8-94e2-b835c6ce0249"/>
+<property name="java.specification.version" value="1.6"/>
+<property name="ant.file.type.GlueGenTest" value="file"/>
+<property name="sun.arch.data.model" value="64"/>
+</properties>
+<testcase classname="com.jogamp.common.nio.BuffersTest" name="slice" time="0.0050"/>
+<system-out/>
+<system-err/>
+</testsuite>