Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-09-26 Thread edgar . soldin
Jukka,

still waiting for your take on this. see below. ..ede

On 01.09.2018 10:43, Michaël Michaud wrote:
> Hi Ede,
> 
> If we do not include jaxb in the future, we'll also have to remove 
> SetAttribute extension
> 
> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/
> 
> I think that removing these extensions is not an urgent matter if it only 
> hurts java12 which is not yet official.
> Let's keep it at least until the next OJ release.
> 
> Note that currently (1.13), we have 277 downloads for PLUS version and only 
> 16 for CORE.
> 
> My understanding is that most users want features and don't mind too much 
> about size. Despite this,
> I think that keeping the CORE as light as possible makes sense, but applying 
> the same diet to PLUS distro
> is just a way to condemn excluded extensions to oblivion as we have no 
> extension manager.
> 
> Michaël
> 
> 
> Le 30/08/2018 à 12:50, edgar.sol...@web.de a écrit :
>> just tried and i could only make it run by adding the jars from
>>
>> https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/2.3.0/jaxb-ri-2.3.0.zip
>> and
>> https://mvnrepository.com/artifact/com.sun.activation/javax.activation/1.2.0
>>
>> total 1.4M
>> -rw-r--r-- 1 ed None  77K 30. Aug 12:41 javax.activation-1.2.0.jar
>> -rw-r--r-- 1 ed None 123K 31. Jul 2017  jaxb-api.jar
>> -rw-r--r-- 1 ed None 250K  2. Aug 2017  jaxb-core.jar
>> -rw-r--r-- 1 ed None 942K  2. Aug 2017  jaxb-impl.jar
>>
>> still, i don't agree with such a big addition for that small gain. ..ede
>>
>> On 30.08.2018 12:13, Giuseppe Aruta wrote:
>>> No problem for me to keep in OJ Plus with an extra 1.4Mb of libraries.
>>> Possibly in the future we can have time to find a solution:.
>>>
>>> Peppe
>>>
>>> 2018-08-30 11:47 GMT+02:00 >> >:
>>>
>>>  Peppe, Jukka,
>>>
>>>  >On 8/28/2018 22:00, Michaël Michaud wrote:
>>>  >> I'd rather remove the extension than review its persistence 
>>> mechanism because anyway, I generally package a specific distro to users I 
>>> know. But before, I wish to hear from Jukka and Peppe, because if they 
>>> sometimes use this extension, or know people using it, it maybe worthwhile 
>>> letting it in PLUS distro, event at the price of +1.4Mb.
>>>  > ok. let's wait for their opinion on the matter.. ede
>>>
>>>  what is your take on this extension. ok to remove or? ..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
>>>
>>
>> --
>> 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
> 
> 
> --
> 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



___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-09-03 Thread edgar . soldin
On 01.09.2018 10:43, Michaël Michaud wrote:
> Hi Ede,
> 
> If we do not include jaxb in the future, we'll also have to remove 
> SetAttribute extension
> 
> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/

ok. or rework both ;)
 
> I think that removing these extensions is not an urgent matter if it only 
> hurts java12 which is not yet official.
> Let's keep it at least until the next OJ release.

i didn't try but read that it was removed in _java 11_ already. the startup 
scripts are now modified accordingly.

> Note that currently (1.13), we have 277 downloads for PLUS version and only 
> 16 for CORE.

only natural as PLUS is our default download since some time.

> My understanding is that most users want features and don't mind too much 
> about size. Despite this,
> I think that keeping the CORE as light as possible makes sense, but applying 
> the same diet to PLUS distro
> is just a way to condemn excluded extensions to oblivion as we have no 
> extension manager.

that's probably true, still i'd advise to apply some discipline, if at all 
possible, because we know of the sizes of the other JUMP clones (even minus 
shipped jre's) and we probably really do not want to end up there.

still, in the end we are a project of volunteers and i will accept the vote of 
a majority of contributors :).. let's see what Jukka has to say. still waiting 
for him to chime in.

..ede
 
