[x3d-public] Error in X3DJSAIL build: JAXB under different versions of Java

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Thu Jun 13 05:17:41 PDT 2019


Thanks for temporary fix Terry.

We are working on a portable solution that requires no developer configuration whatsoever.  Will also integrate Dr. Aono's UTF-8 improvements to build.xml in order to achieve compatibility across developers from different countries.  This is a welcome new situation for us.

Once that is incorporated for developers, we will test (as usual) that standalone usage of the X3DJSAIL .jar is portable.  Will ask for confirmation reports at that point.

Again apologies for any inconveniences.  Interesting times for X3D in Java and Python!

v/r Don


On 6/12/2019 8:09 PM, Norbraten, Terry (CIV) wrote:
> Hi John, the issue is a hard coded windows path to the JAXB libs: C:\languages\java\jaxb-ri-2.3.1\jaxb-ri\mod
> 
> On line 2589 of the build file, you’ll have to supply your own path to JAXB 2.3.1. A personal properties file imported would also be a workaround where you could supply your own path to ${jaxb.dir}
> 
> 
> 
>> On Jun 12, 2019, at 16:44, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu> wrote:
>>
>> Apologies for the problem, we try hard to avoid blockers like this.
>>
>> Terry Norbraten (cc:ed) has diagnosed.  Am hoping to "ant-ify" a fix in build.xml soon.  Back-room thread follows.
>>
>> ================================================================================
>> On 6/11/2019 7:53 AM, Norbraten, Terry (CIV) wrote:
>>> Has nothing to do w/ NetBeans version. Has everything to do w/ Java version, i.e. 8 vs 12.  Java SE 12 no longer supports the internal JAXB context due to shedding internal support for most third party libs.
>>>
>>> https://www.jesperdj.com/2018/09/30/jaxb-on-java-9-10-11-and-beyond/
>>>
>>>
>>>
>>>> On Jun 11, 2019, at 07:35, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>>>>
>>>> Interesting.  Is this just for Netbeans 11 or for Netbeans 8 as well?
>>>>
>>>> Wondering if you will be in today or later in the week - TIA.
>>>>
>>>> On 6/10/2019 10:51 AM, Norbraten, Terry (CIV) wrote:
>>>>> Put this line in your netbeans.conf
>>>>>
>>>>> -J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
>>>>>
>>>>>
>>>>>
>>>>>> On Jun 9, 2019, at 06:24, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>>>>>>
>>>>>> 1. Apache Netbeans is now a full-fledged project.  Cool.
>>>>>>
>>>>>> https://blogs.apache.org/netbeans/entry/announce-apache-netbeans-has-graduated
>>>>>>
>>>>>> https://blogs.apache.org/foundation/entry/the-apache-software-foundation-announces51
>>>>>>
>>>>>> 2. Might be too ambitious over next month, but sure would be great to transition to Netbeans 11 prior to Web3D and SIGGRAPH conferences.  In any case, am willing to start.
>>>>>>
>>>>>> 3. Everything seems to work OK when using build.xml targets in Netbeans 8.
>>>>>>
>>>>>> 4. Am having trouble with "run" and "debug" for HelloWorldProgram and FieldObjectTests individually, I think I've messed up project properties somehow over last few weeks.
>>>>>>
>>>>>> 5. Tried create.X3DJSAIL under Netbeans 11, got JAXB errors, sounded like what you described.
>>>>>>
>>>>>> ant -f C:\\x3d-code\\www.web3d.org\\x3d\\stylesheets create.X3DJSAIL
>> ================================================================================
>>
>> On 6/11/2019 5:59 PM, John Carlson wrote:
>>> $ ~/apache-ant-1.10.5/bin/ant create.X3DJSAIL
>>>
>>> Buildfile: C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml
>>>
>>> BUILD FAILED
>>>
>>> C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:2589: C:\languages\java\jaxb-ri-2.3.1\jaxb-ri\mod does not exist.
>>>
>>> Total time: 0 seconds
>>>
>>> Probably you’re in the middle of a massive change, if I read the svn commits right.
>>>
>>> FYI,
>>>
>>> John
>>
>>
>> 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
> 


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