[x3d-public] Weird java compilation problem building X3DJSAIL. Waiting patiently. Zzz

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Mon Jan 23 12:12:51 PST 2023


John, there is no JSON validation in X3D-Edit or X3DJSAIL because there is
not standardized JSON Schema.  When that occurs, we can update/autogenerate
X3D JSON Schema and begin testing tools.

 

Given the expressive power of JSON Schema, am expecting that future tests
will match prior tests and detect encoding errors similar to expressive
power of X3D XML Schema.

 

Not new news.  Until then I don't want to keep repeating work that is not
completely correct.  Hope this helps.

 

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 https://
faculty.nps.edu/brutzman

 

From: x3d-public <x3d-public-bounces at web3d.org> On Behalf Of John Carlson
Sent: Wednesday, January 18, 2023 4:24 AM
To: X3D Graphics public mailing list <x3d-public at web3d.org>; Michalis
Kamburelis <michalis.kambi at gmail.com>
Subject: Re: [x3d-public] Weird java compilation problem building X3DJSAIL.
Waiting patiently. Zzz

 

IFS.json passes X3DJSAIL validation, Ajv validation, and as we've seen, it
passes validation in X3D-Edit.

 

So far, it only reports errors as XML in view3dscene. tested in X3D-Edit.  I
will pass this off to Michalis for now.


JSON and XML attached.

 

On Wed, Jan 18, 2023 at 6:08 AM John Carlson <yottzumm at gmail.com
<mailto:yottzumm at gmail.com> > wrote:

Repeat by using:

 

$ ant create.X3DJSAIL

 

(update recently done...any other steps required?)

 

I can't do JSON validation with Java/X3DJSAIL without a jar,  I will try
with an older jar with a similar name.

 

John

 

On Sun, Jan 15, 2023 at 12:21 AM John Carlson <yottzumm at gmail.com
<mailto:yottzumm at gmail.com> > wrote:

I'm hoping some X3DJSAIL/ant people could address this.  Patiently waiting,
I haven't updated my copy today.

 

On Sat, Jan 14, 2023 at 3:32 AM John Carlson <yottzumm at gmail.com
<mailto:yottzumm at gmail.com> > wrote:

Error: "org.web3d.x3d.sai.TextureProjector does not exist"

 

I will try to rebuild from source folder.

 

John

 

create.X3DUOM.JAXB.schema:

     [echo] Netbeans 11+ (Java 12+) prerequisite is to include following in
your netbeans.conf file:

     [echo]
-J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory

     [echo] Ant xjc with classpath=C:\x3d-code\www.web3d.org
<http://www.web3d.org> \x3d\stylesheets\java\lib\support\jaxb/*.jar

      [xjc] Consider using <depends>/<produces> so that XJC won't do
unnecessary compilation

      [xjc] Compiling
file:/C:/x3d-code/www.web3d.org/specifications/X3dUnifiedObjectModel.xsd
<http://www.web3d.org/specifications/X3dUnifiedObjectModel.xsd> 

      [xjc] Writing output to C:\x3d-code\www.web3d.org
<http://www.web3d.org> \x3d\stylesheets\java\src

     [echo] Compiling org.web3d.x3d.x3duom JAXB classes

    [javac] Compiling 29 source files to C:\x3d-code\www.web3d.org
<http://www.web3d.org> \x3d\stylesheets\java\classes

    [javac] warning: [options] system modules path not set in conjunction
with -source 16

    [javac] 1 warning

     [echo] create autogenerated Java source code:

     [java] source-code autogeneration assist: $insertSourceMarkers=false

     [copy] Copying 1 file to C:\x3d-code\www.web3d.org
<http://www.web3d.org> \x3d\stylesheets\java\src\org\web3d\x3d\sai

     [copy] Copying C:\x3d-code\www.web3d.org <http://www.web3d.org>
\x3d\stylesheets\java\X3DJSAIL.html to C:\x3d-code\www.web3d.org
<http://www.web3d.org>
\x3d\stylesheets\java\src\org\web3d\x3d\sai\overview.html

     [echo] Compiling C:\x3d-code\www.web3d.org <http://www.web3d.org>
\x3d\stylesheets\java\src/org/web3d/x3d/sai interfaces

    [javac] anomalous package-info.java path: package-info.java

    [javac] Compiling 453 source files to C:\x3d-code\www.web3d.org
<http://www.web3d.org> \x3d\stylesheets\java\classes

    [javac] warning: [options] system modules path not set in conjunction
with -source 16

    [javac] C:\x3d-code\www.web3d.org <http://www.web3d.org>
\x3d\stylesheets\java\src\org\web3d\x3d\sai\TextureProjection\TextureProject
or.java:59: error: package org.web3d.x3d.sai.TextureProjector does not exist

    [javac] public interface TextureProjector extends
org.web3d.x3d.sai.TextureProjector.X3DTextureProjectorNode

    [javac]
^

    [javac] C:\x3d-code\www.web3d.org <http://www.web3d.org>
\x3d\stylesheets\java\src\org\web3d\x3d\sai\TextureProjection\TextureProject
orParallel.java:59: error: package org.web3d.x3d.sai.TextureProjector does
not exist

    [javac] public interface TextureProjectorParallel extends
org.web3d.x3d.sai.TextureProjector.X3DTextureProjectorNode

    [javac]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230123/0be5a5ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5353 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230123/0be5a5ca/attachment-0001.p7s>


More information about the x3d-public mailing list