[x3d-public] X3DJSAIL under NetBeans. Wrong jar versions?
John Carlson
yottzumm at gmail.com
Fri Jun 25 10:14:17 PDT 2021
I believe it works for you because the project is pointed at 1) jars in the
ant distribution on Windows. That doesn’t work on Linux. Check out patch
I provided (which I probably reverted, oops!)
The jars are also available under x3d/stylesheets/java/lib, and they
appear to work when you change to relative paths.
It could be that I’m leveraging an old, unmaintained project? I am not
building X3DSAIL, I’m working on JSON loader test class that uses X3DJSAIL.
If I recall correctly, it’s under the test or tests. The checked in
version is at
x3d/stylesheets/java/src/net/coderextreme/JsonConversion.java, but it’s not
complete, I write out intermediate XML to a FileWriter now. I don’t
know if you get attachments, but I think I attached the java file to an
email at some point?
I also remember attaching the X3DJSAIL jar, and I had to switch the
stylesheet engine in the test file anyway, due to bad JSON output/newlines
inserted in strings by Saxon.
So if you have the Java source code available, I think it was called
JsonLoaderTest.java i will search through my old emails.
I’m trying to get a good JSON loader test working for you, but first step
is compilation in a NetBeans project. To search for the project, look for
nbproject on the file system (there are a few).
On Fri, Jun 25, 2021 at 10:02 AM Don Brutzman <brutzman at nps.edu> wrote:
> Summary: building WORKSFORME so hopefully will work for you too.
>
> On 6/19/2021 1:54 PM, John Carlson wrote:
> > Hmm. Looks like the NetBeans project under x3d/stylesheets/java does not
> build? Something to do with the versions of jars required? I haven't
> figured out how to resolve the jars, will probably have to figure out how
> to add/remove jars.
> >
> > John
>
> The most recent release of X3DJSAIL was 9 June 2021. Corresponding commit
> message:
> "add support for HTML id attribute, also tested latest Blender 2.92
> successfully, and (finally) diagnosed and fixed X3D Schematron bug"
>
> =========================
> X3D Java Scene Access Interface Library (X3DJSAIL) supports programmers
> with standards-based X3D Java interfaces and objects, all as open source.
>
> * https://www.web3d.org/specifications/java/X3DJSAIL.html
>
> *
> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/java/
> =========================
>
> Latest version still builds fine for me, invoked via parent /stylesheets
> directory using ant create.X3DJSAIL target.
> "BUILD SUCCESSFUL (total time: 4 minutes 13 seconds)"
>
> You should not need to add any jar files, the project should be self
> sufficient. If you find that something is missing from the published
> package, please provide the diagnostics output from the build.
>
> Note that none of these calisthenics are required for people who just want
> to use it, they can download the X3DJSAIL.4.0.full.jar via the Downloads
> link on the above page.
>
> Have fun with X3D Java!
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210625/04fb17be/attachment.html>
More information about the x3d-public
mailing list