> Michaël
> 
> 
> Le 30/08/2018 à 12:50, edgar.sol...@web.de a écrit :
>> just tried and i could only make it run by adding the jars from
>>
>> https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/2.3.0/jaxb-ri-2.3.0.zip
>> and
>> https://mvnrepository.com/artifact/com.sun.activation/javax.activation/1.2.0
>>
>> total 1.4M
>> -rw-r--r-- 1 ed None  77K 30. Aug 12:41 javax.activation-1.2.0.jar
>> -rw-r--r-- 1 ed None 123K 31. Jul 2017  jaxb-api.jar
>> -rw-r--r-- 1 ed None 250K  2. Aug 2017  jaxb-core.jar
>> -rw-r--r-- 1 ed None 942K  2. Aug 2017  jaxb-impl.jar
>>
>> still, i don't agree with such a big addition for that small gain. ..ede
>>
>> On 30.08.2018 12:13, Giuseppe Aruta wrote:
>>> No problem for me to keep in OJ Plus with an extra 1.4Mb of libraries.
>>> Possibly in the future we can have time to find a solution:.
>>>
>>> Peppe
>>>
>>> 2018-08-30 11:47 GMT+02:00 >> >:
>>>
>>>  Peppe, Jukka,
>>>
>>>  >On 8/28/2018 22:00, Michaël Michaud wrote:
>>>  >> I'd rather remove the extension than review its persistence 
>>> mechanism because anyway, I generally package a specific distro to users I 
>>> know. But before, I wish to hear from Jukka and Peppe, because if they 
>>> sometimes use this extension, or know people using it, it maybe worthwhile 
>>> letting it in PLUS distro, event at the price of +1.4Mb.
>>>  > ok. let's wait for their opinion on the matter.. ede
>>>
>>>  what is your take on this extension. ok to remove or? ..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
>>>
>>
>> --
>> 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
> 
> 
> --
> 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


--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-09-01 Thread Michaël Michaud

Hi Ede,

If we do not include jaxb in the future, we'll also have to remove 
SetAttribute extension


https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/

I think that removing these extensions is not an urgent matter if it 
only hurts java12 which is not yet official.

Let's keep it at least until the next OJ release.

Note that currently (1.13), we have 277 downloads for PLUS version and 
only 16 for CORE.


My understanding is that most users want features and don't mind too 
much about size. Despite this,
I think that keeping the CORE as light as possible makes sense, but 
applying the same diet to PLUS distro
is just a way to condemn excluded extensions to oblivion as we have no 
extension manager.


Michaël


Le 30/08/2018 à 12:50, edgar.sol...@web.de a écrit :

just tried and i could only make it run by adding the jars from

https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/2.3.0/jaxb-ri-2.3.0.zip
and
https://mvnrepository.com/artifact/com.sun.activation/javax.activation/1.2.0

total 1.4M
-rw-r--r-- 1 ed None  77K 30. Aug 12:41 javax.activation-1.2.0.jar
-rw-r--r-- 1 ed None 123K 31. Jul 2017  jaxb-api.jar
-rw-r--r-- 1 ed None 250K  2. Aug 2017  jaxb-core.jar
-rw-r--r-- 1 ed None 942K  2. Aug 2017  jaxb-impl.jar

still, i don't agree with such a big addition for that small gain. ..ede

On 30.08.2018 12:13, Giuseppe Aruta wrote:

No problem for me to keep in OJ Plus with an extra 1.4Mb of libraries.
Possibly in the future we can have time to find a solution:.

Peppe

2018-08-30 11:47 GMT+02:00 mailto:edgar.sol...@web.de>>:

 Peppe, Jukka,

 >On 8/28/2018 22:00, Michaël Michaud wrote:
 >> I'd rather remove the extension than review its persistence mechanism 
because anyway, I generally package a specific distro to users I know. But before, I 
wish to hear from Jukka and Peppe, because if they sometimes use this extension, or 
know people using it, it maybe worthwhile letting it in PLUS distro, event at the 
price of +1.4Mb.
 > ok. let's wait for their opinion on the matter.. ede

 what is your take on this extension. ok to remove or? ..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



