[JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread Michaël Michaud
Hi Ede, This commit breaks the extension initialization for me. I now get the following message : (my jar extension is built including language files in the jar) java.lang.ExceptionInInitializerError at org.openjump.advancedtools.CadExtension.configure(CadExtension.java:40) at com.v

[JPP-Devel] Language files

2017-03-19 Thread Michaël Michaud
Ede, I just noticed that WFS extension was broken in 1.10 (I18N problem) but has been fixed since then. You probably fixed the problem but I did not see the commit wher it has been repaired. Michaël -- Check out the

Re: [JPP-Devel] Language files

2017-03-19 Thread edgar . soldin
On 19.03.2017 11:55, Michaël Michaud wrote: > Ede, > > I just noticed that WFS extension was broken in 1.10 (I18N problem) but > has been fixed since then. looks like it. > > You probably fixed the problem but I did not see the commit wher it has > been repaired. > well i didn't! just check

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread edgar . soldin
hey Mike, works for me. let me investigate. 1. what's your jre? 2. how do you include the CadExtension in your IDE? ..ede On 19.03.2017 11:39, Michaël Michaud wrote: > Hi Ede, > > This commit breaks the extension initialization for me. I now get the > following message : > (my jar extension

Re: [JPP-Devel] Language files

2017-03-19 Thread Michaël Michaud
Ah, yes, language files are embeded in releases and in separate files in NB. In 1.10 release, I get the following NPE : java.util.MissingResourceException: Can't find bundle for base name language\wfs\messages, locale fr_FR at java.util.ResourceBundle.throwMissingResourceException(Resource

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread Michaël Michaud
Hi, I use a JRE 1.8 (but it worked before your change) and as I told you, I included language files in the CADExtension jar file (I'm pretty sure this is the difference between our environments). I think this is the same problem as for WFS. We cannot suppose that language files are in separate

[JPP-Devel] SVN: [5385] core/trunk/src/com/vividsolutions/jump/I18N.java

2017-03-19 Thread jump-pilot-svn
Revision: 5385 http://sourceforge.net/p/jump-pilot/code/5385 Author: edso Date: 2017-03-19 12:08:00 + (Sun, 19 Mar 2017) Log Message: --- try to fix > java.util.MissingResourceException: Can't find bundle for base name > language\wfs\messages, locale fr_FR > at >

Re: [JPP-Devel] Language files

2017-03-19 Thread edgar . soldin
my guess is that java changed the way it handles ResourceBundle.getBundle().. running that on a non existing properties file, was no issue until now. still cannot replicate it. what's your java version? using the stack below, i wrote a routine that might solve the issue. can you please try r538

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread edgar . soldin
On 19.03.2017 13:05, Michaël Michaud wrote: > Hi, > > I use a JRE 1.8 (but it worked before your change) and as I told you, I > included language files in the CADExtension jar file (I'm pretty sure > this is the difference between our environments). ic, you built your own extension jar. i actua

[JPP-Devel] SVN: [5386] core/trunk/scripts/oj_windows.bat

2017-03-19 Thread jump-pilot-svn
Revision: 5386 http://sourceforge.net/p/jump-pilot/code/5386 Author: edso Date: 2017-03-19 13:43:24 + (Sun, 19 Mar 2017) Log Message: --- fix java9 --add-exports is used for "9-ea" jre's exclusively, respecting manually set JAVA_HOME jre's now Modified Paths: -

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread Michaël Michaud
Hi Ede, I packaged CADExtension as an extension rather than a plugin (http://ojwiki.soldin.de/index.php?title=How_to_create_a_jar_plugin_in_ECLIPSE) Maybe tha'ts why resources files are not managed the same way, I run a java 64bits-server 1.8.0_60 I'm not sure that OpenJUMP "suddenly" complai

[JPP-Devel] SVN: [5387] core/trunk/src/com/vividsolutions/jump/I18N.java

2017-03-19 Thread jump-pilot-svn
Revision: 5387 http://sourceforge.net/p/jump-pilot/code/5387 Author: edso Date: 2017-03-19 15:04:34 + (Sun, 19 Mar 2017) Log Message: --- fix ResourceBundle does not like backslash separators when resources are in zips/jars > java.util.MissingResourceException: Can't f

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread edgar . soldin
On 19.03.2017 15:26, Michaël Michaud wrote: > In OpenJUMP I18N, there are two ways to initialize I18N : from a File or from > a name. > If a File is passed as the argument, I think it will look for the file and > will not find it if it is embedded in the jar. close but not quite. i found the com

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread Michaël Michaud
Yeah ! Fixed for me, both wfs and cadtool, thanks ;-) Michaël Le 19/03/2017 à 16:08, edgar.sol...@web.de a écrit : > On 19.03.2017 15:26, Michaël Michaud wrote: >> In OpenJUMP I18N, there are two ways to initialize I18N : from a File or >> from a name. >> If a File is passed as the argument, I

[JPP-Devel] SVN: [5388] core/trunk/src/com/vividsolutions/jump/util/StringUtil.java

2017-03-19 Thread jump-pilot-svn
Revision: 5388 http://sourceforge.net/p/jump-pilot/code/5388 Author: michaudm Date: 2017-03-19 18:15:24 + (Sun, 19 Mar 2017) Log Message: --- StringUtil : fix formatting double for NaN and Infinity Modified Paths: -- core/trunk/src/com/vividsolutions/jum

Re: [JPP-Devel] Fwd: SVN: [5384] plug-ins/CADExtension/trunk/src/org/openjump/advancedtools/ language/I18NPlug.java

2017-03-19 Thread edgar . soldin
yeahaahh :)) thanks for reporting.. ede On 19.03.2017 19:10, Michaël Michaud wrote: > Yeah ! > > Fixed for me, both wfs and cadtool, thanks ;-) > > Michaël > > > Le 19/03/2017 à 16:08, edgar.sol...@web.de a écrit : >> On 19.03.2017 15:26, Michaël Michaud wrote: >>> In OpenJUMP I18N, there are

[JPP-Devel] SVN: [5389] core/trunk/ChangeLog

2017-03-19 Thread jump-pilot-svn
Revision: 5389 http://sourceforge.net/p/jump-pilot/code/5389 Author: edso Date: 2017-03-19 18:50:00 + (Sun, 19 Mar 2017) Log Message: --- fix ResourceBundle does not like backslash separators when resources are in zips/jars > java.util.MissingResourceException: Can't f

[JPP-Devel] next release options

2017-03-19 Thread edgar . soldin
hey All, we fixed some crucial bugs which warrant a new release. we have two options here A. go directly to 1.11, as we have a new feature CAD tools B. disable CAD tools for the release, keep it in snapshots and release a v1.10.1 i'd vote for A. (release early, release often :) ..ede -

Re: [JPP-Devel] next release options

2017-03-19 Thread Michaël Michaud
Hi, I'm also OK for 1.11. When would you like to release ? Michaël Le 19/03/2017 à 19:52, edgar.sol...@web.de a écrit : > hey All, > > we fixed some crucial bugs which warrant a new release. we have two options > here > > A. go directly to 1.11, as we have a new feature CAD tools > > B. disab

Re: [JPP-Devel] next release options

2017-03-19 Thread edgar . soldin
after Peppe & Jukka spoke up.. maybe next week?.. ede On 19.03.2017 23:13, Michaël Michaud wrote: > Hi, > > I'm also OK for 1.11. > > When would you like to release ? > > Michaël > > > Le 19/03/2017 à 19:52, edgar.sol...@web.de a écrit : >> hey All, >> >> we fixed some crucial bugs which warr