[Source] Xj3D build problem: package org.j3d.util does not exist

Norbraten, Terry (CIV) tdnorbra at nps.edu
Sun Oct 30 10:56:17 PDT 2011


Hi Don,

Again, please use the build-nps.xml to build the NPS branch.  Alan holds
the build.xml and build_common.xml for the main trunk.  Ant systems will
first look for build.xml unless told otherwise with an -f switch on the
command line, or pointed to from an IDE that uses Ant to build.

C:\Xj3D.nps\build.xml:50: The following error occurred while executing
this line:
C:\Xj3D.nps\build_common.xml:21: Compile failed; see the compiler error
output for details.

R/

Terry



On 10/30/11 10:40 AM, "Brutzman, Donald (Don) (CIV)" <brutzman at nps.edu>
wrote:

>Clean checkout of NPS branch of Xj3D yields following log and then error:
>
>C:\Xj3D.nps\src\java\org\web3d\util\ErrorReporter.java:32: package
>org.j3d.util does not exist
>public interface ErrorReporter extends org.j3d.util.ErrorReporter {
>
>it would appear that org.j3d.util  is missing from one of the .jars,
>or else one of the .jars is missing.  I suspect that this problem was
>hidden on my previous
>machine by another set of xj3d jars being visible.
>
>Any ideas?
>
>Error log follows.  The nbproject project compilation libraries are also
>listed afterwards.
>
>=============================
>clean:
>init:
>Created dir: C:\Xj3D.nps\classes
>Created dir: C:\Xj3D.nps\classes\test
>Created dir: C:\Xj3D.nps\docs\javadoc
>parsers:
>Warning: Line 17, Column 5: Bad option name "OPTIMIZE_TOKEN_MANAGER".
>Option setting will be ignored.
>Java Compiler Compiler Version 5.0 (Parser Generator)
>(type "javacc" with no arguments for help)
>Warning: Bad option "-OPTIMIZE_TOKEN_MANAGER:true" will be ignored.
>Reading from file C:\Xj3D.nps\src\javacc\vrml\VRML97Relaxed.jj . . .
>File "TokenMgrError.java" does not exist.  Will create one.
>File "ParseException.java" does not exist.  Will create one.
>File "Token.java" does not exist.  Will create one.
>File "JavaCharStream.java" does not exist.  Will create one.
>Parser generated with 0 errors and 1 warnings.
>Java Compiler Compiler Version 5.0 (Parser Generator)
>(type "javacc" with no arguments for help)
>Warning: Bad option "-OPTIMIZE_TOKEN_MANAGER:true" will be ignored.
>Reading from file C:\Xj3D.nps\src\javacc\vrml\VRML97Field.jj . . .
>Parser generated with 0 errors and 4 warnings.
>Warning: TokenMgrError.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>Warning: ParseException.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>Warning: Token.java: File is obsolete.  Please rename or delete this file
>so that a new one can be generated for you.
>Warning: JavaCharStream.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>Java Compiler Compiler Version 5.0 (Parser Generator)
>(type "javacc" with no arguments for help)
>Warning: Bad option "-OPTIMIZE_TOKEN_MANAGER:true" will be ignored.
>Reading from file C:\Xj3D.nps\src\javacc\x3d\X3DField.jj . . .
>File "TokenMgrError.java" does not exist.  Will create one.
>File "ParseException.java" does not exist.  Will create one.
>File "Token.java" does not exist.  Will create one.
>File "JavaCharStream.java" does not exist.  Will create one.
>Parser generated successfully.
>Java Compiler Compiler Version 5.0 (Parser Generator)
>(type "javacc" with no arguments for help)
>Warning: Bad option "-OPTIMIZE_TOKEN_MANAGER:true" will be ignored.
>Reading from file C:\Xj3D.nps\src\javacc\x3d\X3DRelaxed.jj . . .
>Warning: TokenMgrError.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>Parser generated with 0 errors and 4 warnings.
>Warning: ParseException.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>Warning: Token.java: File is obsolete.  Please rename or delete this file
>so that a new one can be generated for you.
>Warning: JavaCharStream.java: File is obsolete.  Please rename or delete
>this file so that a new one can be generated for you.
>compileOpenGL:
>Compiling vrml/eai
>Compiling 66 source files to C:\Xj3D.nps\classes
>Note: C:\Xj3D.nps\src\java\vrml\eai\BrowserFactory.java uses unchecked or
>unsafe operations.
>Note: Recompile with -Xlint:unchecked for details.
>Compiling org/web3d/util
>Compiling 33 source files to C:\Xj3D.nps\classes
>C:\Xj3D.nps\src\java\org\web3d\util\ErrorReporter.java:32: package
>org.j3d.util does not exist
>public interface ErrorReporter extends org.j3d.util.ErrorReporter {
>Note: Some input files use unchecked or unsafe operations.
>Note: Recompile with -Xlint:unchecked for details.
>1 error
>C:\Xj3D.nps\build.xml:50: The following error occurred while executing
>this line:
>C:\Xj3D.nps\build_common.xml:21: Compile failed; see the compiler error
>output for details.
>BUILD FAILED (total time: 3 seconds)
>=============================
>
>Java source roots:
>  "src/java" (src/java): C:\Xj3D.nps\src\java
>    source level: 1.5
>    encoding: ISO-8859-1
>    binaries: C:\Xj3D.nps\classes
>    test roots: C:\Xj3D.nps\test
>    classpath/source: C:\Xj3D.nps\src\java
>    classpath/compile:
>      C:\Xj3D.nps\lib\aviatrix3d-all_2.2.0-nps.jar
>      C:\Xj3D.nps\lib\dis-enums.jar
>      C:\Xj3D.nps\lib\fastinfoset_1.2.9.jar
>      C:\Xj3D.nps\lib\geoapi-nogenerics-2.1.0.jar
>      C:\Xj3D.nps\lib\gluegen-rt.jar
>      C:\Xj3D.nps\lib\gnu-regexp-1.0.8.jar
>      C:\Xj3D.nps\lib\gt2-main-2.4.4.jar
>      C:\Xj3D.nps\lib\gt2-metadata-2.4.4.jar
>      C:\Xj3D.nps\lib\gt2-referencing-2.4.4.jar
>      C:\Xj3D.nps\lib\httpclient.jar
>      C:\Xj3D.nps\lib\j3d-org-all_1.1.0.jar
>      C:\Xj3D.nps\lib\jmf.jar
>      C:\Xj3D.nps\lib\joal.jar
>      C:\Xj3D.nps\lib\jogl.jar
>      C:\Xj3D.nps\lib\js.jar
>      C:\Xj3D.nps\lib\jsr108-0.01.jar
>      C:\Xj3D.nps\lib\odejava-jni.jar
>      C:\Xj3D.nps\lib\odejava.jar
>      C:\Xj3D.nps\lib\open-dis.jar
>      C:\Xj3D.nps\lib\openmali.jar
>      C:\Xj3D.nps\lib\smack.jar
>      C:\Xj3D.nps\lib\smackx.jar
>      C:\Xj3D.nps\lib\toxiclibscore.jar
>      C:\Xj3D.nps\lib\uri.jar
>      C:\Xj3D.nps\lib\vlc_uri.jar
>      C:\Xj3D.nps\lib\vecmath.jar
>=============================
>
>all the best, Don
>-- 
>Don Brutzman  Naval Postgraduate School, Code USW/Br
>brutzman at nps.edu
>Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA
>+1.831.656.2149
>X3D graphics, virtual worlds, naval robotics
>http://faculty.nps.edu/brutzman
>




More information about the Source mailing list