[x3d-public] ant create.X3DJSAIL fails--setId

Don Brutzman brutzman at nps.edu
Thu Jul 1 12:03:08 PDT 2021


John, there is a problem in your build.  These kinds of errors are carefully checked before new builds are published online.

- You need to have latest X3DUOM, which is maintained in version control.
- If you are building your own X3DUOM then you need latest X3D Schema and latest conversion stylesheet, also maintained in version control.
- Or something else.

A build log is published with each release and maintained in version control so that change evolution is evident.  Close comparison with your output can be helpful in identifying where variations occur.  Latest release was 9 June 2021.

- https://www.web3d.org/specifications/java/build.out.X3DJSAIL.txt
- https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/build.out.X3DJSAIL.txt

I had missed committing that log update last time, now rectified.  Apologies for that, will try to be consistent with that file.

Further details for development are found as part of X3DJSAIL page at

* X3D Java Scene Access Interface Library (X3DJSAIL) Codebase Production
   https://www.web3d.org/specifications/java/X3DJSAIL.html#Codebase

Hope that helps you isolate your difficulty, good luck.


On 5/23/2021 3:37 PM, John Carlson wrote:
> 
> ant create.X3DJSAIL fails (problems with setId()).
> 
>     [javac] Compiling 363 source files to
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/classes
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Core/CommentsBlock.java:47:
> error: CommentsBlock is not abstract and does not override abstract
> method setId(String) in X3DChildNode
>      [javac] public class CommentsBlock extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Core/ProtoDeclare.java:81:
> error: ProtoDeclare is not abstract and does not override abstract
> method setId(String) in X3DChildNode
>      [javac] public class ProtoDeclare extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Core/ExternProtoDeclare.java:74:
> error: ExternProtoDeclare is not abstract and does not override abstract
> method setId(String) in X3DChildNode
>      [javac] public class ExternProtoDeclare extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Core/ROUTE.java:65:
> error: ROUTE is not abstract and does not override abstract method
> setId(String) in X3DChildNode
>      [javac] public class ROUTE extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Layout/ScreenFontStyle.java:75:
> error: ScreenFontStyle is not abstract and does not override abstract
> method setId(String) in X3DNode
>      [javac] public class ScreenFontStyle extends
> org.web3d.x3d.jsail.X3DConcreteNode implements
> org.web3d.x3d.sai.Layout.ScreenFontStyle
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Networking/EXPORT.java:64:
> error: EXPORT is not abstract and does not override abstract method
> setId(String) in X3DChildNode
>      [javac] public class EXPORT extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Networking/IMPORT.java:63:
> error: IMPORT is not abstract and does not override abstract method
> setId(String) in X3DChildNode
>      [javac] public class IMPORT extends
> org.web3d.x3d.jsail.X3DConcreteStatement implements
> org.web3d.x3d.sai.Core.X3DChildNode
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Sound/AudioDestination.java:73:
> error: AudioDestination is not abstract and does not override abstract
> method setId(String) in X3DSoundNode
>      [javac] public class AudioDestination extends
> org.web3d.x3d.jsail.X3DConcreteNode implements
> org.web3d.x3d.sai.Sound.AudioDestination
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Sound/AudioDestination.java:352:
> error: duplicate case label
>      [javac]                     case "id":
>      [javac]                     ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Sound/StreamAudioDestination.java:74:
> error: StreamAudioDestination is not abstract and does not override
> abstract method setId(String) in X3DSoundNode
>      [javac] public class StreamAudioDestination extends
> org.web3d.x3d.jsail.X3DConcreteNode implements
> org.web3d.x3d.sai.Sound.StreamAudioDestination
>      [javac]        ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Sound/StreamAudioDestination.java:341:
> error: duplicate case label
>      [javac]                     case "id":
>      [javac]                     ^
>      [javac]
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/Text/FontStyle.java:78:
> error: FontStyle is not abstract and does not override abstract method
> setId(String) in X3DNode
>      [javac] public class FontStyle extends
> org.web3d.x3d.jsail.X3DConcreteNode implements
> org.web3d.x3d.sai.Text.FontStyle
>      [javac]        ^
>      [javac] Note:
> /c/x3d-code/www.web3d.org/x3d/stylesheets/java/src/org/web3d/x3d/jsail/X3DLoaderDOM.java
> uses unchecked or unsafe operations.
>      [javac] Note: Recompile with -Xlint:unchecked for details.
>      [javac] 12 errors
> 
> BUILD FAILED
> /c/x3d-code/www.web3d.org/x3d/stylesheets/build.xml:478: Compile failed;
> see the compiler error output for details.
> 

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, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list