Hi Ede,

You can have a look at ViewManager in the PlugIn repository. May not be so difficult to change but many classes have to be serialiable and configured through java2xml files. At the time I choosed jaxb, I may have tried java2xml and encountered some difficulties to modelize heritage through java2xml, but I'm not sure.

When I wrote it, i was quite familiar with jaxb and it seemed to me that it was a more modern (annotation-based), more standardized (available in jre) and more flexible way to serialize classes to xml than java2xml, but I like light-weight plugins and I admit that 1.4Mo is a bit expensive for such a plugin. Also it it is difficult to make it lighter, we can also remove it from the PLUS distro.

Michaël


Le 28/08/2018 à 00:12, edgar.sol...@web.de a écrit :
1.4Megs sees kind of a waste just for this function. please give me some time 
to evaluate first.. ede

On 8/27/2018 23:52, Michaël Michaud wrote:
Hi thanks,

I'll probably add jaxb as a dependency (about 1.4Mb) as it would be a bit of 
work to switch to java2xml.

Michaël


Le 27/08/2018 à 15:41, edgar.sol...@web.de a écrit :
On 27.08.2018 15:00, Rahkonen Jukka (MML) wrote:
Hi,

OpenJUMP does start with JDK 12 but it throws this error

java.lang.NoClassDefFoundError: javax/xml/bind/UnmarshalException
                             at 
org.openjump.ext.viewmanager.ViewManagerExtension.configure(ViewManagerExtension.java:21)
                             at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:214)
                             at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:194)
                             at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:457)
                             at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:386)

Error does not happen with Java 8.  OpenJUMP does work despite the error 
message so probably it affects only the ViewManagerExtension.
JDK version: 
https://download.java.net/java/early_access/jdk12/8/GPL/openjdk-12-ea+8_windows-x64_bin.zip

yeah. that needs to be fixed in ViewManager, probably by Mike as he created the 
extension. it uses code (javax.xml.bind) which is not part of the jdk anymore 
since java 11. replacing it with one of the other xml implementations we use 
should be not to hard.

Mike? do you need a ticket?.. ede




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to