--
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



--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-30 Thread edgar . soldin
just tried and i could only make it run by adding the jars from

https://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-ri/2.3.0/jaxb-ri-2.3.0.zip
and
https://mvnrepository.com/artifact/com.sun.activation/javax.activation/1.2.0

total 1.4M
-rw-r--r-- 1 ed None  77K 30. Aug 12:41 javax.activation-1.2.0.jar
-rw-r--r-- 1 ed None 123K 31. Jul 2017  jaxb-api.jar
-rw-r--r-- 1 ed None 250K  2. Aug 2017  jaxb-core.jar
-rw-r--r-- 1 ed None 942K  2. Aug 2017  jaxb-impl.jar

still, i don't agree with such a big addition for that small gain. ..ede

On 30.08.2018 12:13, Giuseppe Aruta wrote:
> No problem for me to keep in OJ Plus with an extra 1.4Mb of libraries.
> Possibly in the future we can have time to find a solution:.
> 
> Peppe
> 
> 2018-08-30 11:47 GMT+02:00 mailto:edgar.sol...@web.de>>:
> 
> Peppe, Jukka,
> 
> >On 8/28/2018 22:00, Michaël Michaud wrote:
> >> I'd rather remove the extension than review its persistence mechanism 
> because anyway, I generally package a specific distro to users I know. But 
> before, I wish to hear from Jukka and Peppe, because if they sometimes use 
> this extension, or know people using it, it maybe worthwhile letting it in 
> PLUS distro, event at the price of +1.4Mb.
> > ok. let's wait for their opinion on the matter.. ede
> 
> what is your take on this extension. ok to remove or? ..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
> 


--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-30 Thread Giuseppe Aruta
No problem for me to keep in OJ Plus with an extra 1.4Mb of libraries.
Possibly in the future we can have time to find a solution:.

Peppe

2018-08-30 11:47 GMT+02:00 :

> Peppe, Jukka,
>
> >On 8/28/2018 22:00, Michaël Michaud wrote:
> >> I'd rather remove the extension than review its persistence mechanism
> because anyway, I generally package a specific distro to users I know. But
> before, I wish to hear from Jukka and Peppe, because if they sometimes use
> this extension, or know people using it, it maybe worthwhile letting it in
> PLUS distro, event at the price of +1.4Mb.
> > ok. let's wait for their opinion on the matter.. ede
>
> what is your take on this extension. ok to remove or? ..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-30 Thread edgar . soldin
Peppe, Jukka,

>On 8/28/2018 22:00, Michaël Michaud wrote:
>> I'd rather remove the extension than review its persistence mechanism 
>> because anyway, I generally package a specific distro to users I know. But 
>> before, I wish to hear from Jukka and Peppe, because if they sometimes use 
>> this extension, or know people using it, it maybe worthwhile letting it in 
>> PLUS distro, event at the price of +1.4Mb.
> ok. let's wait for their opinion on the matter.. ede

what is your take on this extension. ok to remove or? ..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-30 Thread Giuseppe Aruta
Yes Michael,
my comparition was to explain to Ede what LayerManagerExtension and
LayerView plugin can do.
IMO I think that LayerManagerExtension is a good plugin to have in in
OpenJUMP one day.
Regarding depency, Sextante has a depency to a lib "kxml2.jar" which
possibly can help inthe future
Best regards

2018-08-28 21:35 GMT+02:00 Michaël Michaud :

