Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 759982 Details for
Bug 829772
dev-java/javacc-5.0-r3::gentoo failed (compile phase) with openjdk-17
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
build.log (text/plain), 226.94 KB, created by
Volkmar W. Pogatzki
on 2021-12-21 14:16:39 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Volkmar W. Pogatzki
Created:
2021-12-21 14:16:39 UTC
Size:
226.94 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-java/javacc-5.0-r3 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: java@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > [32m*[0m Using: openjdk-17 >>>> Unpacking source... >>>> Unpacking javacc-5.0src.tar.gz to /var/tmp/portage/dev-java/javacc-5.0-r3/work >>>> Source unpacked in /var/tmp/portage/dev-java/javacc-5.0-r3/work >>>> Preparing source in /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc ... > [32m*[0m Applying javacc-4.0-javadoc.patch ... >patching file build.xml >Hunk #1 succeeded at 137 with fuzz 2 (offset -13 lines). >[A[148C [34;01m[ [32;01mok[34;01m ][0m >removed 'lib/junit3.8.1/junit.jar' >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc ... >Rewriting attributes >Rewriting ./build.xml >Rewriting ./src/org/javacc/jjdoc/build.xml >Rewriting ./src/org/javacc/parser/build.xml >Rewriting ./src/org/javacc/jjtree/build.xml >Rewriting ./examples/JavaGrammars/1.5/build.xml >Rewriting ./examples/JJTreeExamples/build.xml >Rewriting ./test/build.xml >Rewriting ./test/javaFileGeneration/build.xml >Rewriting ./test/exceptions/build.xml >Rewriting ./test/javaFiles/build.xml >Rewriting ./test/imports/build.xml >Rewriting ./test/javacodeLA/build.xml >Rewriting ./test/lineNumbers/build.xml >Rewriting ./test/newToken/build.xml >Rewriting ./test/lom/build.xml >--- ./build.xml.orig 2021-12-21 15:11:44.771677718 +0100 >+++ ./build.xml 2021-12-21 15:11:44.973673785 +0100 >@@ -1,545 +1,478 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="javacc" default="jar" basedir="." > > >-<!-- >+ <property file="version.properties" ></property> >+ <property name="version" value="${version.major}.${version.minor}" ></property> > >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >+ <target name="compile" depends="generated-files,resources,classes,javacc-compile,jjtree-compile,jjdoc-compile" ></target> > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="javacc" default="jar" basedir="."> >- >- <property file="version.properties" /> >- <property name="version" value="${version.major}.${version.minor}" /> >- >- <target name="compile" depends="generated-files,resources,classes,javacc-compile,jjtree-compile,jjdoc-compile" /> >- >- <target name="generated-files"> >- <ant antfile="build.xml" target="parser-files" dir="src/org/javacc/parser" /> >- <ant antfile="build.xml" target="tree-files" dir="src/org/javacc/jjtree" /> >+ <target name="generated-files" > >+ <ant antfile="build.xml" target="parser-files" dir="src/org/javacc/parser" ></ant> >+ <ant antfile="build.xml" target="tree-files" dir="src/org/javacc/jjtree" ></ant> > </target> > >- <target name="classes"> >- <mkdir dir="classes"/> >+ <target name="classes" > >+ <mkdir dir="classes" ></mkdir> > </target> > >- <target name="resources"> >- <copy todir="classes/templates"> >- <fileset dir="templates" /> >+ <target name="resources" > >+ <copy todir="classes/templates" > >+ <fileset dir="templates" ></fileset> > </copy> > </target> > >- <target name="javacc-compile"> >- <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/parser" /> >- <copy file="version.properties" todir="classes" /> >+ <target name="javacc-compile" > >+ <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/parser" ></ant> >+ <copy file="version.properties" todir="classes" ></copy> > </target> > >- <target name="jjdoc-compile"> >- <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/jjdoc" /> >+ <target name="jjdoc-compile" > >+ <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/jjdoc" ></ant> > </target> > >- <target name="jjtree-compile"> >- <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/jjtree" /> >+ <target name="jjtree-compile" > >+ <ant antfile="build.xml" target="compile-nojar" dir="src/org/javacc/jjtree" ></ant> > </target> > >- <target name="jar" depends="compile" description="Create bin/lib/javacc.jar"> >- <antcall target="jar-nocompile" /> >+ <target name="jar" depends="compile" description="Create bin/lib/javacc.jar" > >+ <antcall target="jar-nocompile" ></antcall> > </target> > >- <!-- Be careful not to include the test files in the distribution. --> >- <target name="jar-nocompile" depends="jar-check" unless="jar.uptodate"> >- <mkdir dir="bin/lib" /> >- <jar jarfile="bin/lib/javacc.jar" basedir="classes" compress="true" excludes="**/*Test.class" /> >+ >+ <target name="jar-nocompile" depends="jar-check" unless="jar.uptodate" > >+ <mkdir dir="bin/lib" ></mkdir> >+ <jar jarfile="bin/lib/javacc.jar" basedir="classes" compress="true" excludes="**/*Test.class" ></jar> > </target> > >- <target name="jar-check"> >- <uptodate property="jar.uptodate" targetfile="bin/lib/javacc.jar"> >- <srcfiles dir="classes" /> >+ <target name="jar-check" > >+ <uptodate property="jar.uptodate" targetfile="bin/lib/javacc.jar" > >+ <srcfiles dir="classes" ></srcfiles> > </uptodate> > </target> > >- <target name="update-bootstrap" depends="jar" description="Copy an updated bin/lib/javacc.jar into the bootstrap directory"> >- <copy todir="bootstrap"> >- <fileset dir="bin/lib"> >- <include name="javacc.jar" /> >+ <target name="update-bootstrap" depends="jar" description="Copy an updated bin/lib/javacc.jar into the bootstrap directory" > >+ <copy todir="bootstrap" > >+ <fileset dir="bin/lib" > >+ <include name="javacc.jar" ></include> > </fileset> > </copy> > </target> > >- <target name="clean"> >- <ant antfile="build.xml" target="clean" dir="src/org/javacc/parser" /> >- <ant antfile="build.xml" target="clean" dir="src/org/javacc/jjtree" /> >+ <target name="clean" > >+ <ant antfile="build.xml" target="clean" dir="src/org/javacc/parser" ></ant> >+ <ant antfile="build.xml" target="clean" dir="src/org/javacc/jjtree" ></ant> > >- <delete dir="classes" /> >- <delete dir="bin/lib" /> >- <delete dir="test.tmp" /> >- <ant antfile="build.xml" target="clean" dir="test" /> >- <delete file="javacc-${version}.*" /> >+ <delete dir="classes" ></delete> >+ <delete dir="bin/lib" ></delete> >+ <delete dir="test.tmp" ></delete> >+ <ant antfile="build.xml" target="clean" dir="test" ></ant> >+ <delete file="javacc-${version}.*" ></delete> > </target> > >- <target name="realclean" depends="clean"> >- <!-- No longer used - realclean and clean are synonymous. Target kept for compability --> >+ <target name="realclean" depends="clean" > >+ > </target> > >- <condition property="isUnix"> >- <os family="unix"/> >+ <condition property="isUnix" > >+ <os family="unix" ></os> > </condition> >- <target name="osCheck" unless="isUnix"> >- <echo message="Binary Distribution is only buildable on Unix systems." /> >+ <target name="osCheck" unless="isUnix" > >+ <echo message="Binary Distribution is only buildable on Unix systems." ></echo> > </target> >- <target name="binary-distribution" depends="realclean,jar,test,osCheck" if="isUnix"> >- <property name="install-name" value="javacc-${version}" /> >- <exec executable="./makedist" dir="."> >- <arg line="${version}" /> >+ <target name="binary-distribution" depends="realclean,jar,test,osCheck" if="isUnix" > >+ <property name="install-name" value="javacc-${version}" ></property> >+ <exec executable="./makedist" dir="." > >+ <arg line="${version}" ></arg> > </exec> > </target> > >- <target name="unittest" depends="compile" description="run JUnit unit test cases"> >- <delete dir="test.tmp" /> >- <mkdir dir="test.tmp" /> >- >- <junit printsummary="yes" haltonfailure="yes"> >- <classpath> >- <pathelement path="classes" /> >- <pathelement path="lib/junit3.8.1/junit.jar"/> >+ <target name="unittest" depends="compile" description="run JUnit unit test cases" > >+ <delete dir="test.tmp" ></delete> >+ <mkdir dir="test.tmp" ></mkdir> >+ >+ <junit printsummary="yes" haltonfailure="yes" > >+ <classpath > >+ <pathelement path="classes" ></pathelement> >+ <pathelement path="lib/junit3.8.1/junit.jar" ></pathelement> > </classpath> >- <batchtest fork="no" todir="."> >- <fileset dir="classes"> >- <include name="**/*Test.*" /> >+ <batchtest fork="no" todir="." > >+ <fileset dir="classes" > >+ <include name="**/*Test.*" ></include> > </fileset> > </batchtest> >- </junit> >+ <classpath path="${gentoo.classpath}" ></classpath></junit> >+ > >- <!-- Should sort this out properly, in the test. But for now... --> >- <delete file="JavaCCParserTokenManager.java" /> >+ <delete file="JavaCCParserTokenManager.java" ></delete> > </target> >- <target name="javadoc" depends="compile"> >- <javadoc destdir="doc/api" source="1.4"> >- <packageset dir="src"/> >+ <target name="javadoc" depends="compile" > >+ <javadoc destdir="doc/api" source="1.6" classpath="${gentoo.classpath}" > >+ <packageset dir="src" ></packageset> > </javadoc> > </target> > >- <target name="test" depends="realclean,jar,unittest" description="run functional test cases"> >+ <target name="test" depends="realclean,jar,unittest" description="run functional test cases" > > >- <delete dir="test.tmp" /> >- <mkdir dir="test.tmp" /> >+ <delete dir="test.tmp" ></delete> >+ <mkdir dir="test.tmp" ></mkdir> > >- <echo /> >+ <echo ></echo> > >- <ant antfile="build.xml" target="test" dir="test" /> >+ <ant antfile="build.xml" target="test" dir="test" ></ant> > >- <echo /> >+ <echo ></echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/CORBA-IDL examples/CORBA-IDL/IDL.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/CORBA-IDL examples/CORBA-IDL/IDL.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/CORBA-IDL" /> >+ <javac srcdir="test.tmp/CORBA-IDL" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <copy todir="test.tmp/CORBA-IDL/"> >- <fileset dir="examples/CORBA-IDL"> >- <include name="*.idl" /> >+ <copy todir="test.tmp/CORBA-IDL/" > >+ <fileset dir="examples/CORBA-IDL" > >+ <include name="*.idl" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="IDLParser" classpath="test.tmp/CORBA-IDL/" outputproperty="test.corba.out"> >- <arg line="test.tmp/CORBA-IDL/Hello.idl" /> >+ <java failonerror="true" fork="true" classname="IDLParser" classpath="test.tmp/CORBA-IDL/" outputproperty="test.corba.out" > >+ <arg line="test.tmp/CORBA-IDL/Hello.idl" ></arg> > </java> > >- <echo>${test.corba.out}</echo> >+ <echo >${test.corba.out}</echo> > >- <fail message="CORBA failed"> >- <condition> >- <not> >- <contains string="${test.corba.out}" substring="IDL file parsed successfully" /> >+ <fail message="CORBA failed" > >+ <condition > >+ <not > >+ <contains string="${test.corba.out}" substring="IDL file parsed successfully" ></contains> > </not> > </condition> > </fail> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/GUIParsing/ParserVersion"> >- <fileset dir="examples/GUIParsing/ParserVersion"> >- <include name="*.java" /> >+ <copy todir="test.tmp/GUIParsing/ParserVersion" > >+ <fileset dir="examples/GUIParsing/ParserVersion" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/GUIParsing/ParserVersion examples/GUIParsing/ParserVersion/CalcInput.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/GUIParsing/ParserVersion examples/GUIParsing/ParserVersion/CalcInput.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/GUIParsing/ParserVersion" /> >+ <javac srcdir="test.tmp/GUIParsing/ParserVersion" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/GUIParsing/TokenMgrVersion"> >- <fileset dir="examples/GUIParsing/TokenMgrVersion"> >- <include name="*.java" /> >+ <copy todir="test.tmp/GUIParsing/TokenMgrVersion" > >+ <fileset dir="examples/GUIParsing/TokenMgrVersion" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/GUIParsing/TokenMgrVersion examples/GUIParsing/TokenMgrVersion/CalcInput.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/GUIParsing/TokenMgrVersion examples/GUIParsing/TokenMgrVersion/CalcInput.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/GUIParsing/TokenMgrVersion" /> >+ <javac srcdir="test.tmp/GUIParsing/TokenMgrVersion" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/Interpreter"> >- <fileset dir="examples/Interpreter"> >- <include name="*.java" /> >+ <copy todir="test.tmp/Interpreter" > >+ <fileset dir="examples/Interpreter" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Interpreter examples/Interpreter/SPL.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Interpreter examples/Interpreter/SPL.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Interpreter test.tmp/Interpreter/SPL.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Interpreter test.tmp/Interpreter/SPL.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/Interpreter" /> >+ <javac srcdir="test.tmp/Interpreter" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <copy todir="test.tmp/Interpreter/"> >- <fileset dir="examples/Interpreter/"> >- <include name="*.spl" /> >+ <copy todir="test.tmp/Interpreter/" > >+ <fileset dir="examples/Interpreter/" > >+ <include name="*.spl" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" >- classname="SPL" >- classpath="test.tmp/Interpreter/" >- inputstring="3" >- outputproperty="spl.out1" >- > >- <arg line="test.tmp/Interpreter/fact.spl" /> >+ <java failonerror="true" fork="true" classname="SPL" classpath="test.tmp/Interpreter/" inputstring="3" outputproperty="spl.out1" > >+ <arg line="test.tmp/Interpreter/fact.spl" ></arg> > </java> >- <echo>${spl.out1}</echo> >- <fail message="SPL fact parse failed"> >- <condition> >- <not> >- <contains string="${spl.out1}" substring="Value of fact : 6" /> >+ <echo >${spl.out1}</echo> >+ <fail message="SPL fact parse failed" > >+ <condition > >+ <not > >+ <contains string="${spl.out1}" substring="Value of fact : 6" ></contains> > </not> > </condition> > </fail> >- <java failonerror="true" fork="true" >- classname="SPL" >- classpath="test.tmp/Interpreter/" >- inputstring="3" >- outputproperty="spl.out2" >- > >- <arg line="test.tmp/Interpreter/odd.spl" /> >- </java> >- <echo>${spl.out2}</echo> >- <fail message="SPL odd parse failed"> >- <condition> >- <not> >- <contains string="${spl.out2}" substring="Value of odd : true" /> >+ <java failonerror="true" fork="true" classname="SPL" classpath="test.tmp/Interpreter/" inputstring="3" outputproperty="spl.out2" > >+ <arg line="test.tmp/Interpreter/odd.spl" ></arg> >+ </java> >+ <echo >${spl.out2}</echo> >+ <fail message="SPL odd parse failed" > >+ <condition > >+ <not > >+ <contains string="${spl.out2}" substring="Value of odd : true" ></contains> > </not> > </condition> > </fail> >- <java failonerror="true" fork="true" >- classname="SPL" >- classpath="test.tmp/Interpreter/" >- inputstring="9" >- outputproperty="spl.out3" >- > >- <arg line="test.tmp/Interpreter/sqrt.spl" /> >- </java> >- <echo>${spl.out3}</echo> >- <fail message="SPL sqrt parse failed"> >- <condition> >- <not> >- <contains string="${spl.out3}" substring="Value of sqrt : 3" /> >+ <java failonerror="true" fork="true" classname="SPL" classpath="test.tmp/Interpreter/" inputstring="9" outputproperty="spl.out3" > >+ <arg line="test.tmp/Interpreter/sqrt.spl" ></arg> >+ </java> >+ <echo >${spl.out3}</echo> >+ <fail message="SPL sqrt parse failed" > >+ <condition > >+ <not > >+ <contains string="${spl.out3}" substring="Value of sqrt : 3" ></contains> > </not> > </condition> > </fail> > >- <echo /> >+ <echo ></echo> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg1 examples/JJTreeExamples/eg1.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg1 examples/JJTreeExamples/eg1.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg1 test.tmp/JJTreeExamples.eg1/eg1.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg1 test.tmp/JJTreeExamples.eg1/eg1.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/JJTreeExamples.eg1" /> >+ <javac srcdir="test.tmp/JJTreeExamples.eg1" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <java failonerror="true" fork="true" >- classname="Eg1" >- classpath="test.tmp/JJTreeExamples.eg1/" >- inputstring="(a + b) * (c + 1);" >- outputproperty="jjtree.eg1.out" >- > >+ <java failonerror="true" fork="true" classname="Eg1" classpath="test.tmp/JJTreeExamples.eg1/" inputstring="(a + b) * (c + 1);" outputproperty="jjtree.eg1.out" > > </java> >- <echo>${jjtree.eg1.out}</echo> >- <fail message="JJTree eg1 parse failed"> >- <condition> >- <not> >- <contains string="${jjtree.eg1.out}" substring="Thank you." /> >+ <echo >${jjtree.eg1.out}</echo> >+ <fail message="JJTree eg1 parse failed" > >+ <condition > >+ <not > >+ <contains string="${jjtree.eg1.out}" substring="Thank you." ></contains> > </not> > </condition> > </fail> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/JJTreeExamples.eg2"> >- <fileset dir="examples/JJTreeExamples"> >- <include name="*.java" /> >- <exclude name="Eg4DumpVisitor.java" /> >- <exclude name="ASTMyOtherID.java" /> >+ <copy todir="test.tmp/JJTreeExamples.eg2" > >+ <fileset dir="examples/JJTreeExamples" > >+ <include name="*.java" ></include> >+ <exclude name="Eg4DumpVisitor.java" ></exclude> >+ <exclude name="ASTMyOtherID.java" ></exclude> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg2 examples/JJTreeExamples/eg2.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg2 examples/JJTreeExamples/eg2.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg2 test.tmp/JJTreeExamples.eg2/eg2.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg2 test.tmp/JJTreeExamples.eg2/eg2.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/JJTreeExamples.eg2" /> >+ <javac srcdir="test.tmp/JJTreeExamples.eg2" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <java failonerror="true" fork="true" >- classname="Eg2" >- classpath="test.tmp/JJTreeExamples.eg2/" >- inputstring="(a + b) * (c + 1);" >- outputproperty="jjtree.eg2.out" >- > >+ <java failonerror="true" fork="true" classname="Eg2" classpath="test.tmp/JJTreeExamples.eg2/" inputstring="(a + b) * (c + 1);" outputproperty="jjtree.eg2.out" > > </java> >- <echo>${jjtree.eg2.out}</echo> >- <fail message="JJTree eg2 parse failed"> >- <condition> >- <not> >- <contains string="${jjtree.eg2.out}" substring="Thank you." /> >+ <echo >${jjtree.eg2.out}</echo> >+ <fail message="JJTree eg2 parse failed" > >+ <condition > >+ <not > >+ <contains string="${jjtree.eg2.out}" substring="Thank you." ></contains> > </not> > </condition> > </fail> >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/JJTreeExamples.eg3"> >- <fileset dir="examples/JJTreeExamples"> >- <include name="*.java" /> >- <exclude name="Eg4DumpVisitor.java" /> >- <exclude name="ASTMyOtherID.java" /> >+ <copy todir="test.tmp/JJTreeExamples.eg3" > >+ <fileset dir="examples/JJTreeExamples" > >+ <include name="*.java" ></include> >+ <exclude name="Eg4DumpVisitor.java" ></exclude> >+ <exclude name="ASTMyOtherID.java" ></exclude> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg3 examples/JJTreeExamples/eg3.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg3 examples/JJTreeExamples/eg3.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg3 test.tmp/JJTreeExamples.eg3/eg3.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg3 test.tmp/JJTreeExamples.eg3/eg3.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/JJTreeExamples.eg3" /> >+ <javac srcdir="test.tmp/JJTreeExamples.eg3" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <java failonerror="true" fork="true" >- classname="Eg3" >- classpath="test.tmp/JJTreeExamples.eg3/" >- inputstring="(a + b) * (c + 1);" >- outputproperty="jjtree.eg3.out" >- > >+ <java failonerror="true" fork="true" classname="Eg3" classpath="test.tmp/JJTreeExamples.eg3/" inputstring="(a + b) * (c + 1);" outputproperty="jjtree.eg3.out" > > </java> >- <echo>${jjtree.eg3.out}</echo> >- <fail message="JJTree eg3 parse failed"> >- <condition> >- <not> >- <contains string="${jjtree.eg3.out}" substring="Thank you." /> >+ <echo >${jjtree.eg3.out}</echo> >+ <fail message="JJTree eg3 parse failed" > >+ <condition > >+ <not > >+ <contains string="${jjtree.eg3.out}" substring="Thank you." ></contains> > </not> > </condition> > </fail> > > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/JJTreeExamples.eg4"> >- <fileset dir="examples/JJTreeExamples"> >- <include name="*.java" /> >+ <copy todir="test.tmp/JJTreeExamples.eg4" > >+ <fileset dir="examples/JJTreeExamples" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg4 examples/JJTreeExamples/eg4.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg4 examples/JJTreeExamples/eg4.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg4 test.tmp/JJTreeExamples.eg4/eg4.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JJTreeExamples.eg4 test.tmp/JJTreeExamples.eg4/eg4.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/JJTreeExamples.eg4" debug="true" /> >+ <javac srcdir="test.tmp/JJTreeExamples.eg4" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <java failonerror="true" fork="true" >- classname="Eg4" >- classpath="test.tmp/JJTreeExamples.eg4/" >- inputstring="(a + b) * (c + 1);" >- outputproperty="jjtree.eg4.out" >- > >+ <java failonerror="true" fork="true" classname="Eg4" classpath="test.tmp/JJTreeExamples.eg4/" inputstring="(a + b) * (c + 1);" outputproperty="jjtree.eg4.out" > > </java> >- <echo>${jjtree.eg4.out}</echo> >- <fail message="JJTree eg4 parse failed"> >- <condition> >- <not> >- <contains string="${jjtree.eg4.out}" substring="Thank you." /> >+ <echo >${jjtree.eg4.out}</echo> >+ <fail message="JJTree eg4 parse failed" > >+ <condition > >+ <not > >+ <contains string="${jjtree.eg4.out}" substring="Thank you." ></contains> > </not> > </condition> > </fail> > >- <echo /> >+ <echo ></echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/JavaCCGrammar examples/JavaCCGrammar/JavaCC.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/JavaCCGrammar examples/JavaCCGrammar/JavaCC.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/JavaCCGrammar" /> >+ <javac srcdir="test.tmp/JavaCCGrammar" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <echo /> >+ <echo ></echo> > >- <ant antfile="build.xml" target="compile-and-test" dir="examples/JavaGrammars/1.5" /> >- <ant antfile="build.xml" target="clean" dir="examples/JavaGrammars/1.5" /> >+ <ant antfile="build.xml" target="compile-and-test" dir="examples/JavaGrammars/1.5" ></ant> >+ <ant antfile="build.xml" target="clean" dir="examples/JavaGrammars/1.5" ></ant> > >- <echo /> >+ <echo ></echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg1 examples/Lookahead/Example1.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg1 examples/Lookahead/Example1.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg2 examples/Lookahead/Example2.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg2 examples/Lookahead/Example2.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg3 examples/Lookahead/Example3.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg3 examples/Lookahead/Example3.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg4 examples/Lookahead/Example4.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg4 examples/Lookahead/Example4.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg5 examples/Lookahead/Example5.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg5 examples/Lookahead/Example5.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg6 examples/Lookahead/Example6.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg6 examples/Lookahead/Example6.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg7 examples/Lookahead/Example7.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg7 examples/Lookahead/Example7.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg8 examples/Lookahead/Example8.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg8 examples/Lookahead/Example8.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg9 examples/Lookahead/Example9.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg9 examples/Lookahead/Example9.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg10 examples/Lookahead/Example10.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Lookahead.eg10 examples/Lookahead/Example10.jj" ></arg> > </java> > >- <echo /> >+ <echo ></echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/MailProcessing examples/MailProcessing/Digest.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/MailProcessing examples/MailProcessing/Digest.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/MailProcessing examples/MailProcessing/Faq.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/MailProcessing examples/MailProcessing/Faq.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/MailProcessing" /> >+ <javac srcdir="test.tmp/MailProcessing" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/Obfuscator"> >- <fileset dir="examples/Obfuscator"> >- <include name="*.java" /> >+ <copy todir="test.tmp/Obfuscator" > >+ <fileset dir="examples/Obfuscator" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/Java1.1.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/Java1.1.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/IdsFile.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/IdsFile.jj" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/MapFile.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Obfuscator examples/Obfuscator/MapFile.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/Obfuscator" /> >+ <javac srcdir="test.tmp/Obfuscator" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> >+ > >- <!-- TODO, test cases for SimpleExamples --> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/Transformer"> >- <fileset dir="examples/Transformer"> >- <include name="*.java" /> >+ <copy todir="test.tmp/Transformer" > >+ <fileset dir="examples/Transformer" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Transformer examples/Transformer/ToyJava.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Transformer examples/Transformer/ToyJava.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/Transformer test.tmp/Transformer/ToyJava.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/Transformer test.tmp/Transformer/ToyJava.jj" ></arg> > </java> > >- <javac srcdir="test.tmp/Transformer" /> >+ <javac srcdir="test.tmp/Transformer" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > >- <echo /> >+ <echo ></echo> > >- <copy todir="test.tmp/VTransformer"> >- <fileset dir="examples/VTransformer"> >- <include name="*.java" /> >+ <copy todir="test.tmp/VTransformer" > >+ <fileset dir="examples/VTransformer" > >+ <include name="*.java" ></include> > </fileset> > </copy> > >- <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/VTransformer examples/VTransformer/Java1.1.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/VTransformer examples/VTransformer/Java1.1.jjt" ></arg> > </java> > >- <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar"> >- <arg line="-OUTPUT_DIRECTORY=test.tmp/VTransformer test.tmp/VTransformer/Java1.1.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="bin/lib/javacc.jar" > >+ <arg line="-OUTPUT_DIRECTORY=test.tmp/VTransformer test.tmp/VTransformer/Java1.1.jj" ></arg> > </java> >- <javac srcdir="test.tmp/VTransformer" /> >+ <javac srcdir="test.tmp/VTransformer" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> > > </target> > >--- ./src/org/javacc/jjdoc/build.xml.orig 2021-12-21 15:11:44.776677621 +0100 >+++ ./src/org/javacc/jjdoc/build.xml 2021-12-21 15:11:44.974673766 +0100 >@@ -1,54 +1,16 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >- >-<!-- >- >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="jjdoc-compile" default="compile" basedir="."> >- <property name="javacc.root" >- value="../../../.."> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="jjdoc-compile" default="compile" basedir="." > >+ <property name="javacc.root" value="../../../.." > > </property> > >- <target name="compile" depends="compile-nojar"> >- <ant antfile="build.xml" target="jar-nocompile" >- dir="${javacc.root}"> >+ <target name="compile" depends="compile-nojar" > >+ <ant antfile="build.xml" target="jar-nocompile" dir="${javacc.root}" > > </ant> > </target> > >- <target name="compile-nojar"> >- <javac srcdir="${javacc.root}/src" >- destdir="${javacc.root}/classes" >- debug="${build.compiler.debug}" >- source="1.4" >- classpath="${javacc.root}/classes"> >- </javac> >+ <target name="compile-nojar" > >+ <javac srcdir="${javacc.root}/src" destdir="${javacc.root}/classes" debug="${build.compiler.debug}" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> > </target> > > </project> >--- ./src/org/javacc/parser/build.xml.orig 2021-12-21 15:11:44.782677504 +0100 >+++ ./src/org/javacc/parser/build.xml 2021-12-21 15:11:44.976673727 +0100 >@@ -1,93 +1,49 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >- >-<!-- >- >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="javacc-compile" default="compile" basedir="."> >- <property name="javacc.root" >- value="../../../.."> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="javacc-compile" default="compile" basedir="." > >+ <property name="javacc.root" value="../../../.." > > </property> >- <property name="bootstrap.javacc.mainclass" >- value="org.javacc.parser.Main"> >+ <property name="bootstrap.javacc.mainclass" value="org.javacc.parser.Main" > > </property> >- <property name="junit.jar" >- value="${javacc.root}/lib/junit3.8.1/junit.jar"> >+ <property name="junit.jar" value="${javacc.root}/lib/junit3.8.1/junit.jar" > > </property> > >- <target name="compile" depends="compile-nojar"> >- <ant antfile="build.xml" target="jar-nocompile" >- dir="${javacc.root}"> >+ <target name="compile" depends="compile-nojar" > >+ <ant antfile="build.xml" target="jar-nocompile" dir="${javacc.root}" > > </ant> > </target> > >- <target name="compile-nojar" depends="generated-files"> >- <javac srcdir="${javacc.root}/src" >- destdir="${javacc.root}/classes" >- debug="${build.compiler.debug}" >- source="1.4" >- classpath="${javacc.root}/classes:${junit.jar}"> >- </javac> >- </target> >- >- <target name="clean"> >- <delete> >- <fileset dir="."> >- <include name="JavaCCParser.java"/> >- <include name="JavaCCParserTokenManager.java"/> >- <include name="JavaCCParserConstants.java"/> >- <include name="*CharStream*.java"/> >- <include name="TokenMgrError.java"/> >- <include name="ParseException.java"/> >+ <target name="compile-nojar" depends="generated-files" > >+ <javac srcdir="${javacc.root}/src" destdir="${javacc.root}/classes" debug="${build.compiler.debug}" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ </target> >+ >+ <target name="clean" > >+ <delete > >+ <fileset dir="." > >+ <include name="JavaCCParser.java" ></include> >+ <include name="JavaCCParserTokenManager.java" ></include> >+ <include name="JavaCCParserConstants.java" ></include> >+ <include name="*CharStream*.java" ></include> >+ <include name="TokenMgrError.java" ></include> >+ <include name="ParseException.java" ></include> > </fileset> > </delete> > </target> > >- <target name="generated-files"> >- <ant antfile="build.xml" target="generated-files" >- dir="${javacc.root}"> >+ <target name="generated-files" > >+ <ant antfile="build.xml" target="generated-files" dir="${javacc.root}" > > </ant> > </target> > >- <target name="parser-files-init"> >- <uptodate property="parser.gen" >- targetfile="JavaCC.jj"> >- <srcfiles dir="." includes="JavaCCParser.java"/> >+ <target name="parser-files-init" > >+ <uptodate property="parser.gen" targetfile="JavaCC.jj" > >+ <srcfiles dir="." includes="JavaCCParser.java" ></srcfiles> > </uptodate> > </target> > >- <target name="parser-files" depends="parser-files-init" if="parser.gen"> >- <java classname="${bootstrap.javacc.mainclass}" >- classpath="${javacc.root}/bootstrap/javacc.jar" >- fork="true"> >- <arg file="JavaCC.jj"/> >+ <target name="parser-files" depends="parser-files-init" if="parser.gen" > >+ <java classname="${bootstrap.javacc.mainclass}" classpath="${javacc.root}/bootstrap/javacc.jar" fork="true" > >+ <arg file="JavaCC.jj" ></arg> > </java> > </target> > >--- ./src/org/javacc/jjtree/build.xml.orig 2021-12-21 15:11:44.788677387 +0100 >+++ ./src/org/javacc/jjtree/build.xml 2021-12-21 15:11:44.979673668 +0100 >@@ -1,133 +1,87 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >-<!-- >- >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >- >-<project name="javacc-compile" default="compile" basedir="."> >- <property name="javacc.root" >- value="../../../.."> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="javacc-compile" default="compile" basedir="." > >+ <property name="javacc.root" value="../../../.." > > </property> > >- <property name="bootstrap.jjtree.mainclass" >- value="org.javacc.jjtree.Main"> >+ <property name="bootstrap.jjtree.mainclass" value="org.javacc.jjtree.Main" > > </property> > >- <property name="bootstrap.javacc.mainclass" >- value="org.javacc.parser.Main"> >+ <property name="bootstrap.javacc.mainclass" value="org.javacc.parser.Main" > > </property> > >- <target name="compile" depends="compile-nojar"> >- <ant antfile="build.xml" target="jar-nocompile" >- dir="${javacc.root}"> >+ <target name="compile" depends="compile-nojar" > >+ <ant antfile="build.xml" target="jar-nocompile" dir="${javacc.root}" > > </ant> > </target> > >- <target name="compile-nojar" depends="generated-files"> >- <javac srcdir="${javacc.root}/src" >- destdir="${javacc.root}/classes" >- debug="${build.compiler.debug}" >- source="1.4" >- classpath="${javacc.root}/classes"> >- </javac> >- </target> >- >- <target name="clean"> >- <delete> >- <fileset dir="."> >- <include name="JJTreeParser.java"/> >- <include name="JJTreeParserConstants.java"/> >- <include name="JJTreeParserTokenManager.java"/> >- <include name="*CharStream*.java"/> >- <include name="TokenMgrError.java"/> >- <include name="ParseException.java"/> >- <include name="Node.java"/> >- <include name="SimpleNode.java"/> >- <include name="ASTProductions.java"/> >- <include name="ASTRE.java"/> >- <include name="ASTTokenDecls.java"/> >- <include name="ASTRESpec.java"/> >- <include name="ASTBNFChoice.java"/> >- <include name="ASTBNFSequence.java"/> >- <include name="ASTBNFLookahead.java"/> >- <include name="ASTBNFZeroOrOne.java"/> >- <include name="ASTBNFTryBlock.java"/> >- <include name="ASTBNFAssignment.java"/> >- <include name="ASTBNFNonTerminal.java"/> >- <include name="ASTBNFOneOrMore.java"/> >- <include name="ASTBNFZeroOrMore.java"/> >- <include name="ASTBNFParenthesized.java"/> >- <include name="ASTREStringLiteral.java"/> >- <include name="ASTRENamed.java"/> >- <include name="ASTREReference.java"/> >- <include name="ASTREEOF.java"/> >- <include name="ASTREChoice.java"/> >- <include name="ASTRESequence.java"/> >- <include name="ASTREOneOrMore.java"/> >- <include name="ASTREZeroOrMore.java"/> >- <include name="ASTREZeroOrOne.java"/> >- <include name="ASTREParenthesized.java"/> >- <include name="ASTRECharList.java"/> >- <include name="ASTRRepetitionRange.java"/> >- <include name="ASTCharDescriptor.java"/> >- <include name="ASTPrimaryExpression.java"/> >- <include name="JJTreeParserTreeConstants.java"/> >- <include name="JJTJJTreeParserState.java"/> >- <include name="JJTree.jj"/> >+ <target name="compile-nojar" depends="generated-files" > >+ <javac srcdir="${javacc.root}/src" destdir="${javacc.root}/classes" debug="${build.compiler.debug}" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ </target> >+ >+ <target name="clean" > >+ <delete > >+ <fileset dir="." > >+ <include name="JJTreeParser.java" ></include> >+ <include name="JJTreeParserConstants.java" ></include> >+ <include name="JJTreeParserTokenManager.java" ></include> >+ <include name="*CharStream*.java" ></include> >+ <include name="TokenMgrError.java" ></include> >+ <include name="ParseException.java" ></include> >+ <include name="Node.java" ></include> >+ <include name="SimpleNode.java" ></include> >+ <include name="ASTProductions.java" ></include> >+ <include name="ASTRE.java" ></include> >+ <include name="ASTTokenDecls.java" ></include> >+ <include name="ASTRESpec.java" ></include> >+ <include name="ASTBNFChoice.java" ></include> >+ <include name="ASTBNFSequence.java" ></include> >+ <include name="ASTBNFLookahead.java" ></include> >+ <include name="ASTBNFZeroOrOne.java" ></include> >+ <include name="ASTBNFTryBlock.java" ></include> >+ <include name="ASTBNFAssignment.java" ></include> >+ <include name="ASTBNFNonTerminal.java" ></include> >+ <include name="ASTBNFOneOrMore.java" ></include> >+ <include name="ASTBNFZeroOrMore.java" ></include> >+ <include name="ASTBNFParenthesized.java" ></include> >+ <include name="ASTREStringLiteral.java" ></include> >+ <include name="ASTRENamed.java" ></include> >+ <include name="ASTREReference.java" ></include> >+ <include name="ASTREEOF.java" ></include> >+ <include name="ASTREChoice.java" ></include> >+ <include name="ASTRESequence.java" ></include> >+ <include name="ASTREOneOrMore.java" ></include> >+ <include name="ASTREZeroOrMore.java" ></include> >+ <include name="ASTREZeroOrOne.java" ></include> >+ <include name="ASTREParenthesized.java" ></include> >+ <include name="ASTRECharList.java" ></include> >+ <include name="ASTRRepetitionRange.java" ></include> >+ <include name="ASTCharDescriptor.java" ></include> >+ <include name="ASTPrimaryExpression.java" ></include> >+ <include name="JJTreeParserTreeConstants.java" ></include> >+ <include name="JJTJJTreeParserState.java" ></include> >+ <include name="JJTree.jj" ></include> > </fileset> > </delete> > </target> > >- <target name="generated-files"> >- <ant antfile="build.xml" target="generated-files" >- dir="${javacc.root}"> >+ <target name="generated-files" > >+ <ant antfile="build.xml" target="generated-files" dir="${javacc.root}" > > </ant> > </target> > >- <target name="tree-files-init"> >- <uptodate property="tree.gen" >- targetfile="JJTree.jjt"> >- <srcfiles dir="." includes="JJTreeParser.java"/> >+ <target name="tree-files-init" > >+ <uptodate property="tree.gen" targetfile="JJTree.jjt" > >+ <srcfiles dir="." includes="JJTreeParser.java" ></srcfiles> > </uptodate> > </target> > >- <target name="tree-files" depends="tree-files-init" if="tree.gen"> >- <java classname="${bootstrap.jjtree.mainclass}" >- classpath="${javacc.root}/bootstrap/javacc.jar" >- fork="true"> >- <arg file="JJTree.jjt"/> >+ <target name="tree-files" depends="tree-files-init" if="tree.gen" > >+ <java classname="${bootstrap.jjtree.mainclass}" classpath="${javacc.root}/bootstrap/javacc.jar" fork="true" > >+ <arg file="JJTree.jjt" ></arg> > </java> >- <java classname="${bootstrap.javacc.mainclass}" >- classpath="${javacc.root}/bootstrap/javacc.jar" >- fork="true"> >- <arg file="JJTree.jj"/> >+ <java classname="${bootstrap.javacc.mainclass}" classpath="${javacc.root}/bootstrap/javacc.jar" fork="true" > >+ <arg file="JJTree.jj" ></arg> > </java> > </target> > </project> >--- ./examples/JavaGrammars/1.5/build.xml.orig 2021-12-21 15:11:44.796677231 +0100 >+++ ./examples/JavaGrammars/1.5/build.xml 2021-12-21 15:11:44.981673629 +0100 >@@ -1,68 +1,61 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >- >-<project name="Java 1.5 Parser" default="compile-and-test" basedir="."> >- <property name="version" >- value="1.0"> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="Java 1.5 Parser" default="compile-and-test" basedir="." > >+ <property name="version" value="1.0" > > </property> >- <property name="javacc.root" >- value="../../../"> >+ <property name="javacc.root" value="../../../" > > </property> >- <property name="debug_parser" >- value="false"> >+ <property name="debug_parser" value="false" > > </property> >- <property name="debug_scanner" >- value="false"> >+ <property name="debug_scanner" value="false" > > </property> > >- <target name="compile-and-test" depends="compile"> >- <exec failonerror="true" executable="java"> >- <arg value="-classpath"/> >- <arg value="."/> >- <arg value="JavaParser"/> >- <arg value="JavaGenerics.java"/> >+ <target name="compile-and-test" depends="compile" > >+ <exec failonerror="true" executable="java" > >+ <arg value="-classpath" ></arg> >+ <arg value="." ></arg> >+ <arg value="JavaParser" ></arg> >+ <arg value="JavaGenerics.java" ></arg> > </exec> > >- <exec failonerror="true" executable="java"> >- <arg value="-classpath"/> >- <arg value="."/> >- <arg value="JavaParser"/> >- <arg value="JavaParser.java"/> >+ <exec failonerror="true" executable="java" > >+ <arg value="-classpath" ></arg> >+ <arg value="." ></arg> >+ <arg value="JavaParser" ></arg> >+ <arg value="JavaParser.java" ></arg> > </exec> > </target> > >- <target name="compile" depends="generated-files"> >- <javac srcdir="." >- destdir="." > >- </javac> >+ <target name="compile" depends="generated-files" > >+ <javac srcdir="." destdir="." source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> > </target> > >- <target name="clean"> >- <delete> >- <fileset dir="."> >- <include name="JavaParser.java"/> >- <include name="JavaParserTokenManager.java"/> >- <include name="JavaParserConstants.java"/> >- <include name="*CharStream*.java"/> >- <include name="Token.java"/> >- <include name="TokenMgrError.java"/> >- <include name="ParseException.java"/> >- <include name="*.class"/> >+ <target name="clean" > >+ <delete > >+ <fileset dir="." > >+ <include name="JavaParser.java" ></include> >+ <include name="JavaParserTokenManager.java" ></include> >+ <include name="JavaParserConstants.java" ></include> >+ <include name="*CharStream*.java" ></include> >+ <include name="Token.java" ></include> >+ <include name="TokenMgrError.java" ></include> >+ <include name="ParseException.java" ></include> >+ <include name="*.class" ></include> > </fileset> > </delete> > </target> > >- <target name="parser-files-init"> >- <uptodate property="parser.gen" >- targetfile="Java1.5.jj"> >- <srcfiles dir="." includes="JavaParser.java"/> >+ <target name="parser-files-init" > >+ <uptodate property="parser.gen" targetfile="Java1.5.jj" > >+ <srcfiles dir="." includes="JavaParser.java" ></srcfiles> > </uptodate> > </target> > >- <target name="generated-files" depends="parser-files-init" if="parser.gen"> >+ <target name="generated-files" depends="parser-files-init" if="parser.gen" > > <exec failonerror="true" executable="${javacc.root}/bin/javacc" > >- <arg value="-DEBUG_PARSER=${debug_parser}"/> >- <arg value="-DEBUG_TOKEN_MANAGER=${debug_scanner}"/> >- <arg value="Java1.5.jj"/> >+ <arg value="-DEBUG_PARSER=${debug_parser}" ></arg> >+ <arg value="-DEBUG_TOKEN_MANAGER=${debug_scanner}" ></arg> >+ <arg value="Java1.5.jj" ></arg> > </exec> > </target> > </project> >--- ./examples/JJTreeExamples/build.xml.orig 2021-12-21 15:11:44.802677115 +0100 >+++ ./examples/JJTreeExamples/build.xml 2021-12-21 15:11:44.985673552 +0100 >@@ -1,71 +1,72 @@ >-<project name="examples" default="eg1" basedir="."> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="examples" default="eg1" basedir="." > > >- <property name="javacc.home" value="/usr/local/javacc/"/> >+ <property name="javacc.home" value="/usr/local/javacc/" ></property> > >- <target name="eg1" description="Builds example 'eg1'"> >- <delete dir="eg1"/> >- <mkdir dir="eg1"/> >- <copy file="eg1.jjt" todir="eg1"/> >- <jjtree target="eg1.jjt" outputdirectory="eg1" javacchome="${javacc.home}"/> >- <javacc target="eg1/eg1.jj" outputdirectory="eg1" javacchome="${javacc.home}"/> >- <javac deprecation="false" srcdir="eg1" destdir="eg1"/> >- <echo message="*******"/> >- <echo message="******* Now cd into the eg1 directory and run 'java Eg1' ******"/> >- <echo message="*******"/> >- </target> >- >- <target name="eg2" description="Builds example 'eg2'"> >- <delete dir="eg2"/> >- <mkdir dir="eg2"/> >- <copy file="eg2.jjt" todir="eg2"/> >- <copy file="ASTMyID.java" todir="eg2"/> >- <jjtree target="eg2.jjt" outputdirectory="eg2" javacchome="${javacc.home}"/> >- <javacc target="eg2/eg2.jj" outputdirectory="eg2" javacchome="${javacc.home}"/> >- <javac deprecation="false" srcdir="eg2" destdir="eg2"/> >- <echo message="*******"/> >- <echo message="******* Now cd into the eg2 directory and run 'java Eg2' ******"/> >- <echo message="*******"/> >- </target> >- >- <target name="eg3" description="Builds example 'eg3'"> >- <delete dir="eg3"/> >- <mkdir dir="eg3"/> >- <copy file="eg3.jjt" todir="eg3"/> >- <copy file="ASTMyID.java" todir="eg3"/> >- <jjtree target="eg3.jjt" outputdirectory="eg3" javacchome="${javacc.home}"/> >- <javacc target="eg3/eg3.jj" outputdirectory="eg3" javacchome="${javacc.home}"/> >- <javac deprecation="false" srcdir="eg3" destdir="eg3"/> >- <echo message="*******"/> >- <echo message="******* Now cd into the eg3 directory and run 'java Eg3' ******"/> >- <echo message="*******"/> >- </target> >- >- <target name="eg4" description="Builds example 'eg4'"> >- <delete dir="eg4"/> >- <mkdir dir="eg4"/> >- <copy file="eg4.jjt" todir="eg4"/> >- <copy file="ASTMyID.java" todir="eg4"/> >- <copy file="ASTMyOtherID.java" todir="eg4"/> >- <copy file="Eg4DumpVisitor.java" todir="eg4"/> >- <jjtree target="eg4.jjt" outputdirectory="eg4" javacchome="${javacc.home}"/> >- <javacc target="eg4/eg4.jj" outputdirectory="eg4" javacchome="${javacc.home}"/> >- <javac deprecation="false" srcdir="eg4" destdir="eg4"/> >- <echo message="*******"/> >- <echo message="******* Now cd into the eg4 directory and run 'java Eg4' ******"/> >- <echo message="*******"/> >- </target> >- >- <target name="all" description="Builds all examples" depends="clean,eg1,eg2,eg3,eg4"> >- <echo message="*******"/> >- <echo message="******* All Built ******"/> >- <echo message="*******"/> >- </target> >- >- <target name="clean" description="Cleans up any example directories"> >- <delete dir="eg1"/> >- <delete dir="eg2"/> >- <delete dir="eg3"/> >- <delete dir="eg4"/> >+ <target name="eg1" description="Builds example 'eg1'" > >+ <delete dir="eg1" ></delete> >+ <mkdir dir="eg1" ></mkdir> >+ <copy file="eg1.jjt" todir="eg1" ></copy> >+ <jjtree target="eg1.jjt" outputdirectory="eg1" javacchome="${javacc.home}" ></jjtree> >+ <javacc target="eg1/eg1.jj" outputdirectory="eg1" javacchome="${javacc.home}" ></javacc> >+ <javac deprecation="false" srcdir="eg1" destdir="eg1" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> >+ <echo message="*******" ></echo> >+ <echo message="******* Now cd into the eg1 directory and run 'java Eg1' ******" ></echo> >+ <echo message="*******" ></echo> >+ </target> >+ >+ <target name="eg2" description="Builds example 'eg2'" > >+ <delete dir="eg2" ></delete> >+ <mkdir dir="eg2" ></mkdir> >+ <copy file="eg2.jjt" todir="eg2" ></copy> >+ <copy file="ASTMyID.java" todir="eg2" ></copy> >+ <jjtree target="eg2.jjt" outputdirectory="eg2" javacchome="${javacc.home}" ></jjtree> >+ <javacc target="eg2/eg2.jj" outputdirectory="eg2" javacchome="${javacc.home}" ></javacc> >+ <javac deprecation="false" srcdir="eg2" destdir="eg2" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> >+ <echo message="*******" ></echo> >+ <echo message="******* Now cd into the eg2 directory and run 'java Eg2' ******" ></echo> >+ <echo message="*******" ></echo> >+ </target> >+ >+ <target name="eg3" description="Builds example 'eg3'" > >+ <delete dir="eg3" ></delete> >+ <mkdir dir="eg3" ></mkdir> >+ <copy file="eg3.jjt" todir="eg3" ></copy> >+ <copy file="ASTMyID.java" todir="eg3" ></copy> >+ <jjtree target="eg3.jjt" outputdirectory="eg3" javacchome="${javacc.home}" ></jjtree> >+ <javacc target="eg3/eg3.jj" outputdirectory="eg3" javacchome="${javacc.home}" ></javacc> >+ <javac deprecation="false" srcdir="eg3" destdir="eg3" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> >+ <echo message="*******" ></echo> >+ <echo message="******* Now cd into the eg3 directory and run 'java Eg3' ******" ></echo> >+ <echo message="*******" ></echo> >+ </target> >+ >+ <target name="eg4" description="Builds example 'eg4'" > >+ <delete dir="eg4" ></delete> >+ <mkdir dir="eg4" ></mkdir> >+ <copy file="eg4.jjt" todir="eg4" ></copy> >+ <copy file="ASTMyID.java" todir="eg4" ></copy> >+ <copy file="ASTMyOtherID.java" todir="eg4" ></copy> >+ <copy file="Eg4DumpVisitor.java" todir="eg4" ></copy> >+ <jjtree target="eg4.jjt" outputdirectory="eg4" javacchome="${javacc.home}" ></jjtree> >+ <javacc target="eg4/eg4.jj" outputdirectory="eg4" javacchome="${javacc.home}" ></javacc> >+ <javac deprecation="false" srcdir="eg4" destdir="eg4" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" ><classpath path="${gentoo.classpath}" ></classpath></javac> >+ <echo message="*******" ></echo> >+ <echo message="******* Now cd into the eg4 directory and run 'java Eg4' ******" ></echo> >+ <echo message="*******" ></echo> >+ </target> >+ >+ <target name="all" description="Builds all examples" depends="clean,eg1,eg2,eg3,eg4" > >+ <echo message="*******" ></echo> >+ <echo message="******* All Built ******" ></echo> >+ <echo message="*******" ></echo> >+ </target> >+ >+ <target name="clean" description="Cleans up any example directories" > >+ <delete dir="eg1" ></delete> >+ <delete dir="eg2" ></delete> >+ <delete dir="eg3" ></delete> >+ <delete dir="eg4" ></delete> > </target> > > >--- ./test/build.xml.orig 2021-12-21 15:11:44.810676959 +0100 >+++ ./test/build.xml 2021-12-21 15:11:44.986673532 +0100 >@@ -1,58 +1,26 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="functional-tests" default="test" basedir="." > > >-<!-- >- >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="functional-tests" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- <ant antfile="build.xml" dir="lineNumbers" /> >- <ant antfile="build.xml" dir="javacodeLA" /> >- <ant antfile="build.xml" dir="javaFiles" /> >- <ant antfile="build.xml" dir="javaFileGeneration" /> >- <ant antfile="build.xml" dir="newToken" /> >- <ant antfile="build.xml" dir="imports" /> >- <ant antfile="build.xml" dir="lom" /> >- <ant antfile="build.xml" dir="exceptions" /> >+ <target name="test" depends="" description="run functional test cases" > >+ <ant antfile="build.xml" dir="lineNumbers" ></ant> >+ <ant antfile="build.xml" dir="javacodeLA" ></ant> >+ <ant antfile="build.xml" dir="javaFiles" ></ant> >+ <ant antfile="build.xml" dir="javaFileGeneration" ></ant> >+ <ant antfile="build.xml" dir="newToken" ></ant> >+ <ant antfile="build.xml" dir="imports" ></ant> >+ <ant antfile="build.xml" dir="lom" ></ant> >+ <ant antfile="build.xml" dir="exceptions" ></ant> > </target> > >- <target name="clean"> >- <ant antfile="build.xml" target="clean" dir="lineNumbers" /> >- <ant antfile="build.xml" target="clean" dir="javacodeLA" /> >- <ant antfile="build.xml" target="clean" dir="javaFiles" /> >- <ant antfile="build.xml" target="clean" dir="javaFileGeneration" /> >- <ant antfile="build.xml" target="clean" dir="newToken" /> >- <ant antfile="build.xml" target="clean" dir="imports" /> >- <ant antfile="build.xml" target="clean" dir="lom" /> >- <ant antfile="build.xml" target="clean" dir="exceptions" /> >+ <target name="clean" > >+ <ant antfile="build.xml" target="clean" dir="lineNumbers" ></ant> >+ <ant antfile="build.xml" target="clean" dir="javacodeLA" ></ant> >+ <ant antfile="build.xml" target="clean" dir="javaFiles" ></ant> >+ <ant antfile="build.xml" target="clean" dir="javaFileGeneration" ></ant> >+ <ant antfile="build.xml" target="clean" dir="newToken" ></ant> >+ <ant antfile="build.xml" target="clean" dir="imports" ></ant> >+ <ant antfile="build.xml" target="clean" dir="lom" ></ant> >+ <ant antfile="build.xml" target="clean" dir="exceptions" ></ant> > </target> > > </project> >--- ./test/javaFileGeneration/build.xml.orig 2021-12-21 15:11:44.818676803 +0100 >+++ ./test/javaFileGeneration/build.xml 2021-12-21 15:11:44.992673415 +0100 >@@ -1,232 +1,203 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-javafiles" default="test-javafile-contents" basedir="." > > >-<!-- >+ <target name="test-javafile-contents" depends="" description="run boiler-plate test cases" > >+ <antcall target="test-static" ></antcall> >+ <antcall target="test-non-static" ></antcall> >+ <antcall target="test-no-keep-line" ></antcall> >+ <antcall target="test-not-public" ></antcall> >+ <antcall target="test-generator" ></antcall> >+ </target> >+ >+ <target name="test-static" > > >-Copyright (c) 2007, Paul Cager >-All rights reserved. >+ <echo >Static Parser</echo> > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-javafiles" default="test-javafile-contents" basedir="."> >- >- <target name="test-javafile-contents" depends="" description="run boiler-plate test cases"> >- <antcall target="test-static" /> >- <antcall target="test-non-static" /> >- <antcall target="test-no-keep-line" /> >- <antcall target="test-not-public" /> >- <antcall target="test-generator" /> >- </target> >- >- <target name="test-static"> >- >- <echo>Static Parser</echo> >- >- <antcall target="reset" /> >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="-STATIC" /> >- <arg line="Parser.jj" /> >+ <antcall target="reset" ></antcall> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="-STATIC" ></arg> >+ <arg line="Parser.jj" ></arg> > </java> > >- <fail message="Static ParseException"> >- <condition> >- <not> <filesmatch file1="out-dir/ParseException.java" file2="expected/static/ParseException.java" /> </not> >+ <fail message="Static ParseException" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParseException.java" file2="expected/static/ParseException.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Static ParserTokenManager"> >- <condition> >- <not> <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/static/ParserTokenManager.java" /> </not> >+ <fail message="Static ParserTokenManager" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/static/ParserTokenManager.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Static SimpleCharStream"> >- <condition> >- <not> <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/static/SimpleCharStream.java" /> </not> >+ <fail message="Static SimpleCharStream" > >+ <condition > >+ <not > <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/static/SimpleCharStream.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Static Token"> >- <condition> >- <not> <filesmatch file1="out-dir/Token.java" file2="expected/static/Token.java" /> </not> >+ <fail message="Static Token" > >+ <condition > >+ <not > <filesmatch file1="out-dir/Token.java" file2="expected/static/Token.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Static TokenMgrError"> >- <condition> >- <not> <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/static/TokenMgrError.java" /> </not> >+ <fail message="Static TokenMgrError" > >+ <condition > >+ <not > <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/static/TokenMgrError.java" ></filesmatch> </not> > </condition> > </fail> > </target> > >- <target name="test-non-static"> >+ <target name="test-non-static" > > >- <echo>Non-static Parser</echo> >+ <echo >Non-static Parser</echo> > >- <antcall target="reset" /> >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="-NOSTATIC" /> >- <arg line="Parser.jj" /> >+ <antcall target="reset" ></antcall> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="-NOSTATIC" ></arg> >+ <arg line="Parser.jj" ></arg> > </java> > >- <fail message="Non-Static ParseException"> >- <condition> >- <not> <filesmatch file1="out-dir/ParseException.java" file2="expected/non-static/ParseException.java" /> </not> >+ <fail message="Non-Static ParseException" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParseException.java" file2="expected/non-static/ParseException.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Non-Static ParserTokenManager"> >- <condition> >- <not> <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/non-static/ParserTokenManager.java" /> </not> >+ <fail message="Non-Static ParserTokenManager" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/non-static/ParserTokenManager.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Non-Static SimpleCharStream"> >- <condition> >- <not> <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/non-static/SimpleCharStream.java" /> </not> >+ <fail message="Non-Static SimpleCharStream" > >+ <condition > >+ <not > <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/non-static/SimpleCharStream.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Non-Static Token"> >- <condition> >- <not> <filesmatch file1="out-dir/Token.java" file2="expected/non-static/Token.java" /> </not> >+ <fail message="Non-Static Token" > >+ <condition > >+ <not > <filesmatch file1="out-dir/Token.java" file2="expected/non-static/Token.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Non-Static TokenMgrError"> >- <condition> >- <not> <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/non-static/TokenMgrError.java" /> </not> >+ <fail message="Non-Static TokenMgrError" > >+ <condition > >+ <not > <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/non-static/TokenMgrError.java" ></filesmatch> </not> > </condition> > </fail> > </target> > > >- <target name="test-no-keep-line"> >+ <target name="test-no-keep-line" > > >- <echo>No-Keep-Line Parser</echo> >+ <echo >No-Keep-Line Parser</echo> > >- <antcall target="reset" /> >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="-NOKEEP_LINE_COLUMN" /> >- <arg line="Parser.jj" /> >+ <antcall target="reset" ></antcall> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="-NOKEEP_LINE_COLUMN" ></arg> >+ <arg line="Parser.jj" ></arg> > </java> > >- <fail message="No-Keep_line ParseException"> >- <condition> >- <not> <filesmatch file1="out-dir/ParseException.java" file2="expected/no-keep-line/ParseException.java" /> </not> >+ <fail message="No-Keep_line ParseException" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParseException.java" file2="expected/no-keep-line/ParseException.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="No-Keep_line ParserTokenManager"> >- <condition> >- <not> <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/no-keep-line/ParserTokenManager.java" /> </not> >+ <fail message="No-Keep_line ParserTokenManager" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/no-keep-line/ParserTokenManager.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="No-Keep_line SimpleCharStream"> >- <condition> >- <not> <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/no-keep-line/SimpleCharStream.java" /> </not> >+ <fail message="No-Keep_line SimpleCharStream" > >+ <condition > >+ <not > <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/no-keep-line/SimpleCharStream.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="No-Keep_line Token"> >- <condition> >- <not> <filesmatch file1="out-dir/Token.java" file2="expected/no-keep-line/Token.java" /> </not> >+ <fail message="No-Keep_line Token" > >+ <condition > >+ <not > <filesmatch file1="out-dir/Token.java" file2="expected/no-keep-line/Token.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="No-Keep_line TokenMgrError"> >- <condition> >- <not> <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/no-keep-line/TokenMgrError.java" /> </not> >+ <fail message="No-Keep_line TokenMgrError" > >+ <condition > >+ <not > <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/no-keep-line/TokenMgrError.java" ></filesmatch> </not> > </condition> > </fail> > </target> > >- <target name="test-not-public"> >+ <target name="test-not-public" > > >- <echo>Not Public</echo> >+ <echo >Not Public</echo> > >- <antcall target="reset" /> >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="-SUPPORT_CLASS_VISIBILITY_PUBLIC=false" /> >- <arg line="Parser.jj" /> >+ <antcall target="reset" ></antcall> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="-SUPPORT_CLASS_VISIBILITY_PUBLIC=false" ></arg> >+ <arg line="Parser.jj" ></arg> > </java> > >- <fail message="Not-Public ParseException"> >- <condition> >- <not> <filesmatch file1="out-dir/ParseException.java" file2="expected/not-public/ParseException.java" /> </not> >+ <fail message="Not-Public ParseException" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParseException.java" file2="expected/not-public/ParseException.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Not-Public ParserTokenManager"> >- <condition> >- <not> <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/not-public/ParserTokenManager.java" /> </not> >+ <fail message="Not-Public ParserTokenManager" > >+ <condition > >+ <not > <filesmatch file1="out-dir/ParserTokenManager.java" file2="expected/not-public/ParserTokenManager.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Not-Public SimpleCharStream"> >- <condition> >- <not> <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/not-public/SimpleCharStream.java" /> </not> >+ <fail message="Not-Public SimpleCharStream" > >+ <condition > >+ <not > <filesmatch file1="out-dir/SimpleCharStream.java" file2="expected/not-public/SimpleCharStream.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Not-Public Token"> >- <condition> >- <not> <filesmatch file1="out-dir/Token.java" file2="expected/not-public/Token.java" /> </not> >+ <fail message="Not-Public Token" > >+ <condition > >+ <not > <filesmatch file1="out-dir/Token.java" file2="expected/not-public/Token.java" ></filesmatch> </not> > </condition> > </fail> > >- <fail message="Not-Public TokenMgrError"> >- <condition> >- <not> <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/not-public/TokenMgrError.java" /> </not> >+ <fail message="Not-Public TokenMgrError" > >+ <condition > >+ <not > <filesmatch file1="out-dir/TokenMgrError.java" file2="expected/not-public/TokenMgrError.java" ></filesmatch> </not> > </condition> > </fail> > </target> > >- <target name="test-generator"> >- <echo>test-generator</echo> >+ <target name="test-generator" > >+ <echo >test-generator</echo> > >- <antcall target="reset" /> >- <java failonerror="true" fork="true" classname="org.javacc.utils.JavaFileGenerator" classpath=".:../../bin/lib/javacc.jar"> >- <arg line="/template.txt" /> >- <arg line="out-dir/generated.txt" /> >+ <antcall target="reset" ></antcall> >+ <java failonerror="true" fork="true" classname="org.javacc.utils.JavaFileGenerator" classpath=".:../../bin/lib/javacc.jar" > >+ <arg line="/template.txt" ></arg> >+ <arg line="out-dir/generated.txt" ></arg> > </java> > >- <fail message="test-generator"> >- <condition> >- <not> <filesmatch file1="out-dir/generated.txt" file2="expected/generated.txt" /> </not> >+ <fail message="test-generator" > >+ <condition > >+ <not > <filesmatch file1="out-dir/generated.txt" file2="expected/generated.txt" ></filesmatch> </not> > </condition> > </fail> > > </target> > >- <target name="reset"> >- <delete dir="out-dir" /> >- <mkdir dir="out-dir" /> >+ <target name="reset" > >+ <delete dir="out-dir" ></delete> >+ <mkdir dir="out-dir" ></mkdir> > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/exceptions/build.xml.orig 2021-12-21 15:11:44.826676647 +0100 >+++ ./test/exceptions/build.xml 2021-12-21 15:11:44.995673357 +0100 >@@ -1,117 +1,80 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-exceptions" default="test-exceptions" basedir="." > > >-<!-- >+ <target name="test-exceptions" depends="" description="run functional test cases" > > >-Copyright (c) 2008, Paul Cager >-All rights reserved. > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >+ <echo >Test 1</echo> >+ <delete dir="out-dir" ></delete> > >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-exceptions" default="test-exceptions" basedir="."> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> >+ </java> > >- <target name="test-exceptions" depends="" description="run functional test cases"> >+ <javac srcdir="out-dir" destdir="out-dir" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> > >+ <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test1.out" inputstring="ABDC" failonerror="false" ></java> > >- <echo>Test 1</echo> >- <delete dir="out-dir" /> >+ <echo >Output:</echo> >+ <echo >${test1.out}</echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >- </java> >- >- <javac srcdir="out-dir" >- destdir="out-dir" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- >- <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test1.out" inputstring="ABDC" failonerror="false" /> >- >- <echo>Output:</echo> >- <echo>${test1.out}</echo> >- >- <fail message="Unexpected ParseException"> >- <condition> >- <or> >- <not> <contains string="${test1.out}" substring="Exception in thread "main" ParseException: Encountered " "D" "D "" at line 1, column 3." /> </not> >- <not> <contains string="${test1.out}" substring="Was expecting one of:" /> </not> >- <not> <contains string="${test1.out}" substring=" "C" ..." /> </not> >- <not> <contains string="${test1.out}" substring=" "E" ..." /> </not> >+ <fail message="Unexpected ParseException" > >+ <condition > >+ <or > >+ <not > <contains string="${test1.out}" substring='Exception in thread "main" ParseException: Encountered " "D" "D "" at line 1, column 3.' ></contains> </not> >+ <not > <contains string="${test1.out}" substring="Was expecting one of:" ></contains> </not> >+ <not > <contains string="${test1.out}" substring=' "C" ...' ></contains> </not> >+ <not > <contains string="${test1.out}" substring=' "E" ...' ></contains> </not> > </or> > </condition> > > </fail> > >- <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test1a.out" inputstring="ABEC" failonerror="false" /> >+ <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test1a.out" inputstring="ABEC" failonerror="false" ></java> > >- <echo>Output:</echo> >- <echo>${test1a.out}</echo> >+ <echo >Output:</echo> >+ <echo >${test1a.out}</echo> > >- <fail message="Unexpected ParseException"> >- <condition> >- <or> >- <not> <contains string="${test1a.out}" substring="Exception in thread "main" ParseException: help" /> </not> >+ <fail message="Unexpected ParseException" > >+ <condition > >+ <or > >+ <not > <contains string="${test1a.out}" substring='Exception in thread "main" ParseException: help' ></contains> </not> > </or> > </condition> > </fail> > > >- <echo>Test 2</echo> >- <delete dir="out-dir" /> >+ <echo >Test 2</echo> >+ <delete dir="out-dir" ></delete> > >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="-KEEP_LINE_COLUMN=false" /> >- <arg line="Parser.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="-KEEP_LINE_COLUMN=false" ></arg> >+ <arg line="Parser.jj" ></arg> > </java> > >- <javac srcdir="out-dir" >- destdir="out-dir" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- >- <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test2.out" inputstring="ABDC" failonerror="false" /> >- >- <echo>Output:</echo> >- <echo>${test2.out}</echo> >- >- <fail message="Unexpected ParseException"> >- <condition> >- <or> >- <not> <contains string="${test2.out}" substring="Exception in thread "main" ParseException: Encountered " "D" "D "." /> </not> >- <not> <contains string="${test2.out}" substring="Was expecting one of:" /> </not> >- <not> <contains string="${test2.out}" substring=" "C" ..." /> </not> >+ <javac srcdir="out-dir" destdir="out-dir" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ >+ <java fork="true" classname="Parser" classpath="out-dir" outputproperty="test2.out" inputstring="ABDC" failonerror="false" ></java> >+ >+ <echo >Output:</echo> >+ <echo >${test2.out}</echo> >+ >+ <fail message="Unexpected ParseException" > >+ <condition > >+ <or > >+ <not > <contains string="${test2.out}" substring='Exception in thread "main" ParseException: Encountered " "D" "D ".' ></contains> </not> >+ <not > <contains string="${test2.out}" substring="Was expecting one of:" ></contains> </not> >+ <not > <contains string="${test2.out}" substring=' "C" ...' ></contains> </not> > </or> > </condition> > </fail> > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/javaFiles/build.xml.orig 2021-12-21 15:11:44.833676511 +0100 >+++ ./test/javaFiles/build.xml 2021-12-21 15:11:45.001673240 +0100 >@@ -1,223 +1,174 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-javafiles" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2007, Paul Cager >-All rights reserved. > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >+ <delete dir="out-dir" ></delete> >+ <mkdir dir="out-dir" ></mkdir> >+ <mkdir dir="out-dir/non-static" ></mkdir> >+ <mkdir dir="out-dir/static" ></mkdir> > >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-javafiles" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- >- >- <delete dir="out-dir" /> >- <mkdir dir="out-dir" /> >- <mkdir dir="out-dir/non-static" /> >- <mkdir dir="out-dir/static" /> >- >- <echo>Test 1 - Initial Creation</echo> >- <java failonerror="true" fork="true" classname="javacc" outputproperty="test1.out" classpath="../../bin/lib/javacc.jar"> >- <arg line="StaticParser.jj" /> >+ <echo >Test 1 - Initial Creation</echo> >+ <java failonerror="true" fork="true" classname="javacc" outputproperty="test1.out" classpath="../../bin/lib/javacc.jar" > >+ <arg line="StaticParser.jj" ></arg> > </java> >- <echo>${test1.out}</echo> >+ <echo >${test1.out}</echo> > >- <fail message="Creation Failed"> >- <condition> >- <not> <contains string="${test1.out}" substring="File "SimpleCharStream.java" does not exist. Will create one." /> </not> >+ <fail message="Creation Failed" > >+ <condition > >+ <not > <contains string="${test1.out}" substring='File "SimpleCharStream.java" does not exist. Will create one.' ></contains> </not> > </condition> > </fail> > >- <javac srcdir="out-dir" >- destdir="out-dir/static" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- <java classname="Parser" classpath="out-dir/static" inputstring="A" failonerror="true"> </java> >+ <javac srcdir="out-dir" destdir="out-dir/static" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <java classname="Parser" classpath="out-dir/static" inputstring="A" failonerror="true" > </java> > > >- <echo></echo> >- <echo>Test 2 - Recreate Unchanged</echo> >- <java failonerror="true" fork="true" outputproperty="test2.out" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >+ <echo ></echo> >+ <echo >Test 2 - Recreate Unchanged</echo> >+ <java failonerror="true" fork="true" outputproperty="test2.out" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> > </java> >- <echo>${test2.out}</echo> >+ <echo >${test2.out}</echo> > >- <fail message="Recreate Failed"> >- <condition> >- <not> <contains string="${test2.out}" substring="File "SimpleCharStream.java" is being rebuilt." /> </not> >+ <fail message="Recreate Failed" > >+ <condition > >+ <not > <contains string="${test2.out}" substring='File "SimpleCharStream.java" is being rebuilt.' ></contains> </not> > </condition> > </fail> > >- <javac srcdir="out-dir" >- destdir="out-dir/non-static" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true"> </java> >+ <javac srcdir="out-dir" destdir="out-dir/non-static" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true" > </java> > >- <echo></echo> >- <echo>Test 3 - Compatible Modified.</echo> >+ <echo ></echo> >+ <echo >Test 3 - Compatible Modified.</echo> > >- <delete file="out-dir/SimpleCharStream.java" /> >- <copy file="ModifiedSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" /> >+ <delete file="out-dir/SimpleCharStream.java" ></delete> >+ <copy file="ModifiedSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" ></copy> > >- <java failonerror="true" fork="true" outputproperty="test3.out" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >+ <java failonerror="true" fork="true" outputproperty="test3.out" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> > </java> >- <echo>${test3.out}</echo> >+ <echo >${test3.out}</echo> > >- <fail message="Compat Modified Failed"> >- <condition> >- <contains string="${test3.out}" substring="File "SimpleCharStream.java" is being rebuilt." /> >+ <fail message="Compat Modified Failed" > >+ <condition > >+ <contains string="${test3.out}" substring='File "SimpleCharStream.java" is being rebuilt.' ></contains> > </condition> > </fail> > >- <javac srcdir="out-dir" >- destdir="out-dir/non-static" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true"> </java> >+ <javac srcdir="out-dir" destdir="out-dir/non-static" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true" > </java> > > >- <echo></echo> >- <echo>Test 4 - Modified Old.</echo> >+ <echo ></echo> >+ <echo >Test 4 - Modified Old.</echo> > >- <delete file="out-dir/SimpleCharStream.java" /> >- <copy file="ModifiedOldSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" /> >+ <delete file="out-dir/SimpleCharStream.java" ></delete> >+ <copy file="ModifiedOldSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" ></copy> > >- <java failonerror="true" fork="true" outputproperty="test4.out" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >+ <java failonerror="true" fork="true" outputproperty="test4.out" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> > </java> >- <echo>${test4.out}</echo> >+ <echo >${test4.out}</echo> > >- <fail message="Modified old Failed"> >- <condition> >- <not> <contains string="${test4.out}" substring="Warning: SimpleCharStream.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you." /> </not> >+ <fail message="Modified old Failed" > >+ <condition > >+ <not > <contains string="${test4.out}" substring="Warning: SimpleCharStream.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you." ></contains> </not> > </condition> > </fail> > > >- <javac srcdir="out-dir" >- destdir="out-dir/non-static" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true"> </java> >+ <javac srcdir="out-dir" destdir="out-dir/non-static" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true" > </java> > >- <echo></echo> >- <echo>Test 5 - Changed Options.</echo> >+ <echo ></echo> >+ <echo >Test 5 - Changed Options.</echo> > >- <delete file="out-dir/SimpleCharStream.java" /> >- <copy file="ChangedOptionsSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" /> >+ <delete file="out-dir/SimpleCharStream.java" ></delete> >+ <copy file="ChangedOptionsSimpleCharStream.java" tofile="out-dir/SimpleCharStream.java" ></copy> > >- <java failonerror="true" fork="true" outputproperty="test5.out" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >+ <java failonerror="true" fork="true" outputproperty="test5.out" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> > </java> >- <echo>${test5.out}</echo> >+ <echo >${test5.out}</echo> > >- <fail message="Changed Options Failed"> >- <condition> >- <not> <contains string="${test5.out}" substring="Warning: SimpleCharStream.java: Generated using incompatible options. Please rename or delete this file so that a new one can be generated for you." /> </not> >+ <fail message="Changed Options Failed" > >+ <condition > >+ <not > <contains string="${test5.out}" substring="Warning: SimpleCharStream.java: Generated using incompatible options. Please rename or delete this file so that a new one can be generated for you." ></contains> </not> > </condition> > </fail> > > >- <javac srcdir="out-dir" >- destdir="out-dir/non-static" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true"> </java> >+ <javac srcdir="out-dir" destdir="out-dir/non-static" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ <java classname="Parser" classpath="out-dir/non-static" inputstring="A" failonerror="true" > </java> > >- <echo></echo> >- <echo>Test 6 - Create JJtree Nodes</echo> >+ <echo ></echo> >+ <echo >Test 6 - Create JJtree Nodes</echo> > >- <java failonerror="true" fork="true" outputproperty="test6.out" classname="jjtree" classpath="../../bin/lib/javacc.jar"> >- <arg line="Tree.jjt" /> >+ <java failonerror="true" fork="true" outputproperty="test6.out" classname="jjtree" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Tree.jjt" ></arg> > </java> >- <echo>${test6.out}</echo> >+ <echo >${test6.out}</echo> > >- <fail message="JJtree Nodes Failed"> >- <condition> >- <not> <contains string="${test6.out}" substring="File "SimpleNode.java" does not exist. Will create one." /> </not> >+ <fail message="JJtree Nodes Failed" > >+ <condition > >+ <not > <contains string="${test6.out}" substring='File "SimpleNode.java" does not exist. Will create one.' ></contains> </not> > </condition> > </fail> > >- <echo></echo> >- <echo>Test 7 - Create JJtree Nodes</echo> >+ <echo ></echo> >+ <echo >Test 7 - Create JJtree Nodes</echo> > >- <java failonerror="true" fork="true" outputproperty="test7.out" classname="jjtree" classpath="../../bin/lib/javacc.jar"> >- <arg line="Tree.jjt" /> >+ <java failonerror="true" fork="true" outputproperty="test7.out" classname="jjtree" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Tree.jjt" ></arg> > </java> >- <echo>${test7.out}</echo> >+ <echo >${test7.out}</echo> > >- <fail message="JJtree Nodes Failed"> >- <condition> >- <not> <contains string="${test7.out}" substring="File "SimpleNode.java" is being rebuilt." /> </not> >+ <fail message="JJtree Nodes Failed" > >+ <condition > >+ <not > <contains string="${test7.out}" substring='File "SimpleNode.java" is being rebuilt.' ></contains> </not> > </condition> > </fail> > > >- <echo></echo> >- <echo>Test 8 - Regenerate JJtree Nodes</echo> >+ <echo ></echo> >+ <echo >Test 8 - Regenerate JJtree Nodes</echo> > >- <delete file="out-dir/SimpleNode.java" /> >- <copy file="ModifiedSimpleNode.java" tofile="out-dir/SimpleNode.java" /> >+ <delete file="out-dir/SimpleNode.java" ></delete> >+ <copy file="ModifiedSimpleNode.java" tofile="out-dir/SimpleNode.java" ></copy> > >- <java failonerror="true" fork="true" outputproperty="test8.out" classname="jjtree" classpath="../../bin/lib/javacc.jar"> >- <arg line="Tree.jjt" /> >+ <java failonerror="true" fork="true" outputproperty="test8.out" classname="jjtree" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Tree.jjt" ></arg> > </java> >- <echo>${test8.out}</echo> >+ <echo >${test8.out}</echo> > >- <fail message="Regenerate JJtree Nodes Failed"> >- <condition> >- <contains string="${test8.out}" substring="File "SimpleNode.java" is being rebuilt." /> >+ <fail message="Regenerate JJtree Nodes Failed" > >+ <condition > >+ <contains string="${test8.out}" substring='File "SimpleNode.java" is being rebuilt.' ></contains> > </condition> > </fail> > >- <echo></echo> >- <echo>Test 9 - Incompatible JJtree Nodes</echo> >+ <echo ></echo> >+ <echo >Test 9 - Incompatible JJtree Nodes</echo> > >- <delete file="out-dir/SimpleNode.java" /> >- <copy file="IncompatSimpleNode.java" tofile="out-dir/SimpleNode.java" /> >+ <delete file="out-dir/SimpleNode.java" ></delete> >+ <copy file="IncompatSimpleNode.java" tofile="out-dir/SimpleNode.java" ></copy> > >- <java failonerror="true" fork="true" outputproperty="test9.out" classname="jjtree" classpath="../../bin/lib/javacc.jar"> >- <arg line="Tree.jjt" /> >+ <java failonerror="true" fork="true" outputproperty="test9.out" classname="jjtree" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Tree.jjt" ></arg> > </java> >- <echo>${test9.out}</echo> >+ <echo >${test9.out}</echo> > >- <fail message="Incompatible JJtree Nodes Failed"> >- <condition> >- <not> <contains string="${test9.out}" substring="Warning: SimpleNode.java: Generated using incompatible options. Please rename or delete this file so that a new one can be generated for you." /> </not> >+ <fail message="Incompatible JJtree Nodes Failed" > >+ <condition > >+ <not > <contains string="${test9.out}" substring="Warning: SimpleNode.java: Generated using incompatible options. Please rename or delete this file so that a new one can be generated for you." ></contains> </not> > </condition> > </fail> > >@@ -225,8 +176,8 @@ > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/imports/build.xml.orig 2021-12-21 15:11:44.840676375 +0100 >+++ ./test/imports/build.xml 2021-12-21 15:11:45.002673221 +0100 >@@ -1,56 +1,23 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-imports" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2007, Paul Cager >-All rights reserved. > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >+ <delete dir="out-dir" ></delete> > >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-imports" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- >- >- <delete dir="out-dir" /> >- >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="Parser.jj" /> >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="Parser.jj" ></arg> > </java> > >- <javac srcdir="out-dir" >- destdir="out-dir" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >+ <javac srcdir="out-dir" destdir="out-dir" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> > > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/javacodeLA/build.xml.orig 2021-12-21 15:11:44.846676258 +0100 >+++ ./test/javacodeLA/build.xml 2021-12-21 15:11:45.008673104 +0100 >@@ -1,168 +1,135 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-javacodeLA" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2007, Paul Cager >-All rights reserved. > >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: > >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >+ <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >+ <arg line="javacode.jj" ></arg> >+ </java> > >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >+ <javac srcdir="out-dir" destdir="out-dir" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> > >---> >+ <echo >Test 1</echo> >+ <java classname="JavacodeTest" classpath="out-dir" outputproperty="test1.out" inputstring="A" failonerror="true" > <arg line="j" ></arg> </java> >+ <echo >${test1.out}</echo> >+ >+ <echo >Test 2</echo> >+ <java classname="JavacodeTest" classpath="out-dir" outputproperty="test2.out" inputstring="D" failonerror="true" > <arg line="j" ></arg> </java> >+ <echo >${test2.out}</echo> >+ >+ <echo >Test 3</echo> >+ <java classname="JavacodeTest" classpath="out-dir" outputproperty="test3.out" inputstring="C" failonerror="true" > <arg line="j" ></arg> </java> >+ <echo >${test3.out}</echo> >+ >+ <fail message="JAVACODE failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test1.out}" substring="Answer is: A" ></contains> </not> >+ <not > <contains string="${test2.out}" substring="Answer is: D" ></contains> </not> >+ <not > <contains string="${test3.out}" substring="Answer is: javacode" ></contains> </not> >+ </or> >+ </condition> >+ </fail> > >-<project name="test-javacodeLA" default="test" basedir="."> > >- <target name="test" depends="" description="run functional test cases"> > >- <!-- JAVACODE --> >+ <echo >Test 4</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test4.err" outputproperty="test4.out" inputstring="C" failonerror="false" > <arg line="n" ></arg> </java> >+ <echo >${test4.out}</echo> > >- <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar"> >- <arg line="javacode.jj" /> >- </java> > >- <javac srcdir="out-dir" >- destdir="out-dir" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- >- <echo>Test 1</echo> >- <java classname="JavacodeTest" classpath="out-dir" outputproperty="test1.out" inputstring="A" failonerror="true"> <arg line="j" /> </java> >- <echo>${test1.out}</echo> >- >- <echo>Test 2</echo> >- <java classname="JavacodeTest" classpath="out-dir" outputproperty="test2.out" inputstring="D" failonerror="true"> <arg line="j" /> </java> >- <echo>${test2.out}</echo> >- >- <echo>Test 3</echo> >- <java classname="JavacodeTest" classpath="out-dir" outputproperty="test3.out" inputstring="C" failonerror="true"> <arg line="j" /> </java> >- <echo>${test3.out}</echo> >- >- <fail message="JAVACODE failed"> >- <condition> >- <or> >- <not> <contains string="${test1.out}" substring="Answer is: A" /> </not> >- <not> <contains string="${test2.out}" substring="Answer is: D" /> </not> >- <not> <contains string="${test3.out}" substring="Answer is: javacode" /> </not> >+ <echo >Test 5</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test5.err" outputproperty="test5.out" inputstring="B" failonerror="false" > <arg line="n" ></arg> </java> >+ <echo >${test5.out}</echo> >+ >+ <fail message="Non-JAVACODE failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test4.err}" substring='ParseException: Encountered " "C' ></contains> </not> >+ <not > <contains string="${test5.err}" substring='ParseException: Encountered " "B' ></contains> </not> > </or> > </condition> > </fail> > >- <!-- NON-JAVACODE --> > >- <echo>Test 4</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test4.err" outputproperty="test4.out" inputstring="C" failonerror="false"> <arg line="n" /> </java> >- <echo>${test4.out}</echo> >- <!--<echo>${test4.err}</echo>--> >- >- <echo>Test 5</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test5.err" outputproperty="test5.out" inputstring="B" failonerror="false"> <arg line="n" /> </java> >- <echo>${test5.out}</echo> >- >- <fail message="Non-JAVACODE failed"> >- <condition> >- <or> >- <not> <contains string="${test4.err}" substring="ParseException: Encountered " "C" /> </not> >- <not> <contains string="${test5.err}" substring="ParseException: Encountered " "B" /> </not> >- </or> >- </condition> >- </fail> >- >- <!-- SEMANTIC --> > >- <echo>Test 6</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test6.err" outputproperty="test6.out" inputstring="C" failonerror="false"> <arg line="s" /> </java> >- <echo>${test6.out}</echo> >- >- <echo>Test 7</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test7.err" outputproperty="test7.out" inputstring="B" failonerror="false"> <arg line="s" /> </java> >- <echo>${test7.out}</echo> >- <echo>${test7.err}</echo> >- >- <fail message="Seamantic failed"> >- <condition> >- <or> >- <not> <contains string="${test6.out}" substring="Answer is: ." /> </not> >- <not> <contains string="${test7.out}" substring="Answer is: ." /> </not> >+ <echo >Test 6</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test6.err" outputproperty="test6.out" inputstring="C" failonerror="false" > <arg line="s" ></arg> </java> >+ <echo >${test6.out}</echo> >+ >+ <echo >Test 7</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test7.err" outputproperty="test7.out" inputstring="B" failonerror="false" > <arg line="s" ></arg> </java> >+ <echo >${test7.out}</echo> >+ <echo >${test7.err}</echo> >+ >+ <fail message="Seamantic failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test6.out}" substring="Answer is: ." ></contains> </not> >+ <not > <contains string="${test7.out}" substring="Answer is: ." ></contains> </not> > </or> > </condition> > </fail> > >- <!-- INDIRECT JAVACODE --> > >- <echo>Test 8</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test8.err" outputproperty="test8.out" inputstring="C" failonerror="true"> <arg line="i" /> </java> >- <echo>${test8.out}</echo> >- >- <echo>Test 9</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test9.err" outputproperty="test9.out" inputstring="B" failonerror="true"> <arg line="i" /> </java> >- <echo>${test9.out}</echo> >- <echo>${test9.err}</echo> >- >- <echo>Test 10</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test10.err" outputproperty="test10.out" inputstring="C" failonerror="false"> <arg line="I" /> </java> >- <echo>${test10.out}</echo> >- <echo>${test10.err}</echo> >- >- <fail message="Indirect Javacode failed"> >- <condition> >- <or> >- <not> <contains string="${test8.out}" substring="Answer is: javacode C." /> </not> >- <not> <contains string="${test9.out}" substring="Answer is: javacode B." /> </not> >- <not> <contains string="${test10.err}" substring="ParseException" /> </not> >+ >+ <echo >Test 8</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test8.err" outputproperty="test8.out" inputstring="C" failonerror="true" > <arg line="i" ></arg> </java> >+ <echo >${test8.out}</echo> >+ >+ <echo >Test 9</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test9.err" outputproperty="test9.out" inputstring="B" failonerror="true" > <arg line="i" ></arg> </java> >+ <echo >${test9.out}</echo> >+ <echo >${test9.err}</echo> >+ >+ <echo >Test 10</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test10.err" outputproperty="test10.out" inputstring="C" failonerror="false" > <arg line="I" ></arg> </java> >+ <echo >${test10.out}</echo> >+ <echo >${test10.err}</echo> >+ >+ <fail message="Indirect Javacode failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test8.out}" substring="Answer is: javacode C." ></contains> </not> >+ <not > <contains string="${test9.out}" substring="Answer is: javacode B." ></contains> </not> >+ <not > <contains string="${test10.err}" substring="ParseException" ></contains> </not> > </or> > </condition> > </fail> > >- <!-- JAVACODE NO LOOKAHEAD --> > >- <echo>Test 11</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test11.err" outputproperty="test11.out" inputstring="C" failonerror="true"> <arg line="N" /> </java> >- <echo>${test11.out}</echo> >- >- <echo>Test 12</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test12.err" outputproperty="test12.out" inputstring="B" failonerror="true"> <arg line="N" /> </java> >- <echo>${test12.out}</echo> >- <echo>${test12.err}</echo> >- >- <echo>Test 13</echo> >- <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test13.err" outputproperty="test13.out" inputstring="C" failonerror="false"> <arg line="N" /> </java> >- <echo>${test13.out}</echo> >- <echo>${test13.err}</echo> >- >- <fail message="Javacode with no lookahead failed"> >- <condition> >- <or> >- <not> <contains string="${test11.out}" substring="Answer is: javacode C." /> </not> >- <not> <contains string="${test12.out}" substring="Answer is: javacode B." /> </not> >- <not> <contains string="${test13.out}" substring="Answer is: javacode C." /> </not> >+ >+ <echo >Test 11</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test11.err" outputproperty="test11.out" inputstring="C" failonerror="true" > <arg line="N" ></arg> </java> >+ <echo >${test11.out}</echo> >+ >+ <echo >Test 12</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test12.err" outputproperty="test12.out" inputstring="B" failonerror="true" > <arg line="N" ></arg> </java> >+ <echo >${test12.out}</echo> >+ <echo >${test12.err}</echo> >+ >+ <echo >Test 13</echo> >+ <java fork="true" classname="JavacodeTest" classpath="out-dir" errorproperty="test13.err" outputproperty="test13.out" inputstring="C" failonerror="false" > <arg line="N" ></arg> </java> >+ <echo >${test13.out}</echo> >+ <echo >${test13.err}</echo> >+ >+ <fail message="Javacode with no lookahead failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test11.out}" substring="Answer is: javacode C." ></contains> </not> >+ <not > <contains string="${test12.out}" substring="Answer is: javacode B." ></contains> </not> >+ <not > <contains string="${test13.out}" substring="Answer is: javacode C." ></contains> </not> > </or> > </condition> > </fail> > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/lineNumbers/build.xml.orig 2021-12-21 15:11:44.855676083 +0100 >+++ ./test/lineNumbers/build.xml 2021-12-21 15:11:45.009673084 +0100 >@@ -1,61 +1,29 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-linenumbers" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2006, Sun Microsystems, Inc. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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. >- * Neither the name of the Sun Microsystems, Inc. nor the names of its >- contributors may be used to endorse or promote products derived from >- this software without specific prior written permission. >- >-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-linenumbers" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- >- <java failonerror="true" fork="true" classname="jjtree" classpath="../../bin/lib/javacc.jar"> >- <arg line="JJTree.jjt" /> >+ <java failonerror="true" fork="true" classname="jjtree" classpath="../../bin/lib/javacc.jar" > >+ <arg line="JJTree.jjt" ></arg> > </java> > > <java failonerror="true" fork="true" classname="javacc" outputProperty="test.out" classpath="../../bin/lib/javacc.jar" > >- <arg line="out-dir/JJTree.jj" /> >+ <arg line="out-dir/JJTree.jj" ></arg> > </java> > >- <echo>${test.out}</echo> >+ <echo >${test.out}</echo> > >- <fail message="Line Numbers failed"> >- <condition> >- <or> >- <not> >- <contains string="${test.out}" substring="Line 364, Column 18: Encountered LOOKAHEAD" /> >+ <fail message="Line Numbers failed" > >+ <condition > >+ <or > >+ <not > >+ <contains string="${test.out}" substring="Line 364, Column 18: Encountered LOOKAHEAD" ></contains> > </not> >- <not> >- <contains string="${test.out}" substring="Line 1197, Column 20: Encountered LOOKAHEAD" /> >+ <not > >+ <contains string="${test.out}" substring="Line 1197, Column 20: Encountered LOOKAHEAD" ></contains> > </not> >- <not> >- <contains string="${test.out}" substring="Line 1962, Column 19: Encountered LOOKAHEAD" /> >+ <not > >+ <contains string="${test.out}" substring="Line 1962, Column 19: Encountered LOOKAHEAD" ></contains> > </not> > </or> > </condition> >@@ -63,8 +31,8 @@ > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/newToken/build.xml.orig 2021-12-21 15:11:44.863675927 +0100 >+++ ./test/newToken/build.xml 2021-12-21 15:11:45.011673045 +0100 >@@ -1,79 +1,50 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-newtoken" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2007, Paul Cager. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-newtoken" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- >- <delete dir="out-dir" /> >+ <delete dir="out-dir" ></delete> > > <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >- <arg line="Parser.jj" /> >+ <arg line="Parser.jj" ></arg> > </java> > >- <loadfile property="plainTokens" srcFile="out-dir/ParserTokenManager.java" /> >+ <loadfile property="plainTokens" srcFile="out-dir/ParserTokenManager.java" ></loadfile> > >- <!-- Now with a pre-existing, old-format Token.java... --> >- <delete file="out-dir/Token.java" /> >- <copy file="OldToken.java" tofile="out-dir/Token.java" /> >+ >+ <delete file="out-dir/Token.java" ></delete> >+ <copy file="OldToken.java" tofile="out-dir/Token.java" ></copy> > > <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >- <arg line="Parser.jj" /> >+ <arg line="Parser.jj" ></arg> > </java> > >- <loadfile property="oldTokens" srcFile="out-dir/ParserTokenManager.java" /> >+ <loadfile property="oldTokens" srcFile="out-dir/ParserTokenManager.java" ></loadfile> >+ > >- <!-- Now with a Token Factory --> >- <delete file="out-dir/Token.java" /> >+ <delete file="out-dir/Token.java" ></delete> > > <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >- <arg line="ParserTokenFactory.jj" /> >+ <arg line="ParserTokenFactory.jj" ></arg> > </java> > >- <loadfile property="tokenFactory" srcFile="out-dir/ParserTokenManager.java" /> >+ <loadfile property="tokenFactory" srcFile="out-dir/ParserTokenManager.java" ></loadfile> > > >- <fail message="newToken failed"> >- <condition> >- <or> >- <not> <contains string="${plainTokens}" substring="t = Token.newToken(jjmatchedKind, curTokenImage);" /> </not> >- <not> <contains string="${oldTokens}" substring="t = Token.newToken(jjmatchedKind);" /> </not> >- <not> <contains string="${tokenFactory}" substring="t = my.token.Factory.newToken(jjmatchedKind, curTokenImage);" /> </not> >+ <fail message="newToken failed" > >+ <condition > >+ <or > >+ <not > <contains string="${plainTokens}" substring="t = Token.newToken(jjmatchedKind, curTokenImage);" ></contains> </not> >+ <not > <contains string="${oldTokens}" substring="t = Token.newToken(jjmatchedKind);" ></contains> </not> >+ <not > <contains string="${tokenFactory}" substring="t = my.token.Factory.newToken(jjmatchedKind, curTokenImage);" ></contains> </not> > </or> > </condition> > </fail> > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >--- ./test/lom/build.xml.orig 2021-12-21 15:11:44.871675771 +0100 >+++ ./test/lom/build.xml 2021-12-21 15:11:45.013673006 +0100 >@@ -1,68 +1,35 @@ >-<?xml version='1.0' encoding='ISO-8859-1' ?> >+<?xml version="1.0" encoding="UTF-8"?> >+<project name="test-lom" default="test" basedir="." > > >-<!-- >+ <target name="test" depends="" description="run functional test cases" > > >-Copyright (c) 2007, Paul Cager. >-All rights reserved. >- >-Redistribution and use in source and binary forms, with or without >-modification, are permitted provided that the following conditions are met: >- >- * Redistributions of source code must retain the above copyright notice, >- this list of conditions and the following disclaimer. >- * 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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. >- >---> >- >-<project name="test-lom" default="test" basedir="."> >- >- <target name="test" depends="" description="run functional test cases"> >- >- <delete dir="out-dir" /> >+ <delete dir="out-dir" ></delete> > > <java failonerror="true" fork="true" classname="javacc" classpath="../../bin/lib/javacc.jar" > >- <arg line="Parser.jj" /> >+ <arg line="Parser.jj" ></arg> > </java> > >- <javac srcdir="out-dir" >- destdir="out-dir" >- source="1.5" >- debug="true" >- classpath="../../bin/lib/javacc.jar"> >- </javac> >- >- <java classname="Parser" classpath="out-dir" outputproperty="test.out" failonerror="true"> </java> >- <echo>${test.out}</echo> >- >- <fail message="lengthOfMessage failed"> >- <condition> >- <or> >- <not> <contains string="${test.out}" substring="PLAIN_STRING=12" /> </not> >- <not> <contains string="${test.out}" substring="a-z=3" /> </not> >- <not> <contains string="${test.out}" substring="space=1" /> </not> >- <not> <contains string="${test.out}" substring="A|B=1" /> </not> >+ <javac srcdir="out-dir" destdir="out-dir" debug="true" source="1.6" target="1.6" nowarn="yes" classpath="${gentoo.classpath}" > >+ <classpath path="${gentoo.classpath}" ></classpath></javac> >+ >+ <java classname="Parser" classpath="out-dir" outputproperty="test.out" failonerror="true" > </java> >+ <echo >${test.out}</echo> >+ >+ <fail message="lengthOfMessage failed" > >+ <condition > >+ <or > >+ <not > <contains string="${test.out}" substring="PLAIN_STRING=12" ></contains> </not> >+ <not > <contains string="${test.out}" substring="a-z=3" ></contains> </not> >+ <not > <contains string="${test.out}" substring="space=1" ></contains> </not> >+ <not > <contains string="${test.out}" substring="A|B=1" ></contains> </not> > </or> > </condition> > </fail> > > </target> > >- <target name="clean"> >- <delete dir="out-dir" /> >+ <target name="clean" > >+ <delete dir="out-dir" ></delete> > </target> > > </project> >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc ... > [32m*[0m Disabling all optional ANT_TASKS >ant -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore --execdebug -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >arg : -debug >quoted_arg: "-debug" >arg : -Dmaven.test.skip=true >quoted_arg: "-Dmaven.test.skip=true" >arg : -Dgentoo.classpath=/usr/share/junit/lib/junit.jar >quoted_arg: "-Dgentoo.classpath=/usr/share/junit/lib/junit.jar" >arg : jar >quoted_arg: "jar" >arg : -f >quoted_arg: "-f" >arg : build.xml >quoted_arg: "build.xml" >Warning: Unable to determine tools.jar location. > If build fails because sun.* classes could not be found, > Make sure you are using a JDK, not JRE as your user/system VM. > and that you have java-config version 2.0.30 or above installed. >exec "/usr/lib64/openjdk-17/bin/java" -classpath "/usr/share/ant/lib/ant-launcher.jar" -Dant.home="/usr/share/ant" -Dant.library.dir="/usr/share/ant/lib" org.apache.tools.ant.launch.Launcher -cp "" "-Dnoget=true" "-Dmaven.mode.offline=true" "-Dbuild.sysclasspath=ignore" "-debug" "-Dmaven.test.skip=true" "-Dgentoo.classpath=/usr/share/junit/lib/junit.jar" "jar" "-f" "build.xml" >Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Buildfile: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Adding reference: ant.PropertyHelper >Detected Java version: 17 in: /usr/lib64/openjdk-17 >Detected OS: Linux >Adding reference: ant.ComponentHelper >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: maven.test.skip -> true >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file.type -> file >Setting ro project property: ant.project.invoked-targets -> jar >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.project.name -> javacc >Adding reference: javacc >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file.type.javacc -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc > +Target: > +Target: compile > +Target: generated-files > +Target: classes > +Target: resources > +Target: javacc-compile > +Target: jjdoc-compile > +Target: jjtree-compile > +Target: jar > +Target: jar-nocompile > +Target: jar-check > +Target: update-bootstrap > +Target: clean > +Target: realclean > +Target: osCheck > +Target: binary-distribution > +Target: unittest > +Target: javadoc > +Target: test >Adding reference: ant.LocalProperties >parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file > [property] Loading /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/version.properties >Setting project property: version.patch -> 0 >Setting project property: version.major -> 5 >Setting project property: version.minor -> 0 >Setting project property: version -> 5.0 >Class org.apache.tools.ant.taskdefs.condition.Os loaded from parent loader (parentFirst) >Condition true; setting isUnix to true >Setting project property: isUnix -> true >Setting ro project property: ant.project.invoked-targets -> jar >Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor >Adding reference: ant.executor >Build sequence for target(s) `jar' is [generated-files, resources, classes, javacc-compile, jjtree-compile, jjdoc-compile, compile, jar] >Complete build sequence is [generated-files, resources, classes, javacc-compile, jjtree-compile, jjdoc-compile, compile, jar, clean, realclean, unittest, test, osCheck, binary-distribution, update-bootstrap, javadoc, jar-check, jar-nocompile, ] > >generated-files: >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> jar >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.project.name -> javacc >Setting project property: java.version.date -> 2021-10-19 >Setting project property: os.arch -> amd64 >Setting project property: user.home -> /var/lib/portage/home >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: user.name -> portage >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: line.separator -> >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: file.separator -> / >Setting project property: isUnix -> true >Setting project property: file.encoding -> UTF-8 >Setting project property: java.specification.version -> 17 >Setting project property: jdk.debug -> release >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: version.patch -> 0 >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: version.major -> 5 >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: user.language -> en >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: ant.home -> /usr/share/ant >Setting project property: os.name -> Linux >Setting project property: java.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: native.encoding -> UTF-8 >Setting project property: sun.cpu.endian -> little >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: version.minor -> 0 >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: java.vm.specification.version -> 17 >Setting project property: java.runtime.version -> 17.0.1+12 >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: path.separator -> : >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: sun.arch.data.model -> 64 >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: version -> 5.0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: java.class.version -> 61.0 >Setting project property: java.version -> 17.0.1 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: user.country -> US >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > [ant] calling target(s) [parser-files] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.project.name -> javacc-compile >Adding reference: javacc-compile >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file.type.javacc-compile -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > +Target: > +Target: compile > +Target: compile-nojar > +Target: clean > +Target: generated-files > +Target: parser-files-init > +Target: parser-files >Adding reference: ant.LocalProperties >Setting project property: javacc.root -> ../../../.. >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main >Setting project property: junit.jar -> ../../../../lib/junit3.8.1/junit.jar > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml... >Setting ro project property: ant.project.invoked-targets -> parser-files >Build sequence for target(s) `parser-files' is [parser-files-init, parser-files] >Complete build sequence is [parser-files-init, parser-files, generated-files, clean, compile-nojar, compile, ] > >parser-files-init: >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser with patternSet{ includes: [JavaCCParser.java] excludes: [] } > [uptodate] No sources found. >Setting project property: parser.gen -> true > [uptodate] File "/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCC.jj" is up-to-date. > >parser-files: > [java] Executing '/usr/lib64/openjdk-17/bin/java' with arguments: > [java] '-classpath' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' > [java] 'org.javacc.parser.Main' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCC.jj' > [java] > [java] The ' characters around the executable and arguments are > [java] not part of the command. >Execute:Java13CommandLauncher: Executing '/usr/lib64/openjdk-17/bin/java' with arguments: >'-classpath' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' >'org.javacc.parser.Main' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCC.jj' > >The ' characters around the executable and arguments are >not part of the command. > [java] Java Compiler Compiler Version 4.1d1 (Parser Generator) > [java] (type "javacc" with no arguments for help) > [java] Reading from file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCC.jj . . . > [java] File "TokenMgrError.java" does not exist. Will create one. > [java] File "ParseException.java" does not exist. Will create one. > [java] File "JavaCharStream.java" does not exist. Will create one. > [java] Parser generated with 0 errors and 1 warnings. > [java] Warning: Token.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml. >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> jar >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.project.name -> javacc >Setting project property: java.version.date -> 2021-10-19 >Setting project property: os.arch -> amd64 >Setting project property: user.home -> /var/lib/portage/home >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: user.name -> portage >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: line.separator -> >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: file.separator -> / >Setting project property: isUnix -> true >Setting project property: file.encoding -> UTF-8 >Setting project property: java.specification.version -> 17 >Setting project property: jdk.debug -> release >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: version.patch -> 0 >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: version.major -> 5 >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: user.language -> en >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: ant.home -> /usr/share/ant >Setting project property: os.name -> Linux >Setting project property: java.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: native.encoding -> UTF-8 >Setting project property: sun.cpu.endian -> little >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: version.minor -> 0 >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: java.vm.specification.version -> 17 >Setting project property: java.runtime.version -> 17.0.1+12 >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: path.separator -> : >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: sun.arch.data.model -> 64 >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: version -> 5.0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: java.class.version -> 61.0 >Setting project property: java.version -> 17.0.1 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: user.country -> US >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree > [ant] calling target(s) [tree-files] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.project.name -> javacc-compile >Adding reference: javacc-compile >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.file.type.javacc-compile -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree > +Target: > +Target: compile > +Target: compile-nojar > +Target: clean > +Target: generated-files > +Target: tree-files-init > +Target: tree-files >Adding reference: ant.LocalProperties >Setting project property: javacc.root -> ../../../.. >Setting project property: bootstrap.jjtree.mainclass -> org.javacc.jjtree.Main >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml... >Setting ro project property: ant.project.invoked-targets -> tree-files >Build sequence for target(s) `tree-files' is [tree-files-init, tree-files] >Complete build sequence is [tree-files-init, tree-files, generated-files, clean, compile-nojar, compile, ] > >tree-files-init: >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree with patternSet{ includes: [JJTreeParser.java] excludes: [] } > [uptodate] No sources found. >Setting project property: tree.gen -> true > [uptodate] File "/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jjt" is up-to-date. > >tree-files: > [java] Executing '/usr/lib64/openjdk-17/bin/java' with arguments: > [java] '-classpath' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' > [java] 'org.javacc.jjtree.Main' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jjt' > [java] > [java] The ' characters around the executable and arguments are > [java] not part of the command. >Execute:Java13CommandLauncher: Executing '/usr/lib64/openjdk-17/bin/java' with arguments: >'-classpath' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' >'org.javacc.jjtree.Main' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jjt' > >The ' characters around the executable and arguments are >not part of the command. > [java] Java Compiler Compiler Version 4.1d1 (Tree Builder) > [java] (type "jjtree" with no arguments for help) > [java] Reading from file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jjt . . . > [java] File "Node.java" does not exist. Will create one. > [java] File "SimpleNode.java" does not exist. Will create one. > [java] File "ASTProductions.java" does not exist. Will create one. > [java] File "ASTRE.java" does not exist. Will create one. > [java] File "ASTTokenDecls.java" does not exist. Will create one. > [java] File "ASTRESpec.java" does not exist. Will create one. > [java] File "ASTBNFChoice.java" does not exist. Will create one. > [java] File "ASTBNFSequence.java" does not exist. Will create one. > [java] File "ASTBNFLookahead.java" does not exist. Will create one. > [java] File "ASTBNFZeroOrOne.java" does not exist. Will create one. > [java] File "ASTBNFTryBlock.java" does not exist. Will create one. > [java] File "ASTBNFAssignment.java" does not exist. Will create one. > [java] File "ASTBNFNonTerminal.java" does not exist. Will create one. > [java] File "ASTBNFOneOrMore.java" does not exist. Will create one. > [java] File "ASTBNFZeroOrMore.java" does not exist. Will create one. > [java] File "ASTBNFParenthesized.java" does not exist. Will create one. > [java] File "ASTREStringLiteral.java" does not exist. Will create one. > [java] File "ASTRENamed.java" does not exist. Will create one. > [java] File "ASTREReference.java" does not exist. Will create one. > [java] File "ASTREEOF.java" does not exist. Will create one. > [java] File "ASTREChoice.java" does not exist. Will create one. > [java] File "ASTRESequence.java" does not exist. Will create one. > [java] File "ASTREOneOrMore.java" does not exist. Will create one. > [java] File "ASTREZeroOrMore.java" does not exist. Will create one. > [java] File "ASTREZeroOrOne.java" does not exist. Will create one. > [java] File "ASTRRepetitionRange.java" does not exist. Will create one. > [java] File "ASTREParenthesized.java" does not exist. Will create one. > [java] File "ASTRECharList.java" does not exist. Will create one. > [java] File "ASTCharDescriptor.java" does not exist. Will create one. > [java] File "ASTPrimaryExpression.java" does not exist. Will create one. > [java] File "JJTreeParserTreeConstants.java" does not exist. Will create one. > [java] File "JJTJJTreeParserState.java" does not exist. Will create one. > [java] Annotated grammar generated successfully in ./JJTree.jj > [java] Executing '/usr/lib64/openjdk-17/bin/java' with arguments: > [java] '-classpath' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' > [java] 'org.javacc.parser.Main' > [java] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jj' > [java] > [java] The ' characters around the executable and arguments are > [java] not part of the command. >Execute:Java13CommandLauncher: Executing '/usr/lib64/openjdk-17/bin/java' with arguments: >'-classpath' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/bootstrap/javacc.jar' >'org.javacc.parser.Main' >'/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jj' > >The ' characters around the executable and arguments are >not part of the command. > [java] Java Compiler Compiler Version 4.1d1 (Parser Generator) > [java] (type "javacc" with no arguments for help) > [java] Reading from file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jj . . . > [java] File "TokenMgrError.java" does not exist. Will create one. > [java] File "ParseException.java" does not exist. Will create one. > [java] File "JavaCharStream.java" does not exist. Will create one. > [java] Parser generated with 0 errors and 1 warnings. > [java] Warning: Token.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml. > >resources: >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates with patternSet{ includes: [] excludes: [] } > [copy] CharStream.template added as CharStream.template doesn't exist. > [copy] JavaCharStream.template added as JavaCharStream.template doesn't exist. > [copy] MultiNode.template added as MultiNode.template doesn't exist. > [copy] Node.template added as Node.template doesn't exist. > [copy] ParseException.template added as ParseException.template doesn't exist. > [copy] SimpleCharStream.template added as SimpleCharStream.template doesn't exist. > [copy] SimpleNode.template added as SimpleNode.template doesn't exist. > [copy] Token.template added as Token.template doesn't exist. > [copy] TokenManager.template added as TokenManager.template doesn't exist. > [copy] TokenMgrError.template added as TokenMgrError.template doesn't exist. > [copy] added as doesn't exist. > [copy] Copying 10 files to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/CharStream.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/CharStream.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/JavaCharStream.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/JavaCharStream.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/MultiNode.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/MultiNode.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/Node.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/Node.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/ParseException.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/ParseException.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/SimpleCharStream.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/SimpleCharStream.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/SimpleNode.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/SimpleNode.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/Token.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/Token.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/TokenManager.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/TokenManager.template > [copy] Copying /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/templates/TokenMgrError.template to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes/templates/TokenMgrError.template > >classes: > [mkdir] Skipping /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes because it already exists. > >javacc-compile: >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> jar >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.project.name -> javacc >Setting project property: java.version.date -> 2021-10-19 >Setting project property: os.arch -> amd64 >Setting project property: user.home -> /var/lib/portage/home >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: user.name -> portage >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: line.separator -> >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: file.separator -> / >Setting project property: isUnix -> true >Setting project property: file.encoding -> UTF-8 >Setting project property: java.specification.version -> 17 >Setting project property: jdk.debug -> release >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: version.patch -> 0 >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: version.major -> 5 >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: user.language -> en >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: ant.home -> /usr/share/ant >Setting project property: os.name -> Linux >Setting project property: java.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: native.encoding -> UTF-8 >Setting project property: sun.cpu.endian -> little >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: version.minor -> 0 >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: java.vm.specification.version -> 17 >Setting project property: java.runtime.version -> 17.0.1+12 >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: path.separator -> : >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: sun.arch.data.model -> 64 >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: version -> 5.0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: java.class.version -> 61.0 >Setting project property: java.version -> 17.0.1 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: user.country -> US >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > [ant] calling target(s) [compile-nojar] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.project.name -> javacc-compile >Adding reference: javacc-compile >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file.type.javacc-compile -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > +Target: > +Target: compile > +Target: compile-nojar > +Target: clean > +Target: generated-files > +Target: parser-files-init > +Target: parser-files >Adding reference: ant.LocalProperties >Setting project property: javacc.root -> ../../../.. >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main >Setting project property: junit.jar -> ../../../../lib/junit3.8.1/junit.jar > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml... >Setting ro project property: ant.project.invoked-targets -> compile-nojar >Build sequence for target(s) `compile-nojar' is [generated-files, compile-nojar] >Complete build sequence is [generated-files, compile-nojar, parser-files-init, parser-files, clean, compile, ] > >generated-files: >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> compile-nojar >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.file.type.javacc-compile -> file >Setting ro project property: ant.project.name -> javacc-compile >Setting project property: user.country -> US >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: version.minor -> 0 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: user.name -> portage >Setting project property: native.encoding -> UTF-8 >Setting project property: javacc.root -> ../../../.. >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.class.version -> 61.0 >Setting project property: os.arch -> amd64 >Setting project property: user.language -> en >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: file.separator -> / >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: java.specification.version -> 17 >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: ant.home -> /usr/share/ant >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: line.separator -> >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: jdk.debug -> release >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: java.version -> 17.0.1 >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: sun.arch.data.model -> 64 >Setting project property: java.version.date -> 2021-10-19 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor -> Gentoo >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: user.home -> /var/lib/portage/home >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: path.separator -> : >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: os.name -> Linux >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: version -> 5.0 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: junit.jar -> ../../../../lib/junit3.8.1/junit.jar >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: java.vm.specification.version -> 17 >Setting project property: sun.cpu.endian -> little >Setting project property: version.major -> 5 >Setting project property: file.encoding -> UTF-8 >Setting project property: isUnix -> true >Setting project property: version.patch -> 0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.runtime.version -> 17.0.1+12 >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc > [ant] calling target(s) [generated-files] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.project.name -> javacc >Adding reference: javacc >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file.type.javacc -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc > +Target: > +Target: compile > +Target: generated-files > +Target: classes > +Target: resources > +Target: javacc-compile > +Target: jjdoc-compile > +Target: jjtree-compile > +Target: jar > +Target: jar-nocompile > +Target: jar-check > +Target: update-bootstrap > +Target: clean > +Target: realclean > +Target: osCheck > +Target: binary-distribution > +Target: unittest > +Target: javadoc > +Target: test >Adding reference: ant.LocalProperties > [property] Loading /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/version.properties >Override ignored for property "version.patch" >Override ignored for property "version.major" >Override ignored for property "version.minor" >Override ignored for property "version" >Condition true; setting isUnix to true >Override ignored for property "isUnix" > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml... >Setting ro project property: ant.project.invoked-targets -> generated-files >Build sequence for target(s) `generated-files' is [generated-files] >Complete build sequence is [generated-files, clean, realclean, resources, classes, javacc-compile, jjtree-compile, jjdoc-compile, compile, jar, unittest, test, osCheck, binary-distribution, update-bootstrap, javadoc, jar-check, jar-nocompile, ] > >generated-files: >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> generated-files >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.project.name -> javacc >Setting ro project property: ant.file.type.javacc-compile -> file >Setting project property: user.country -> US >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: version.minor -> 0 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: user.name -> portage >Setting project property: native.encoding -> UTF-8 >Setting project property: javacc.root -> ../../../.. >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.class.version -> 61.0 >Setting project property: os.arch -> amd64 >Setting project property: user.language -> en >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: file.separator -> / >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: java.specification.version -> 17 >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: ant.home -> /usr/share/ant >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: line.separator -> >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: jdk.debug -> release >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: java.version -> 17.0.1 >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: sun.arch.data.model -> 64 >Setting project property: java.version.date -> 2021-10-19 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor -> Gentoo >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: user.home -> /var/lib/portage/home >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: path.separator -> : >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: os.name -> Linux >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: version -> 5.0 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: junit.jar -> ../../../../lib/junit3.8.1/junit.jar >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: java.vm.specification.version -> 17 >Setting project property: sun.cpu.endian -> little >Setting project property: version.major -> 5 >Setting project property: file.encoding -> UTF-8 >Setting project property: isUnix -> true >Setting project property: version.patch -> 0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.runtime.version -> 17.0.1+12 >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > [ant] calling target(s) [parser-files] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.project.name -> javacc-compile >Adding reference: javacc-compile >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: ant.file.type.javacc-compile -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser > +Target: > +Target: compile > +Target: compile-nojar > +Target: clean > +Target: generated-files > +Target: parser-files-init > +Target: parser-files >Adding reference: ant.LocalProperties >Override ignored for property "javacc.root" >Override ignored for property "bootstrap.javacc.mainclass" >Override ignored for property "junit.jar" > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml... >Setting ro project property: ant.project.invoked-targets -> parser-files >Build sequence for target(s) `parser-files' is [parser-files-init, parser-files] >Complete build sequence is [parser-files-init, parser-files, generated-files, clean, compile-nojar, compile, ] > >parser-files-init: >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser with patternSet{ includes: [JavaCCParser.java] excludes: [] } > [uptodate] JavaCCParser.java added as JavaCC.jj is outdated. > >parser-files: >Skipped because property 'parser.gen' not set. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml. >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml >Setting ro project property: gentoo.classpath -> /usr/share/junit/lib/junit.jar >Setting ro project property: ant.file.type.javacc -> file >Setting ro project property: ant.project.invoked-targets -> generated-files >Setting ro project property: ant.file.type -> file >Setting ro project property: maven.test.skip -> true >Setting ro project property: build.sysclasspath -> ignore >Setting ro project property: ant.project.default-target -> jar >Setting ro project property: ant.file.javacc -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml >Setting ro project property: noget -> true >Setting ro project property: maven.mode.offline -> true >Setting ro project property: ant.project.name -> javacc >Setting ro project property: ant.file.type.javacc-compile -> file >Setting project property: user.country -> US >Setting project property: os.version -> 4.19.214-gentoo >Setting project property: version.minor -> 0 >Setting project property: java.io.tmpdir -> /tmp >Setting project property: java.vendor.url.bug -> https://bugs.gentoo.org >Setting project property: user.name -> portage >Setting project property: native.encoding -> UTF-8 >Setting project property: javacc.root -> ../../../.. >Setting project property: ant.core.lib -> /usr/share/ant/lib/ant.jar >Setting project property: java.class.version -> 61.0 >Setting project property: os.arch -> amd64 >Setting project property: user.language -> en >Setting project property: java.vm.specification.vendor -> Oracle Corporation >Setting project property: sun.boot.library.path -> /usr/lib64/openjdk-17/lib >Setting project property: file.separator -> / >Setting project property: java.runtime.name -> OpenJDK Runtime Environment >Setting project property: java.specification.version -> 17 >Setting project property: java.vm.specification.name -> Java Virtual Machine Specification >Setting project property: ant.home -> /usr/share/ant >Setting project property: ant.version -> Apache Ant(TM) version 1.10.9 compiled on June 18 2021 >Setting project property: sun.io.unicode.encoding -> UnicodeLittle >Setting project property: line.separator -> >Setting project property: ant.library.dir -> /usr/share/ant/lib >Setting project property: java.vm.version -> 17.0.1+12 >Setting project property: jdk.debug -> release >Setting project property: java.class.path -> /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-bootstrap.jar >Setting project property: java.version -> 17.0.1 >Setting project property: java.home -> /usr/lib64/openjdk-17 >Setting project property: sun.arch.data.model -> 64 >Setting project property: java.version.date -> 2021-10-19 >Setting project property: java.library.path -> /usr/lib64/openjdk-17/lib/server:/usr/lib64/openjdk-17/lib:/usr/lib64/openjdk-17/../lib:/usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib >Setting project property: java.vendor -> Gentoo >Setting project property: java.vm.info -> mixed mode, sharing >Setting project property: user.home -> /var/lib/portage/home >Setting project property: sun.java.launcher -> SUN_STANDARD >Setting project property: bootstrap.javacc.mainclass -> org.javacc.parser.Main >Setting project property: sun.stdout.encoding -> UTF-8 >Setting project property: path.separator -> : >Setting project property: java.vendor.url -> https://gentoo.org >Setting project property: os.name -> Linux >Setting project property: java.vendor.version -> 17.0.1_p12 >Setting project property: version -> 5.0 >Setting project property: sun.management.compiler -> HotSpot 64-Bit Tiered Compilers >Setting project property: java.specification.name -> Java Platform API Specification >Setting project property: user.dir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc >Setting project property: sun.jnu.encoding -> UTF-8 >Setting project property: java.vm.compressedOopsMode -> Zero based >Setting project property: junit.jar -> ../../../../lib/junit3.8.1/junit.jar >Setting project property: java.vm.name -> OpenJDK 64-Bit Server VM >Setting project property: java.specification.vendor -> Oracle Corporation >Setting project property: sun.java.command -> org.apache.tools.ant.launch.Launcher -cp -Dnoget=true -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -debug -Dmaven.test.skip=true -Dgentoo.classpath=/usr/share/junit/lib/junit.jar jar -f build.xml >Setting project property: java.vm.specification.version -> 17 >Setting project property: sun.cpu.endian -> little >Setting project property: version.major -> 5 >Setting project property: file.encoding -> UTF-8 >Setting project property: isUnix -> true >Setting project property: version.patch -> 0 >Setting project property: java.vm.vendor -> Gentoo >Setting project property: sun.stderr.encoding -> UTF-8 >Setting project property: java.runtime.version -> 17.0.1+12 >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree >Setting ro project property: basedir -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree > [ant] calling target(s) [tree-files] in build file /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.file -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Adding reference: ant.projectHelper >Adding reference: ant.parsing.context >Adding reference: ant.targets >parsing buildfile /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml with URI = file:/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.project.name -> javacc-compile >Adding reference: javacc-compile >Setting ro project property: ant.project.default-target -> compile >Setting ro project property: ant.file.javacc-compile -> /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml >Setting ro project property: ant.file.type.javacc-compile -> file >Project base dir set to: /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree > +Target: > +Target: compile > +Target: compile-nojar > +Target: clean > +Target: generated-files > +Target: tree-files-init > +Target: tree-files >Adding reference: ant.LocalProperties >Override ignored for property "javacc.root" >Setting project property: bootstrap.jjtree.mainclass -> org.javacc.jjtree.Main >Override ignored for property "bootstrap.javacc.mainclass" > [ant] Entering /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml... >Setting ro project property: ant.project.invoked-targets -> tree-files >Build sequence for target(s) `tree-files' is [tree-files-init, tree-files] >Complete build sequence is [tree-files-init, tree-files, generated-files, clean, compile-nojar, compile, ] > >tree-files-init: >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree with patternSet{ includes: [JJTreeParser.java] excludes: [] } > [uptodate] JJTreeParser.java added as JJTree.jjt is outdated. > >tree-files: >Skipped because property 'tree.gen' not set. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml. > >compile-nojar: >Property "build.compiler.debug" has not been set >fileset: Setup scanner in dir /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src with patternSet{ includes: [] excludes: [] } > [javac] javacc.java added as javacc.class doesn't exist. > [javac] jjdoc.java added as jjdoc.class doesn't exist. > [javac] jjtree.java added as jjtree.class doesn't exist. > [javac] org/javacc/JavaCCTestCase.java added as org/javacc/JavaCCTestCase.class doesn't exist. > [javac] org/javacc/Version.java added as org/javacc/Version.class doesn't exist. > [javac] org/javacc/jjdoc/BNFGenerator.java added as org/javacc/jjdoc/BNFGenerator.class doesn't exist. > [javac] org/javacc/jjdoc/Generator.java added as org/javacc/jjdoc/Generator.class doesn't exist. > [javac] org/javacc/jjdoc/HTMLGenerator.java added as org/javacc/jjdoc/HTMLGenerator.class doesn't exist. > [javac] org/javacc/jjdoc/JJDoc.java added as org/javacc/jjdoc/JJDoc.class doesn't exist. > [javac] org/javacc/jjdoc/JJDocGlobals.java added as org/javacc/jjdoc/JJDocGlobals.class doesn't exist. > [javac] org/javacc/jjdoc/JJDocMain.java added as org/javacc/jjdoc/JJDocMain.class doesn't exist. > [javac] org/javacc/jjdoc/JJDocOptions.java added as org/javacc/jjdoc/JJDocOptions.class doesn't exist. > [javac] org/javacc/jjdoc/TextGenerator.java added as org/javacc/jjdoc/TextGenerator.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/build.xml skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/build.xml.orig skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/package.html skipped - don't know how to handle it > [javac] org/javacc/jjdoc/test/JJDocMainTest.java added as org/javacc/jjdoc/test/JJDocMainTest.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/test/package.html skipped - don't know how to handle it > [javac] org/javacc/jjtree/ASTBNF.java added as org/javacc/jjtree/ASTBNF.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFAction.java added as org/javacc/jjtree/ASTBNFAction.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFAssignment.java added as org/javacc/jjtree/ASTBNFAssignment.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFChoice.java added as org/javacc/jjtree/ASTBNFChoice.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFDeclaration.java added as org/javacc/jjtree/ASTBNFDeclaration.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFLookahead.java added as org/javacc/jjtree/ASTBNFLookahead.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFNodeScope.java added as org/javacc/jjtree/ASTBNFNodeScope.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFNonTerminal.java added as org/javacc/jjtree/ASTBNFNonTerminal.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFOneOrMore.java added as org/javacc/jjtree/ASTBNFOneOrMore.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFParenthesized.java added as org/javacc/jjtree/ASTBNFParenthesized.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFSequence.java added as org/javacc/jjtree/ASTBNFSequence.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFTryBlock.java added as org/javacc/jjtree/ASTBNFTryBlock.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFZeroOrMore.java added as org/javacc/jjtree/ASTBNFZeroOrMore.class doesn't exist. > [javac] org/javacc/jjtree/ASTBNFZeroOrOne.java added as org/javacc/jjtree/ASTBNFZeroOrOne.class doesn't exist. > [javac] org/javacc/jjtree/ASTCharDescriptor.java added as org/javacc/jjtree/ASTCharDescriptor.class doesn't exist. > [javac] org/javacc/jjtree/ASTCompilationUnit.java added as org/javacc/jjtree/ASTCompilationUnit.class doesn't exist. > [javac] org/javacc/jjtree/ASTExpansionNodeScope.java added as org/javacc/jjtree/ASTExpansionNodeScope.class doesn't exist. > [javac] org/javacc/jjtree/ASTGrammar.java added as org/javacc/jjtree/ASTGrammar.class doesn't exist. > [javac] org/javacc/jjtree/ASTJavacode.java added as org/javacc/jjtree/ASTJavacode.class doesn't exist. > [javac] org/javacc/jjtree/ASTJavacodeBody.java added as org/javacc/jjtree/ASTJavacodeBody.class doesn't exist. > [javac] org/javacc/jjtree/ASTLHS.java added as org/javacc/jjtree/ASTLHS.class doesn't exist. > [javac] org/javacc/jjtree/ASTNodeDescriptor.java added as org/javacc/jjtree/ASTNodeDescriptor.class doesn't exist. > [javac] org/javacc/jjtree/ASTNodeDescriptorExpression.java added as org/javacc/jjtree/ASTNodeDescriptorExpression.class doesn't exist. > [javac] org/javacc/jjtree/ASTOptionBinding.java added as org/javacc/jjtree/ASTOptionBinding.class doesn't exist. > [javac] org/javacc/jjtree/ASTOptions.java added as org/javacc/jjtree/ASTOptions.class doesn't exist. > [javac] org/javacc/jjtree/ASTPrimaryExpression.java added as org/javacc/jjtree/ASTPrimaryExpression.class doesn't exist. > [javac] org/javacc/jjtree/ASTProduction.java added as org/javacc/jjtree/ASTProduction.class doesn't exist. > [javac] org/javacc/jjtree/ASTProductions.java added as org/javacc/jjtree/ASTProductions.class doesn't exist. > [javac] org/javacc/jjtree/ASTRE.java added as org/javacc/jjtree/ASTRE.class doesn't exist. > [javac] org/javacc/jjtree/ASTRECharList.java added as org/javacc/jjtree/ASTRECharList.class doesn't exist. > [javac] org/javacc/jjtree/ASTREChoice.java added as org/javacc/jjtree/ASTREChoice.class doesn't exist. > [javac] org/javacc/jjtree/ASTREEOF.java added as org/javacc/jjtree/ASTREEOF.class doesn't exist. > [javac] org/javacc/jjtree/ASTRENamed.java added as org/javacc/jjtree/ASTRENamed.class doesn't exist. > [javac] org/javacc/jjtree/ASTREOneOrMore.java added as org/javacc/jjtree/ASTREOneOrMore.class doesn't exist. > [javac] org/javacc/jjtree/ASTREParenthesized.java added as org/javacc/jjtree/ASTREParenthesized.class doesn't exist. > [javac] org/javacc/jjtree/ASTREReference.java added as org/javacc/jjtree/ASTREReference.class doesn't exist. > [javac] org/javacc/jjtree/ASTRESequence.java added as org/javacc/jjtree/ASTRESequence.class doesn't exist. > [javac] org/javacc/jjtree/ASTRESpec.java added as org/javacc/jjtree/ASTRESpec.class doesn't exist. > [javac] org/javacc/jjtree/ASTREStringLiteral.java added as org/javacc/jjtree/ASTREStringLiteral.class doesn't exist. > [javac] org/javacc/jjtree/ASTREZeroOrMore.java added as org/javacc/jjtree/ASTREZeroOrMore.class doesn't exist. > [javac] org/javacc/jjtree/ASTREZeroOrOne.java added as org/javacc/jjtree/ASTREZeroOrOne.class doesn't exist. > [javac] org/javacc/jjtree/ASTRRepetitionRange.java added as org/javacc/jjtree/ASTRRepetitionRange.class doesn't exist. > [javac] org/javacc/jjtree/ASTTokenDecls.java added as org/javacc/jjtree/ASTTokenDecls.class doesn't exist. > [javac] org/javacc/jjtree/IO.java added as org/javacc/jjtree/IO.class doesn't exist. > [javac] org/javacc/jjtree/JJTJJTreeParserState.java added as org/javacc/jjtree/JJTJJTreeParserState.class doesn't exist. > [javac] org/javacc/jjtree/JJTree.java added as org/javacc/jjtree/JJTree.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jj skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.jjt skipped - don't know how to handle it > [javac] org/javacc/jjtree/JJTreeGlobals.java added as org/javacc/jjtree/JJTreeGlobals.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeIOException.java added as org/javacc/jjtree/JJTreeIOException.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeNode.java added as org/javacc/jjtree/JJTreeNode.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeOptions.java added as org/javacc/jjtree/JJTreeOptions.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeOptionsTest.java added as org/javacc/jjtree/JJTreeOptionsTest.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeParser.java added as org/javacc/jjtree/JJTreeParser.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeParserConstants.java added as org/javacc/jjtree/JJTreeParserConstants.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeParserTokenManager.java added as org/javacc/jjtree/JJTreeParserTokenManager.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeParserTreeConstants.java added as org/javacc/jjtree/JJTreeParserTreeConstants.class doesn't exist. > [javac] org/javacc/jjtree/JJTreeState.java added as org/javacc/jjtree/JJTreeState.class doesn't exist. > [javac] org/javacc/jjtree/JavaCharStream.java added as org/javacc/jjtree/JavaCharStream.class doesn't exist. > [javac] org/javacc/jjtree/Main.java added as org/javacc/jjtree/Main.class doesn't exist. > [javac] org/javacc/jjtree/Node.java added as org/javacc/jjtree/Node.class doesn't exist. > [javac] org/javacc/jjtree/NodeFiles.java added as org/javacc/jjtree/NodeFiles.class doesn't exist. > [javac] org/javacc/jjtree/NodeScope.java added as org/javacc/jjtree/NodeScope.class doesn't exist. > [javac] org/javacc/jjtree/ParseException.java added as org/javacc/jjtree/ParseException.class doesn't exist. > [javac] org/javacc/jjtree/SimpleNode.java added as org/javacc/jjtree/SimpleNode.class doesn't exist. > [javac] org/javacc/jjtree/Token.java added as org/javacc/jjtree/Token.class doesn't exist. > [javac] org/javacc/jjtree/TokenMgrError.java added as org/javacc/jjtree/TokenMgrError.class doesn't exist. > [javac] org/javacc/jjtree/TokenUtils.java added as org/javacc/jjtree/TokenUtils.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/build.xml.orig skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/package.html skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/package.html skipped - don't know how to handle it > [javac] org/javacc/parser/Action.java added as org/javacc/parser/Action.class doesn't exist. > [javac] org/javacc/parser/BNFProduction.java added as org/javacc/parser/BNFProduction.class doesn't exist. > [javac] org/javacc/parser/CharacterRange.java added as org/javacc/parser/CharacterRange.class doesn't exist. > [javac] org/javacc/parser/Choice.java added as org/javacc/parser/Choice.class doesn't exist. > [javac] org/javacc/parser/Container.java added as org/javacc/parser/Container.class doesn't exist. > [javac] org/javacc/parser/Expansion.java added as org/javacc/parser/Expansion.class doesn't exist. > [javac] org/javacc/parser/ExpansionTest.java added as org/javacc/parser/ExpansionTest.class doesn't exist. > [javac] org/javacc/parser/ExpansionTreeWalker.java added as org/javacc/parser/ExpansionTreeWalker.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCC.jj skipped - don't know how to handle it > [javac] org/javacc/parser/JavaCCErrors.java added as org/javacc/parser/JavaCCErrors.class doesn't exist. > [javac] org/javacc/parser/JavaCCGlobals.java added as org/javacc/parser/JavaCCGlobals.class doesn't exist. > [javac] org/javacc/parser/JavaCCParser.java added as org/javacc/parser/JavaCCParser.class doesn't exist. > [javac] org/javacc/parser/JavaCCParserConstants.java added as org/javacc/parser/JavaCCParserConstants.class doesn't exist. > [javac] org/javacc/parser/JavaCCParserInternals.java added as org/javacc/parser/JavaCCParserInternals.class doesn't exist. > [javac] org/javacc/parser/JavaCCParserTokenManager.java added as org/javacc/parser/JavaCCParserTokenManager.class doesn't exist. > [javac] org/javacc/parser/JavaCharStream.java added as org/javacc/parser/JavaCharStream.class doesn't exist. > [javac] org/javacc/parser/JavaCodeProduction.java added as org/javacc/parser/JavaCodeProduction.class doesn't exist. > [javac] org/javacc/parser/JavaFiles.java added as org/javacc/parser/JavaFiles.class doesn't exist. > [javac] org/javacc/parser/LexGen.java added as org/javacc/parser/LexGen.class doesn't exist. > [javac] org/javacc/parser/Lookahead.java added as org/javacc/parser/Lookahead.class doesn't exist. > [javac] org/javacc/parser/LookaheadCalc.java added as org/javacc/parser/LookaheadCalc.class doesn't exist. > [javac] org/javacc/parser/LookaheadWalk.java added as org/javacc/parser/LookaheadWalk.class doesn't exist. > [javac] org/javacc/parser/Main.java added as org/javacc/parser/Main.class doesn't exist. > [javac] org/javacc/parser/MatchInfo.java added as org/javacc/parser/MatchInfo.class doesn't exist. > [javac] org/javacc/parser/MetaParseException.java added as org/javacc/parser/MetaParseException.class doesn't exist. > [javac] org/javacc/parser/Nfa.java added as org/javacc/parser/Nfa.class doesn't exist. > [javac] org/javacc/parser/NfaState.java added as org/javacc/parser/NfaState.class doesn't exist. > [javac] org/javacc/parser/NonTerminal.java added as org/javacc/parser/NonTerminal.class doesn't exist. > [javac] org/javacc/parser/NormalProduction.java added as org/javacc/parser/NormalProduction.class doesn't exist. > [javac] org/javacc/parser/OneOrMore.java added as org/javacc/parser/OneOrMore.class doesn't exist. > [javac] org/javacc/parser/Options.java added as org/javacc/parser/Options.class doesn't exist. > [javac] org/javacc/parser/OptionsTest.java added as org/javacc/parser/OptionsTest.class doesn't exist. > [javac] org/javacc/parser/OtherFilesGen.java added as org/javacc/parser/OtherFilesGen.class doesn't exist. > [javac] org/javacc/parser/OutputFile.java added as org/javacc/parser/OutputFile.class doesn't exist. > [javac] org/javacc/parser/ParseEngine.java added as org/javacc/parser/ParseEngine.class doesn't exist. > [javac] org/javacc/parser/ParseException.java added as org/javacc/parser/ParseException.class doesn't exist. > [javac] org/javacc/parser/ParseGen.java added as org/javacc/parser/ParseGen.class doesn't exist. > [javac] org/javacc/parser/RCharacterList.java added as org/javacc/parser/RCharacterList.class doesn't exist. > [javac] org/javacc/parser/RChoice.java added as org/javacc/parser/RChoice.class doesn't exist. > [javac] org/javacc/parser/REndOfFile.java added as org/javacc/parser/REndOfFile.class doesn't exist. > [javac] org/javacc/parser/RJustName.java added as org/javacc/parser/RJustName.class doesn't exist. > [javac] org/javacc/parser/ROneOrMore.java added as org/javacc/parser/ROneOrMore.class doesn't exist. > [javac] org/javacc/parser/RRepetitionRange.java added as org/javacc/parser/RRepetitionRange.class doesn't exist. > [javac] org/javacc/parser/RSequence.java added as org/javacc/parser/RSequence.class doesn't exist. > [javac] org/javacc/parser/RStringLiteral.java added as org/javacc/parser/RStringLiteral.class doesn't exist. > [javac] org/javacc/parser/RZeroOrMore.java added as org/javacc/parser/RZeroOrMore.class doesn't exist. > [javac] org/javacc/parser/RZeroOrOne.java added as org/javacc/parser/RZeroOrOne.class doesn't exist. > [javac] org/javacc/parser/RegExprSpec.java added as org/javacc/parser/RegExprSpec.class doesn't exist. > [javac] org/javacc/parser/RegularExpression.java added as org/javacc/parser/RegularExpression.class doesn't exist. > [javac] org/javacc/parser/Semanticize.java added as org/javacc/parser/Semanticize.class doesn't exist. > [javac] org/javacc/parser/Sequence.java added as org/javacc/parser/Sequence.class doesn't exist. > [javac] org/javacc/parser/SingleCharacter.java added as org/javacc/parser/SingleCharacter.class doesn't exist. > [javac] org/javacc/parser/Token.java added as org/javacc/parser/Token.class doesn't exist. > [javac] org/javacc/parser/TokenMgrError.java added as org/javacc/parser/TokenMgrError.class doesn't exist. > [javac] org/javacc/parser/TokenProduction.java added as org/javacc/parser/TokenProduction.class doesn't exist. > [javac] org/javacc/parser/TreeWalkerOp.java added as org/javacc/parser/TreeWalkerOp.class doesn't exist. > [javac] org/javacc/parser/TryBlock.java added as org/javacc/parser/TryBlock.class doesn't exist. > [javac] org/javacc/parser/ZeroOrMore.java added as org/javacc/parser/ZeroOrMore.class doesn't exist. > [javac] org/javacc/parser/ZeroOrOne.java added as org/javacc/parser/ZeroOrOne.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml.orig skipped - don't know how to handle it > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/package.html skipped - don't know how to handle it > [javac] org/javacc/parser/test/NfaStateTest.java added as org/javacc/parser/test/NfaStateTest.class doesn't exist. > [javac] org/javacc/utils/JavaFileGenerator.java added as org/javacc/utils/JavaFileGenerator.class doesn't exist. > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/package.html skipped - don't know how to handle it > [javac] Compiling 140 source files to /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes > [javac] Using modern compiler > [javac] Compilation arguments: > [javac] '-nowarn' > [javac] '-d' > [javac] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes' > [javac] '-classpath' > [javac] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/classes:/usr/share/junit/lib/junit.jar' > [javac] '-sourcepath' > [javac] '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src' > [javac] '-target' > [javac] '1.6' > [javac] '-g:none' > [javac] '-source' > [javac] '1.6' > [javac] > [javac] The ' characters around the executable and arguments are > [javac] not part of the command. > [javac] Files to be compiled: > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/javacc.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/jjdoc.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/jjtree.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/JavaCCTestCase.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/Version.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/BNFGenerator.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/Generator.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/HTMLGenerator.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/JJDoc.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/JJDocGlobals.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/JJDocMain.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/JJDocOptions.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/TextGenerator.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjdoc/test/JJDocMainTest.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNF.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFAction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFAssignment.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFChoice.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFDeclaration.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFLookahead.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFNodeScope.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFNonTerminal.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFOneOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFParenthesized.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFSequence.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFTryBlock.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFZeroOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTBNFZeroOrOne.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTCharDescriptor.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTCompilationUnit.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTExpansionNodeScope.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTGrammar.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTJavacode.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTJavacodeBody.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTLHS.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTNodeDescriptor.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTNodeDescriptorExpression.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTOptionBinding.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTOptions.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTPrimaryExpression.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTProduction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTProductions.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRE.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRECharList.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREChoice.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREEOF.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRENamed.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREOneOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREParenthesized.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREReference.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRESequence.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRESpec.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREStringLiteral.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREZeroOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTREZeroOrOne.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTRRepetitionRange.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ASTTokenDecls.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/IO.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTJJTreeParserState.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTree.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeGlobals.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeIOException.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeNode.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeOptions.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeOptionsTest.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeParser.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeParserConstants.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeParserTokenManager.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeParserTreeConstants.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JJTreeState.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/JavaCharStream.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/Main.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/Node.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/NodeFiles.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/NodeScope.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/ParseException.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/SimpleNode.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/Token.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/TokenMgrError.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/jjtree/TokenUtils.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Action.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/BNFProduction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/CharacterRange.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Choice.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Container.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Expansion.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ExpansionTest.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ExpansionTreeWalker.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCErrors.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCGlobals.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCParser.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCParserConstants.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCParserInternals.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCCParserTokenManager.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCharStream.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaCodeProduction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/JavaFiles.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/LexGen.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Lookahead.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/LookaheadCalc.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/LookaheadWalk.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Main.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/MatchInfo.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/MetaParseException.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Nfa.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/NfaState.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/NonTerminal.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/NormalProduction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/OneOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Options.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/OptionsTest.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/OtherFilesGen.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/OutputFile.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ParseEngine.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ParseException.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ParseGen.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RCharacterList.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RChoice.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/REndOfFile.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RJustName.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ROneOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RRepetitionRange.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RSequence.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RStringLiteral.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RZeroOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RZeroOrOne.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RegExprSpec.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/RegularExpression.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Semanticize.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Sequence.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/SingleCharacter.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/Token.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/TokenMgrError.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/TokenProduction.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/TreeWalkerOp.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/TryBlock.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ZeroOrMore.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/ZeroOrOne.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/test/NfaStateTest.java > [javac] /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/utils/JavaFileGenerator.java > [javac] error: Source option 6 is no longer supported. Use 7 or later. > [javac] error: Target option 6 is no longer supported. Use 7 or later. > [ant] Exiting /var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml. > >BUILD FAILED >/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/build.xml:25: The following error occurred while executing this line: >/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc/src/org/javacc/parser/build.xml:16: Compile failed; see the compiler error output for details. > at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1409) > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1117) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) > at org.apache.tools.ant.Task.perform(Task.java:350) > at org.apache.tools.ant.Target.execute(Target.java:449) > at org.apache.tools.ant.Target.performTasks(Target.java:470) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) > at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36) > at org.apache.tools.ant.Project.executeTargets(Project.java:1264) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437) > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) > at org.apache.tools.ant.Task.perform(Task.java:350) > at org.apache.tools.ant.Target.execute(Target.java:449) > at org.apache.tools.ant.Target.performTasks(Target.java:470) > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) > at org.apache.tools.ant.Project.executeTarget(Project.java:1374) > at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > at org.apache.tools.ant.Project.executeTargets(Project.java:1264) > at org.apache.tools.ant.Main.runBuild(Main.java:827) > at org.apache.tools.ant.Main.startAnt(Main.java:223) > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284) > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) > >Total time: 1 second > [31;01m*[0m ERROR: dev-java/javacc-5.0-r3::gentoo failed (compile phase): > [31;01m*[0m eant failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 127: Called src_compile > [31;01m*[0m environment, line 4028: Called java-pkg-2_src_compile > [31;01m*[0m environment, line 1901: Called eant 'jar' '-f' 'build.xml' > [31;01m*[0m environment, line 645: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m ant ${antflags} "${@}" || die "eant failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-java/javacc-5.0-r3::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-java/javacc-5.0-r3::gentoo'`. >!!! When you file a bug report, please include the following information: >GENTOO_VM=openjdk-17 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-17" >JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac" >and of course, the output of emerge --info =javacc-5.0 > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/javacc-5.0-r3/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/javacc-5.0-r3/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc' > [31;01m*[0m S: '/var/tmp/portage/dev-java/javacc-5.0-r3/work/javacc'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 829772
: 759982