[x3d-public] X3DJSAIL under NetBeans. Wrong jar versions?
John Carlson
yottzumm at gmail.com
Sat Jun 19 14:02:11 PDT 2021
Looks like project.properties has a windows path for the jars. Looks
like you want to reference jars in lib/support, similar to how
saxon9he.jar is done?
Thanks!
John
On 6/19/21 3: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
>
> On 6/19/21 3:44 PM, John Carlson wrote:
>>
>> Looks like NetBeans 12.4 does not support Python projects????
>>
>> What do you use for x3d.py? An older version of NetBeans?
>>
>> Thanks!
>>
>> John
>>
>> On 6/19/21 3:08 PM, John Carlson wrote:
>>> (I’m in a better mood)
>>>
>>> I have been doing JSON schema generation for a long time in python,
>>> I’ve been adding validators in various languages, and I’ve been
>>> testing X3D Examples. I’ve also added validating all the schemas
>>> against draft07. The python generation code is stable, but
>>> undocumented, for the most part. I think what you want is online
>>> documentation. The Everit code base is what I use in Java. I can’t
>>> setup Everit on your machine. I tried to set up a reasonable
>>> testing environment for schemas copied from X3DJSONLD, but it still
>>> requires bash (which will download and compile jars, using maven),
>>> and does not conform to a NetBeans project. The Java and
>>> JavaScript code is on GitHub under coderextreme/x3dschema.
>>> Currently schema generation requires jsonlint, and one needs to run
>>> the driver script like:
>>>
>>> python3 generateSchemas.py
>>> (under X3DJSONLD/src/main/python)
>>>
>>> I’m not mentally prepared to do the same in .xslt, I’ll leave that
>>> to the smart people with the appropriate tools. I can read xslt
>>> well enough to make minor modifications in vim.
>>>
>>> Schemas will be found in ../schema or ../schemas or online at
>>> github, checked in under coderextreme/X3DJSONLD
>>>
>>> So my read on this is you want JSON schema in a NetBeans project.
>>> I admit I’ve been using the master branch of Everit from GitHub. In
>>> a temporary folder that only gets checked out when I delete it.
>>> ===========
>>>
>>> I have an existing test case for loading a JSON file into X3DJSAIL
>>> with X3DJSONLD.java These things are under
>>> x3d/stylesheets/java/src/net/coderextreme on
>>> sourceforge. My understanding at this point is you want a NetBeans
>>> project with a proper test case, currently in JsonConversion.java.
>>> There are issues with the results from that test case. I suggest
>>> searching your mail archives for JsonConversion. I can trade a
>>> NetBeans project with an effort to patch the problems I found when
>>> comparing outputs with inputs.
>>>
>>> Note that I only recently brought up the stylesheets project under
>>> NetBeans.
>>>
>>> I do not feel comfortable checking code into sourceforge right now.
>>>
>>> I do feel that we could create an issue tracker for our projects
>>> under Mantis, or another installation of Mantis. Or GitHub issues,
>>> or something under sourceforge. Feel free to add issues to my
>>> GitHub repositories. Thanks!
>>>
>>> Using email for issue tracking is comparable to using vim for code
>>> editing.
>>>
>>> John
>>>
>>> On Sat, Jun 19, 2021 at 10:48 AM Don Brutzman <brutzman at nps.edu
>>> <mailto:brutzman at nps.edu>> wrote:
>>>
>>> Thanks for your thoughts John.
>>>
>>> We have everything we need for both data and metadata in the
>>> X3D4 Architecture.
>>>
>>> Our tasks at hand are to get corresponding file encodings and
>>> programming languages well defined (in specifications), well
>>> supported (in tools) and well demonstrated (in examples).
>>>
>>> We are making steady progress on all counts. We need to do well
>>> at those, work continues. As we do so, many other things become
>>> relatively easy and will come our way. No need to chase in
>>> every direction.
>>>
>>> And so let's keep working on tasks at hand.
>>>
>>> Am getting closer at CORS support for authors in X3D-Edit.
>>> Tricky business, requires careful implementation that will
>>> help. So I am not irritated about tools whatsoever, quite the
>>> opposite. Am finding that all of the pieces/parts needed are
>>> out there, am putting them together in one place. X3D-Edit beta
>>> is already helping with our improvement of X3D model production,
>>> onward we go.
>>>
>>> Please advise where your latest greatest for the following key
>>> items might be, I'll continue working in that direction.
>>>
>>> a. JSON Schema (can we finally autogenerate) and stable library
>>> support (Java please) for integrating in examples.
>>>
>>> b. Example Java code to integrate in X3DJSAIL for loading JSON.
>>> (hopefully testable in a simple program also utilizing the
>>> x3djsail full jar.)
>>>
>>> Please do not just point at a url and say "Everything is Found
>>> in the Giant Hidden Valley Way Over Yonder." Well intentioned
>>> no doubt, but unfortunately not actionable, I have no time
>>> permitting re-exploration of your journeys.
>>>
>>> Small steps from something existing to something additional are
>>> much preferred. So please curate and instead offer "here is the
>>> simple implementation, and example test." That is easier to
>>> examine, implement, evaluate and add.
>>>
>>> Hope this helps. Thanks for your important efforts.
>>>
>>>
>>> On 6/18/2021 2:10 PM, John Carlson wrote:
>>> >
>>> > Seeking better tools: irritated too. We have ways to get
>>> text, image, price/product, math, geo and video results from a
>>> search engine, but not meshes, graphs, systems (do we have good
>>> ways to make systems searchable?), and networks, except for
>>> social connections, perhaps. Where are 3, 4 and fractional
>>> dimensional results? I’m aware of what Princeton has shown with
>>> shapes. I think the main issue may be we don’t have good ways
>>> to query such things…neo4j query language perhaps? GraphQL? Are
>>> there demos on the web? SPARQL? Where are the VR results?
>>> >
>>> > What ways are there to search across the 3D web? Can I search
>>> for 3D house models? Net-lists? How can the web be better
>>> oriented for 3D search? What if we could develop something for
>>> searching Minecraft servers?
>>> >
>>> > What is the equivalent of grep for 3D? Is there a better X3D
>>> encoding for searching? I’m aware of metadata. Say I want to
>>> pull all <Shape>’s out of a file system or remote folder and
>>> display/browse or save them? How do I grep STL files?
>>> >
>>> > ===============
>>> >
>>> > For bash-sql
>>> >
>>> > I agree, Don, seems like the best approach is to keep a log of
>>> test results, but I don’t know if I should create a separate
>>> script or not. That is, maintain a script for transient results
>>> in addition to a script that keeps results in version control
>>> for comparison.
>>> >
>>> > I looked into GitHub Actions for a bit, I’m not sure if I can
>>> introduce a custom shell script that takes a lot of CPU time.
>>> >
>>> > I don’t really like databases anyway—I don’t have the mindset
>>> for it. If there was a good integration between bash and SQL I
>>> might be more interested. I assume that power-shell might have
>>> something, but I’m not sure of cross platform compatibility.
>>> >
>>> > Note: both vim and emacs have database integrations.
>>> >
>>> > I guess I could write my own scripting language? Hmm. What
>>> are people missing from their current environments?
>>> >
>>> > Does Tcl or Ant do pipelines? I guess include/exclude may
>>> solve that issue.
>>> >
>>> > Perhaps it’s time for me to write up some requirements to go
>>> shopping for a different environment.
>>> >
>>> > I haven’t bought into the graphical IDE mindset at the
>>> moment. I’m not sure why. Perhaps if I could grep and find
>>> across web pages easily (wget? curl? lynx?). I know eclipse has
>>> a way to search across files.
>>> >
>>> > =======
>>> >
>>> > I’m sorry I’m such a noob.
>>> >
>>> > John
>>> >
>>> > On Fri, Jun 18, 2021 at 11:00 AM Don Brutzman
>>> <brutzman at nps.edu <mailto:brutzman at nps.edu>
>>> <mailto:brutzman at nps.edu <mailto:brutzman at nps.edu>>> wrote:
>>> >
>>> > On 6/17/2021 6:35 PM, John Carlson wrote:
>>> > > Anyone know of a command-line database client?
>>> >
>>> > dozens, see Vince email
>>> >
>>> > > Are you interested in a possible ant integration, Don?
>>> >
>>> > no, they require a lot of upkeep and break or get garbled
>>> over time
>>> >
>>> > XML and catalogs preferred, inspectable and doesn't break.
>>> >
>>> > even better is consistent file naming and directory
>>> structures, ant just handles that. see our 4000 examples.
>>> >
>>> > > I will be using it for inserting and selecting test
>>> results. It should probably keep track of test runs, for example.
>>> >
>>> > if you wish - no problem with that, but not advisable as a
>>> shared resource.
>>> >
>>> > all the best, Don
>>> > --
>>> > Don Brutzman Naval Postgraduate School, Code USW/Br
>>> brutzman at nps.edu <mailto:brutzman at nps.edu>
>>> <mailto:brutzman at nps.edu <mailto: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
>>> <http://faculty.nps.edu/brutzman>
>>> <http://faculty.nps.edu/brutzman <http://faculty.nps.edu/brutzman>>
>>> >
>>>
>>> all the best, Don
>>> --
>>> Don Brutzman Naval Postgraduate School, Code USW/Br
>>> brutzman at nps.edu <mailto: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 <http://faculty.nps.edu/brutzman>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210619/e368bc22/attachment-0001.html>
More information about the x3d-public
mailing list