> Hi,
>
> The exception noticed by Jukka was not from LayerView but from
> LayerManagerExtension
>
> Both are about styling layers, but with different goals :
> - LayerView is a Layer which uses the data of another layer as its
> datasource. It makes it possible to apply a second style to a dataset
> without duplicating the data. There was a bug reported by Peppe a few days
> ago about this plugin : a project containing LayerViews could not be save /
> restore. The bug is partly resolved.
>
> -LayerManager is an extension to save styles associated  to different
> layers without saving the data, in order to re-use the the styles with
> another dataset having the same structure but different data. It uses jaxb
> as its persistence mechanism, and this is the one that is incompatible with
> JDK 12ea recently tested by Jukka (because jaxb has been removed from the
> jdk).
>
> Ede, there is a small introduction on this extension here :
> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%
> 20Plugins/ViewManager%20PlugIn/
>
> Michaël
>
> Le 28/08/2018 à 11:15, Giuseppe Aruta a écrit :
>
> Hi Ede
> Layer views are basically different views of the layer with (optionally)
> different styles applied
> In order to simplify you can consider layer views as sinonimous of styles
> of layer (Layer>Style>Change styles)
> See also the new plugin in the layer toc "Add layer view"
> Best regards
>
>
>
> 2018-08-28 10:02 GMT+02:00 :
>
>> On 28.08.2018 07:38, Michaël Michaud wrote:
>> > Also it it is difficult to make it lighter, we can also remove it from
>> the PLUS distro.
>>
>> right. what does it do by the way. i saw it lacks german translation
>> which i could do if i know what it does. it seems to be hidden in the
>> Plugin menu as well and should be placed properly via def-plugins.xml if we
>> decide to keep it.
>>
>> how about we remove it and if users complain we at least know it is in
>> actual use and think of a solution?
>>
>> ..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
>>
>
>
>
> --
> 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 
> listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
> 
> --
> 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
>
>
--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread edgar . soldin
On 8/28/2018 23:28, Michaël Michaud wrote:
> 
> On 8/28/2018 22:00, Michaël Michaud wrote:
>>> HI Ede
>>>
>>>
 right. what does it do by the way. i saw it lacks german translation which 
 i could do if i know what it does. it seems to be hidden in the Plugin 
 menu as well and should be placed properly via def-plugins.xml if we 
 decide to keep it.
>>> What should be placed by default-plugins.xml ? I think it is the role of 
>>> the extension to place its own plugin isn't it ? default-plugins is not 
>>> supposed to know anything about extension's plugin or did I miss something ?
>> well yes ;).. when i redesigned the plugin loading i made it possible for us 
>> to finetune plugin installing as we want it, because we might know better 
>> where to place it or simply want to force some order onto things.
>> another reason was to make it possible to influence plugin installing w/o 
>> needing to patch the extension first. you might want to check eg. how 
>> skyprinter is placed to a different location
>>
>>  
>>  com.isa.jump.plugin.PrintPlugIn
>>  
>>  >  menupath="MenuNames.FILE/MenuNames.PRINT" />
>>  
>>  
>>
>> we can actually modify any aspect of the plugin installation here (icon, 
>> name etc.)
> I know using default-plugins.xml gives a good control over plugin 
> installation without changing the code, but in your example, this is a plugin 
> that is included in OJ Core. 

well no, it is shipped with CORE but actually is an extension in lib/ext/ and 
installs itself. but ok, then take cadplan printer, which is shipped w/ PLUS


com.cadplan.jump.PrinterPlugIn





>What about real extension which we dont want in the core like the 
>ViewManagerExtension ? Can we use default-plugins.xml to install plugins that 
>do not exist in the CORE ? 

yes. the plugin class simply needs to be within the scope of our classloader. 
then 

 
my.super.plugin


...



installs it.

'initialize=false' though, does not prevent installing. it merely does not run 
the install routine in plugin manager and the extension does have to do it 
themselves. but when they do, they use featureinstaller, which in turn checks 
for the values in default-plugins.xml, nifty no? 

>
Should we maintain two default-plugins.xml ? 

why? the idea is to have _one_ place, where we can sort menu entries or modify 
them to our will. i would not know how to maintain sequence when two files are 
used.

>And what abou third-party extensions that we want to include in PLUS ?

works already, doesn't it? some PLUS extensions are probably already sorted via 
default-plugins.xml and if not they are simply added to the end of their 
corresponding menu.

 how about we remove it and if users complain we at least know it is in 
 actual use and think of a solution?
