[x3d-public] X3D C/C++/C# LB auto code generation updates (ver. 2022-02-21)

John Carlson yottzumm at gmail.com
Tue Mar 1 16:00:01 PST 2022


Myeong's build.xml worked.   I'm not sure what to suggest other than Don is
in progress on something.

On Tue, Mar 1, 2022 at 5:52 PM John Carlson <yottzumm at gmail.com> wrote:

> Myeong, Don, when you get a chance, please investigate the
> following exception in x3d/stylesheets/build.xml on sourceforge x3d project:
>
> $ ant BuildSpecificationLanguageBindingCPP.saxon
> Buildfile: C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml
>
> BuildSpecificationLanguageBindingCPP.saxon:
>      [java] Exception in thread "main" java.lang.NoClassDefFoundError:
> org/xmlresolver/Resolver
>      [java]     at
> net.sf.saxon.lib.CatalogResourceResolver.<init>(CatalogResourceResolver.java:46)
>      [java]     at net.sf.saxon.Configuration.init(Configuration.java:367)
>      [java]     at
> net.sf.saxon.Configuration.<init>(Configuration.java:230)
>      [java]     at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>      [java]     at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
>      [java]     at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>      [java]     at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
>      [java]     at
> java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128)
>      [java]     at
> java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347)
>      [java]     at java.base/java.lang.Class.newInstance(Class.java:645)
>      [java]     at
> net.sf.saxon.Configuration.newConfiguration(Configuration.java:246)
>      [java]     at net.sf.saxon.s9api.Processor.<init>(Processor.java:69)
>      [java]     at net.sf.saxon.Transform.doTransform(Transform.java:321)
>      [java]     at net.sf.saxon.Transform.main(Transform.java:81)
>      [java] Caused by: java.lang.ClassNotFoundException:
> org.xmlresolver.Resolver
>      [java]     at
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
>      [java]     at
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
>      [java]     at
> java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
>      [java]     ... 14 more
>      [java] Java Result: 1
>      [echo] Remove extraneous namespace attributes from result file:
>
> BUILD FAILED
> C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:1077: Replace: source
> file C:\x3d-code\www.web3d.org\x3d\stylesheets\CPPLanguageBinding.Part4.nodeTypeInterfaces.html
> doesn't exist
>
> Total time: 0 seconds
>
> I will try Myeong's build.xml in the short term.
>
> John
>
> On Tue, Mar 1, 2022 at 3:47 PM Myeong Won Lee <myeongwonlee at gmail.com>
> wrote:
>
>>
>>
>> ---------- Forwarded message ---------
>> From: Myeong Won Lee <myeongwonlee at gmail.com>
>> Date: Tue, Mar 1, 2022 at 11:35 AM
>> Subject: X3D C/C++/C# LB auto code generation updates (ver. 2022-02-21)
>> To: Don Brutzman <brutzman at nps.edu>, John Carlson <yottzumm at gmail.com>
>> Cc: X3D Graphics Working Group <x3d at web3d.org>
>>
>>
>> Dear Don and John,
>>
>> We have updated the xslt files for X3D C, C++, and C# auto code
>> generation.
>> I have attached a zipped file including the following three files and
>> three directories:
>>
>> - BuildSpecificationLanguageBindingC.xslt
>> - BuildSpecificationLanguageBindingCPP.xslt
>> - BuildSpecificationLanguageBindingCSharp.xslt
>> - [CLanguageBinding]: auto generated C code that includes html files
>> (nodeTypeInterfaces.html and nodeInterfaces.html - abstracts.html and
>> concretes.html for Annex) which are used for abstracts.h and concretes.h.
>> - [CPPLanguageBinding]: auto generated C++ code that includes html files
>> (nodeTypeInterfaces.html and nodeInterfaces.html -  abstracts.html and
>> concretes.html for Annex)  which are used  for abstracts.h and concretes.h.
>> - [CSharpLanguageBinding]: auto generated C# code that includes html
>> files (nodeTypeInterfaces.html and nodeInterfaces.html -  abstracts.html
>> and concretes.html for Annex)  which are used for abstracts.cs and
>> concretes.cs.
>>
>> Please replace the files in the directory below with the attached xslt
>> files for C, C++, and C#.
>>
>> https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/
>>
>> Below is a question:
>> I have not found where to put the three sets of auto generated code.
>> Please make a folder where these can be placed.
>>
>> The Google drive is also updated. If you have any problems with
>> the zipped file, please use the link below:
>>
>> https://drive.google.com/drive/folders/1DuTPtsmn3dHvS2a6A1ZtOK3ImbnRb9X5?usp=sharing
>>
>> Sincerely,
>>
>> Myeong
>> --
>>
>> Myeong Won Lee, PhD, Professor
>> Faculty of Computer Science, U. of Suwon
>> Hwaseong, Gyeonggi-do, 18323 Korea
>> E-mail) myeongwonlee at gmail.com, mwlee at suwon.ac.kr
>>
>>
>> --
>>
>> Myeong Won Lee, PhD, Professor
>> Faculty of Computer Science, U. of Suwon
>> Hwaseong, Gyeonggi-do, 18323 Korea
>> E-mail) myeongwonlee at gmail.com, mwlee at suwon.ac.kr
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220301/b9077ac9/attachment-0001.html>


More information about the x3d-public mailing list