>> so Mike, rather removal or adaption? btw. the maven jar is merely 90kB big, 
>> wouldn't javax.xml.bind suffice?
>>    https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api/2.1
> I think that we'll need several additional jars : jaxb-api, jaxb-core, 
> jaxb-impl, activation
> That means 1.4M. But I did not test anything. It would be a good new if 
> jaxb-api was sufficient ;-)

well, maven registries usually maintain dependency lists. the entry above does 
state only a compile time dependency to one other jar. no runtime dependencies 
at all. not saying it's correct, just stating what it says.

> I'd rather remove the extension than review its persistence mechanism because 
> anyway, I generally package a specific distro to users I know. But before, I 
> wish to hear from Jukka and Peppe, because if they sometimes use this 
> extension, or know people using it, it maybe worthwhile letting it in PLUS 
> distro, event at the price of +1.4Mb.

ok. let's wait for their opinion on the matter.. 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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread Michaël Michaud



On 8/28/2018 22:00, Michaël Michaud wrote:

HI Ede



right. what does it do by the way. i saw it lacks german translation which i 
could do if i know what it does. it seems to be hidden in the Plugin menu as 
well and should be placed properly via def-plugins.xml if we decide to keep it.

What should be placed by default-plugins.xml ? I think it is the role of the 
extension to place its own plugin isn't it ? default-plugins is not supposed to 
know anything about extension's plugin or did I miss something ?

well yes ;).. when i redesigned the plugin loading i made it possible for us to 
finetune plugin installing as we want it, because we might know better where to 
place it or simply want to force some order onto things.
another reason was to make it possible to influence plugin installing w/o 
needing to patch the extension first. you might want to check eg. how 
skyprinter is placed to a different location

 
 com.isa.jump.plugin.PrintPlugIn
 
 
 
 

we can actually modify any aspect of the plugin installation here (icon, name 
etc.)
I know using default-plugins.xml gives a good control over plugin 
installation without changing the code, but in your example, this is a 
plugin that is included in OJ Core. What about real extension which we 
dont want in the core like the ViewManagerExtension ? Can we use 
default-plugins.xml to install plugins that do not exist in the CORE ? 
Should we maintain two default-plugins.xml ? And what abou third-party 
extensions that we want to include in PLUS ?

Michaël

how about we remove it and if users complain we at least know it is in actual 
use and think of a solution?

so Mike, rather removal or adaption? btw. the maven jar is merely 90kB big, 
wouldn't javax.xml.bind suffice?
   https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api/2.1
I think that we'll need several additional jars : jaxb-api, jaxb-core, 
jaxb-impl, activation
That means 1.4M. But I did not test anything. It would be a good new if 
jaxb-api was sufficient ;-)


I'd rather remove the extension than review its persistence mechanism 
because anyway, I generally package a specific distro to users I know. 
But before, I wish to hear from Jukka and Peppe, because if they 
sometimes use this extension, or know people using it, it maybe 
worthwhile letting it in PLUS distro, event at the price of +1.4Mb.


Michaël



..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread edgar . soldin
On 8/28/2018 22:00, Michaël Michaud wrote:
> HI Ede
> 
> 
>> right. what does it do by the way. i saw it lacks german translation which i 
>> could do if i know what it does. it seems to be hidden in the Plugin menu as 
>> well and should be placed properly via def-plugins.xml if we decide to keep 
>> it. 
> What should be placed by default-plugins.xml ? I think it is the role of the 
> extension to place its own plugin isn't it ? default-plugins is not supposed 
> to know anything about extension's plugin or did I miss something ?

well yes ;).. when i redesigned the plugin loading i made it possible for us to 
finetune plugin installing as we want it, because we might know better where to 
place it or simply want to force some order onto things.
another reason was to make it possible to influence plugin installing w/o 
needing to patch the extension first. you might want to check eg. how 
skyprinter is placed to a different location


com.isa.jump.plugin.PrintPlugIn





we can actually modify any aspect of the plugin installation here (icon, name 
etc.)

> 
> Michaël
>> how about we remove it and if users complain we at least know it is in 
>> actual use and think of a solution?

so Mike, rather removal or adaption? btw. the maven jar is merely 90kB big, 
wouldn't javax.xml.bind suffice?
  https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api/2.1

..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread Michaël Michaud

HI Ede


right. what does it do by the way. i saw it lacks german translation 
which i could do if i know what it does. it seems to be hidden in the 
Plugin menu as well and should be placed properly via def-plugins.xml 
if we decide to keep it. 
What should be placed by default-plugins.xml ? I think it is the role of 
the extension to place its own plugin isn't it ? default-plugins is not 
supposed to know anything about extension's plugin or did I miss something ?


Michaël

how about we remove it and if users complain we at least know it is in actual 
use and think of a solution?

..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread Michaël Michaud

Hi,

The exception noticed by Jukka was not from LayerView but from 
LayerManagerExtension


Both are about styling layers, but with different goals :
- LayerView is a Layer which uses the data of another layer as its 
datasource. It makes it possible to apply a second style to a dataset 
without duplicating the data. There was a bug reported by Peppe a few 
days ago about this plugin : a project containing LayerViews could not 
be save / restore. The bug is partly resolved.


-LayerManager is an extension to save styles associated  to different 
layers without saving the data, in order to re-use the the styles with 
another dataset having the same structure but different data. It uses 
jaxb as its persistence mechanism, and this is the one that is 
incompatible with JDK 12ea recently tested by Jukka (because jaxb has 
been removed from the jdk).


Ede, there is a small introduction on this extension here :
https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/

Michaël


Le 28/08/2018 à 11:15, Giuseppe Aruta a écrit :

Hi Ede
Layer views are basically different views of the layer with 
(optionally) different styles applied
In order to simplify you can consider layer views as sinonimous of 
styles of layer (Layer>Style>Change styles)

See also the new plugin in the layer toc "Add layer view"
Best regards



2018-08-28 10:02 GMT+02:00 >:


On 28.08.2018 07:38, Michaël Michaud wrote:
> Also it it is difficult to make it lighter, we can also remove
it from the PLUS distro.

right. what does it do by the way. i saw it lacks german
translation which i could do if i know what it does. it seems to
be hidden in the Plugin menu as well and should be placed properly
via def-plugins.xml if we decide to keep it.

how about we remove it and if users complain we at least know it
is in actual use and think of a solution?

..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





--
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


--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread Giuseppe Aruta
Hi Ede
Layer views are basically different views of the layer with (optionally)
different styles applied
In order to simplify you can consider layer views as sinonimous of styles
of layer (Layer>Style>Change styles)
See also the new plugin in the layer toc "Add layer view"
Best regards



2018-08-28 10:02 GMT+02:00 :

> On 28.08.2018 07:38, Michaël Michaud wrote:
> > Also it it is difficult to make it lighter, we can also remove it from
> the PLUS distro.
>
> right. what does it do by the way. i saw it lacks german translation which
> i could do if i know what it does. it seems to be hidden in the Plugin menu
> as well and should be placed properly via def-plugins.xml if we decide to
> keep it.
>
> how about we remove it and if users complain we at least know it is in
> actual use and think of a solution?
>
> ..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
>
--
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-28 Thread edgar . soldin
On 28.08.2018 07:38, Michaël Michaud wrote:
> Also it it is difficult to make it lighter, we can also remove it from the 
> PLUS distro.

right. what does it do by the way. i saw it lacks german translation which i 
could do if i know what it does. it seems to be hidden in the Plugin menu as 
well and should be placed properly via def-plugins.xml if we decide to keep it.

how about we remove it and if users complain we at least know it is in actual 
use and think of a solution?

..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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-27 Thread Michaël Michaud

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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-27 Thread edgar . soldin
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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-27 Thread Michaël Michaud

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


Re: [JPP-Devel] NoClassDefFoundError when starting OJ r5929 with JDK 12

2018-08-27 Thread edgar . soldin
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