Re: [JPP-Devel] I need an help

2011-07-14 Thread Matthias Scholz

Hi Peppe!

I'm right that you develop a angle measure tool? If so, we should work 
together. An angle measurement is one point of my TODO for the 
AdvancedMeasureTool. My plan was to integrate a third mode (length, area 
and angle) for the measure tool. The result should be displayed in same 
manner as in length and area mode. With all the styling possibilities. 
Please tell me your point of view.


Regards
Matthias


Hi Stefan.  Welcome back!

@Peppe, I think Stefan is referring to Edit Selected Side, and it 
seems like a perfect example of what you are trying to do.  It creates 
a new temporary layer and calculates distance and angles.


regards,

Larry

On Wed, Jul 13, 2011 at 2:28 PM, Stefan Steiniger > wrote:


Hei Peppe

thats great news that you started programming!
for the first one - how about this example on the buffer:


http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Example_Plugin_For_Buffering_Features_in_a_Layer

but instead of creating a buffer geometry you get the coordinate
of the
point and create a new point feature in a new layer... or so?
But what makes it a bit more difficult is that you stay in an
interaction mode... i.e. you activate the function once and then
stop it
later when you are done and keep writing to the same layer... so you
need like two buttons and create the layer only once? (my draw circles
tool from the editing box is a bit a mess, but could help
too)...mhm the
more I think about it, the more complicated it seems to me.

for the second on.. seems more tricky to me. Would need to think
about it.
However, the tools that came with SkyJump to modify and access
edges of
a polygon do something similar - right?

cheers,
stefan

On 13/07/2011 2:26 AM, Edgar Soldin wrote:
>> My idea is to start from this tool to obtain other surveying tools.
>>
>> My questions are:
>>
>> 1) actually the tool only displays on status panel the value of
the angle. I need that it creates a new layer and , for every
measuring,  a point with the values of degrees saved in an attribute
>>
>> 2) I need that the tools creates, for every measuring, a line
 with vectors (segments) oriented according the calculated angles.
>>
>> I really thatnk if someone can help me.
>>
> i usually look around if somewhere in oj or in an extension is a
similar functionality as i need and look how thy did it, reading
the source. then i cherry-pick the routines i need and glue them
together as needed.
>
> good luck ede
>
>
>

--
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net

> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev


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


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Jump-pilot-devel m

Re: [JPP-Devel] packaging for win

2011-07-14 Thread edgar . soldin
On 14.07.2011 19:48, Stefan Steiniger wrote:
> Hei Ed & Michael,
> 
> yes... windows users are lazy and do what they are used to and that's 
> what I am actually seeing for myself too: if I have the option for an 
> exe to install, then I download it. (Though rediscovering the Ubuntu 
> packaging service: the whole packaging on linux is nice too... even nicer)

i am just asking,) not being the one having the work.. but continuing your 
statement if we release more oftenand keep it we should find a way to automate 
it as far as possible

> 
> Having a look at the downloads stats (when they work again) should 
> confirm that the extra effort makes sense.

that assumes that windows users wouldn't download the zip files. i'd argue they 
would, given they are told what it is and what to do. since windows xp zip 
files are natively supported.

plus my 2 cents (we've got 4 now :) ..ede

> 
> cheers from Calgary (my 2 cents)
> stefan
> 
>>> windows setup:
>>>
>>> as fancy as it is. is it worth the extra effort, necessary for every 
>>> release (can we automate that?)? what are the benefits? windows users can 
>>> as well use the multiplatform distro.
>> Packaging a windows version is a bit of extra work. I don't use the
>> installer nor the .exe, even if I'm a windows user, but I think this is
>> useful for a better adoption of OpenJUMP. I would be pleased to study
>> multiplatform installers like IzPack which I used in the past, but this
>> is not my priority for now.
>>
>> Michaël
> 
> 
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] packaging for win

2011-07-14 Thread Stefan Steiniger
Hei Ed & Michael,

yes... windows users are lazy and do what they are used to and that's 
what I am actually seeing for myself too: if I have the option for an 
exe to install, then I download it. (Though rediscovering the Ubuntu 
packaging service: the whole packaging on linux is nice too... even nicer)

Having a look at the downloads stats (when they work again) should 
confirm that the extra effort makes sense.

cheers from Calgary (my 2 cents)
stefan

>> windows setup:
>>
>> as fancy as it is. is it worth the extra effort, necessary for every release 
>> (can we automate that?)? what are the benefits? windows users can as well 
>> use the multiplatform distro.
> Packaging a windows version is a bit of extra work. I don't use the
> installer nor the .exe, even if I'm a windows user, but I think this is
> useful for a better adoption of OpenJUMP. I would be pleased to study
> multiplatform installers like IzPack which I used in the past, but this
> is not my priority for now.
>
> Michaël


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS basic auth problem with OpenJUMP 1.4.1

2011-07-14 Thread edgar . soldin
On 14.07.2011 16:57, Michaël Michaud wrote:
> Packaging a windows version is a bit of extra work. I don't use the 
> installer nor the .exe, even if I'm a windows user, but I think this is 
> useful for a better adoption of OpenJUMP. I would be pleased to study 
> multiplatform installers like IzPack which I used in the past, but this 
> is not my priority for now.

i'd say it is your decision whether you create a setup or not for a bugfix 
release, since it is you doing the work ;) .. as oj is a extract and run 
application, i see no real need for a setup. Doesn't the exe even complain if 
there is no jre available?

ede

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] WMS basic auth problem with OpenJUMP 1.4.1

2011-07-14 Thread Michaël Michaud
Hi Ede,

>> I've modified it but I've not yet committed,
Done, but will need more check.
> we talked about a new version scheme and maybe now it is the time to do so. 
> How about three number only
> ..
> major is changed when really big changes occur, e.g. backward compatibility 
> breaks, oj runs on android or such
> minor are regular functionality changes
> patch is bugfixes
>
> that should be sufficient for our use case.
Agree, so I switch to 1.4.2, and I'll try to make a fix release soon 
(this month). In the meantime, I keep snapshot extension for NB jar file 
name (pom.xml) and alpha or beta extension in the code (JUMPVersion, 
jump.properties and build.xml) so that jar files compiled between two 
releases can be distinguished from official releases.
> windows setup:
>
> as fancy as it is. is it worth the extra effort, necessary for every release 
> (can we automate that?)? what are the benefits? windows users can as well use 
> the multiplatform distro.
Packaging a windows version is a bit of extra work. I don't use the 
installer nor the .exe, even if I'm a windows user, but I think this is 
useful for a better adoption of OpenJUMP. I would be pleased to study 
multiplatform installers like IzPack which I used in the past, but this 
is not my priority for now.

Michaël
> ede
>
>>
> also. isn't there a wildcard adding possible with ant, preventing this 
> for the future?
 Yes, it is even possible to include all but one package (there is a
 jumptest subfolder in src which may not have its place in distribution)
>>> +1 let's rather exclude than cherrypick includes.
>>>
>>> :) ede
>>>
>>>
 Michaël
> ..ede
>
> On 13.07.2011 21:16, Michaël Michaud wrote:
>> Hi,
>>
>> I'm sorry that net package misses in 1.4.1.
>> Unfortunately, it has not been added to the ant build file after Ede
>> replaced old sun classes by these free ones, and I did not notice it
>> because it seems it does not prevent to connect to wms url as long as it
>> is not secured url.
>> Not sure how NB is compiled. Using maven I think.
>>
>> I'll fix this to night and let you know.
>>
>> Michaël
>>
>> Le 13/07/2011 10:51, edgar.sol...@web.de a écrit :
>>> On 13.07.2011 10:41, Rahkonen Jukka wrote:
 Hi,

 I tested WMS basic authentication for Ede some time ago and it did 
 work then with the nightly build that Ede showed me.  However, it 
 looks like something went wrong with the OJ 1.4.1 release.
 When trying to connect with WMS url like 
 "https://username:password@server..."; the result is this error:

 java.lang.NoClassDefFoundError: net/iharder/Base64
>>> right, the new base64 encoder component is missing in 
>>> openjump-workbench-1.4.1.jar or openjump-api-1.4.1.jar. You can 
>>> workaround by replacing the above files with the nightly build 
>>> openjump-core-1.4.1-SNAPSHOT.jar which contains it plus the contents of 
>>> the other two jars.
>>>
>>> Michael how comes it did not end up in the release :)?
>>>
>>> ede
>>>
>>> --
>>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>> Secrets Revealed." This video shows you how to validate your ideas,
>>> optimize your ideas and identify your business strategy.
>>> http://p.sf.net/sfu/appsumosfdev2dev
>>> ___
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>> --
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourcef

Re: [JPP-Devel] WMS basic auth problem with OpenJUMP 1.4.1

2011-07-14 Thread edgar . soldin
On 14.07.2011 13:03, Michaël Michaud wrote:
> Hi,
>> i see only xml files in trunk that seem to organize the nightly build. where 
>> are the ant build files located?
> ant build file is in the etc directory.
> I've modified it but I've not yet committed,

ok thanks

> I think I will switch the code to 1.4.2alpha today, not make an official 
> release of a patched 1.4.1 release (patched code will be available in NB 
> as 1.4.2-snapshot) and try to release 1.4.2 within a few months.
> 
> Any thought about this schedule ?

i actually think wms auth is important and should be fixed right away. we could 
wait for one or two weeks if more urgent bugs occur but release the fixed 
version then.

versioning:

we talked about a new version scheme and maybe now it is the time to do so. How 
about three number only
..
major is changed when really big changes occur, e.g. backward compatibility 
breaks, oj runs on android or such
minor are regular functionality changes
patch is bugfixes

that should be sufficient for our use case.

windows setup:

as fancy as it is. is it worth the extra effort, necessary for every release 
(can we automate that?)? what are the benefits? windows users can as well use 
the multiplatform distro.

ede

> 
> 
 also. isn't there a wildcard adding possible with ant, preventing this for 
 the future?
>>> Yes, it is even possible to include all but one package (there is a
>>> jumptest subfolder in src which may not have its place in distribution)
>> +1 let's rather exclude than cherrypick includes.
>>
>> :) ede
>>
>>
>>> Michaël
 ..ede

 On 13.07.2011 21:16, Michaël Michaud wrote:
> Hi,
>
> I'm sorry that net package misses in 1.4.1.
> Unfortunately, it has not been added to the ant build file after Ede
> replaced old sun classes by these free ones, and I did not notice it
> because it seems it does not prevent to connect to wms url as long as it
> is not secured url.
> Not sure how NB is compiled. Using maven I think.
>
> I'll fix this to night and let you know.
>
> Michaël
>
> Le 13/07/2011 10:51, edgar.sol...@web.de a écrit :
>> On 13.07.2011 10:41, Rahkonen Jukka wrote:
>>> Hi,
>>>
>>> I tested WMS basic authentication for Ede some time ago and it did work 
>>> then with the nightly build that Ede showed me.  However, it looks like 
>>> something went wrong with the OJ 1.4.1 release.
>>> When trying to connect with WMS url like 
>>> "https://username:password@server..."; the result is this error:
>>>
>>> java.lang.NoClassDefFoundError: net/iharder/Base64
>> right, the new base64 encoder component is missing in 
>> openjump-workbench-1.4.1.jar or openjump-api-1.4.1.jar. You can 
>> workaround by replacing the above files with the nightly build 
>> openjump-core-1.4.1-SNAPSHOT.jar which contains it plus the contents of 
>> the other two jars.
>>
>> Michael how comes it did not end up in the release :)?
>>
>> ede
>>
>> --
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on "Lean Startup
 Secrets Revealed." This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


>>>
>>> --
>>> A

Re: [JPP-Devel] WMS basic auth problem with OpenJUMP 1.4.1

2011-07-14 Thread Michaël Michaud
Hi,
> i see only xml files in trunk that seem to organize the nightly build. where 
> are the ant build files located?
ant build file is in the etc directory.
I've modified it but I've not yet committed,
I think I will switch the code to 1.4.2alpha today, not make an official 
release of a patched 1.4.1 release (patched code will be available in NB 
as 1.4.2-snapshot) and try to release 1.4.2 within a few months.

Any thought about this schedule ?

Michaël


>>> also. isn't there a wildcard adding possible with ant, preventing this for 
>>> the future?
>> Yes, it is even possible to include all but one package (there is a
>> jumptest subfolder in src which may not have its place in distribution)
> +1 let's rather exclude than cherrypick includes.
>
> :) ede
>
>
>> Michaël
>>> ..ede
>>>
>>> On 13.07.2011 21:16, Michaël Michaud wrote:
 Hi,

 I'm sorry that net package misses in 1.4.1.
 Unfortunately, it has not been added to the ant build file after Ede
 replaced old sun classes by these free ones, and I did not notice it
 because it seems it does not prevent to connect to wms url as long as it
 is not secured url.
 Not sure how NB is compiled. Using maven I think.

 I'll fix this to night and let you know.

 Michaël

 Le 13/07/2011 10:51, edgar.sol...@web.de a écrit :
> On 13.07.2011 10:41, Rahkonen Jukka wrote:
>> Hi,
>>
>> I tested WMS basic authentication for Ede some time ago and it did work 
>> then with the nightly build that Ede showed me.  However, it looks like 
>> something went wrong with the OJ 1.4.1 release.
>> When trying to connect with WMS url like 
>> "https://username:password@server..."; the result is this error:
>>
>> java.lang.NoClassDefFoundError: net/iharder/Base64
> right, the new base64 encoder component is missing in 
> openjump-workbench-1.4.1.jar or openjump-api-1.4.1.jar. You can 
> workaround by replacing the above files with the nightly build 
> openjump-core-1.4.1-SNAPSHOT.jar which contains it plus the contents of 
> the other two jars.
>
> Michael how comes it did not end up in the release :)?
>
> ede
>
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on "Lean Startup
 Secrets Revealed." This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>> --
>>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>> Secrets Revealed." This video shows you how to validate your ideas,
>>> optimize your ideas and identify your business strategy.
>>> http://p.sf.net/sfu/appsumosfdev2dev
>>> ___
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>>
>>
>> --
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/s

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Giuseppe Aruta
Hi Geoff,
today I will send you the translation of your plugin in Spanish nad some 
corrections for Italian too. Before new realize

Giuseppe

--- Gio 14/7/11, Michaël Michaud  ha scritto:

Da: Michaël Michaud 
Oggetto: Re: [JPP-Devel] PrinterPlugIn (for Michael
A: "OpenJump develop and use" 
Data: Giovedì 14 luglio 2011, 12:22



  


  
  
Hi Geoffrey,




  OK, when you are happy that there are no more bugs I will release
  the new version (and code)


Thanks, it works fine for me now.



Later, I'll send you a language file for vertex plugin, but this is
another jar, so this is just for information.



Thanks for all,



Regards



Michaël








  

  Geoff

  

  On 14/07/2011 4:11 AM, Michaël Michaud wrote:
  



Hi, Geoffrey



Thanks a lot for all your efforts,



I'll test your improvements soon and let you know.



Michaël



  
  Dear Michael

  

  Thanks for the feedback. I am attaching revised version:

  
The problem with the number format could be solved
  nicely with some effort, but I have simply removed the
  grouping separator (a comma in English).  There is
  obviously a problem with European decimal formats.  I
  think this is the problem, please test again.
The titles for the various renderers have changed over
  time - also their "meaning".  In earlier attempts I was
  testing 4 different renders that were called "Quality"
  "Accurate" etc, but these have been replaced by three
  "ISA, Core and External" - with the user to decide which
  gives the best results.
I now understand your problem with the name of the JAR -
  yes it cannot be changed without changing the code.  Again
  this can be fixed, but I do not have the time at the
  moment.
The typo in the language files fixed
A new French language file installed.
  
  Hope this is now OK for you.

  

  regards

  

  Geoff

  

  On 11/07/2011 6:29 AM, Michaël Michaud wrote:
  



Hi Geoff,



Thanks a lot for improvements !




  
The scale field now checks for numeric values with
  spaces, and attempts to resolve a reasonable number,
  so "1 234" and "1,234" converts to "1234".  Please let
  me know if this causes any other problems with your
  decimal point/separator values.
  

  
  

  

  
  

This one is not fixed for me. To reproduce the problem, set
locale to french/France, open the main printer dialog (I get
a scale of "2 897" for example), and click in the "fit to
page" checkbox.

I get an "Error in the scale field" error.

If I change to english/Australia locale, I get the scale as
2,897 (instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.

Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html



  
The  button now operates the
  same as the  button.
  

Fixed, thanks.


  
PrinterPlugin tooltip is now internationalized
  

Fixed, thanks.


  
The title of the  dialog is now
  internationalized.
  

Fixed, thanks


  
The "Quality" word in the Help dialog should simply
  be removed from the language file
  (JumpPrinter.HelpDialog.Message7).  In English I have
  changed this to "Options ".  I have not changed
  the other language files.
  

OK, what I meant was that "Precision" and "Quality words
used in "JumpPrinter.Setup.Quality" and
"JumpPrinter.Setup.Message7" were probably refering to old
PrinterSetUp

String [] qualityItems = {"OJ Quality Renderer", "OJ
Accurate Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called

String [] qualityItems = {"ISA Renderer", "Core Renderer",
"External Renderer"};

  

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Michaël Michaud

Hi Geoffrey,

OK, when you are happy that there are no more bugs I will release the 
new version (and code)

Thanks, it works fine for me now.

Later, I'll send you a language file for vertex plugin, but this is 
another jar, so this is just for information.


Thanks for all,

Regards

Michaël





Geoff

On 14/07/2011 4:11 AM, Michaël Michaud wrote:

Hi, Geoffrey

Thanks a lot for all your efforts,

I'll test your improvements soon and let you know.

Michaël

Dear Michael

Thanks for the feedback. I am attaching revised version:

   1. The problem with the number format could be solved nicely with
  some effort, but I have simply removed the grouping separator
  (a comma in English).  There is obviously a problem with
  European decimal formats.  I think this is the problem, please
  test again.
   2. The titles for the various renderers have changed over time -
  also their "meaning".  In earlier attempts I was testing 4
  different renders that were called "Quality" "Accurate" etc,
  but these have been replaced by three "ISA, Core and External"
  - with the user to decide which gives the best results.
   3. I now understand your problem with the name of the JAR - yes
  it cannot be changed without changing the code.  Again this
  can be fixed, but I do not have the time at the moment.
   4. The typo in the language files fixed
   5. A new French language file installed.

Hope this is now OK for you.

regards

Geoff

On 11/07/2011 6:29 AM, Michaël Michaud wrote:

Hi Geoff,

Thanks a lot for improvements !


   1. The scale field now checks for numeric values with spaces,
  and attempts to resolve a reasonable number, so "1 234" and
  "1,234" converts to "1234".  Please let me know if this
  causes any other problems with your decimal point/separator
  values.



This one is not fixed for me. To reproduce the problem, set locale 
to french/France, open the main printer dialog (I get a scale of "2 
897" for example), and click in the "fit to page" checkbox.

I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 
(instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html


   1. The  button now operates the same as the
   button.


Fixed, thanks.


   1. PrinterPlugin tooltip is now internationalized


Fixed, thanks.


   1. The title of the  dialog is now internationalized.


Fixed, thanks


   1. The "Quality" word in the Help dialog should simply be
  removed from the language file
  (JumpPrinter.HelpDialog.Message7).  In English I have
  changed this to "Options ".  I have not changed the
  other language files.

OK, what I meant was that "Precision" and "Quality words used in 
"JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were 
probably refering to old PrinterSetUp
String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate 
Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", 
"External Renderer"};
Not sure if terms Precision/Quality must be removed from language 
file or add to renderer names...



   1. [..] around "Furniture"  in Help dialog now corrected.


Fixed, thanks


   1. Save Image dialog, "Size" is now internationalised


Fixed, thanks


   1. Your French language file is now included in the jar


Great, thanks


   1.  Panel -- and ++ buttons are now internationalised, In
  English I have named these "Del" and "Add".  I have
  attempted the translation into Italian, German and French
  (excuse my poor language skills).  Note that the layout of
  the dialog is sensitive to word length - but you can always
  put "--" and "++" in the language file.


Fine, thanks


   1. The package com.cadplan.fileio was in both jars (this is not
  good - I know).  Generally it did not cause problems -
  but!!!  For JumpPrinter I have renamed this package to
  com.cadplan.fileioA - this should solve the problem for the
  moment.

Sorry for my bad diagnosis. The problem is still there (if I change 
the jar name to JumpPrinter-1.77.jar, I get an exception).

Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar 
file
Just let you know why I could not do it and let you decide if it is 
worthwhile fixing it.


Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 
'p') as in the source code


Attached, the french file with a few typo fixed.

Best regards,

Micha

Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread edgar . soldin
On 14.07.2011 11:47, Geoffrey Roy wrote:
> 
> OK, when you are happy that there are no more bugs I will release the new 
> version (and code)

do you want to host the code on the sf.net svn? we could create an account for 
you.

ede

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] PrinterPlugIn (for Michael

2011-07-14 Thread Geoffrey Roy

Dear Michael

OK, when you are happy that there are no more bugs I will release the 
new version (and code)


Geoff

On 14/07/2011 4:11 AM, Michaël Michaud wrote:

Hi, Geoffrey

Thanks a lot for all your efforts,

I'll test your improvements soon and let you know.

Michaël

Dear Michael

Thanks for the feedback. I am attaching revised version:

 1. The problem with the number format could be solved nicely with
some effort, but I have simply removed the grouping separator (a
comma in English).  There is obviously a problem with European
decimal formats.  I think this is the problem, please test again.
 2. The titles for the various renderers have changed over time -
also their "meaning".  In earlier attempts I was testing 4
different renders that were called "Quality" "Accurate" etc, but
these have been replaced by three "ISA, Core and External" - with
the user to decide which gives the best results.
 3. I now understand your problem with the name of the JAR - yes it
cannot be changed without changing the code.  Again this can be
fixed, but I do not have the time at the moment.
 4. The typo in the language files fixed
 5. A new French language file installed.

Hope this is now OK for you.

regards

Geoff

On 11/07/2011 6:29 AM, Michaël Michaud wrote:

Hi Geoff,

Thanks a lot for improvements !


 1. The scale field now checks for numeric values with spaces, and
attempts to resolve a reasonable number, so "1 234" and "1,234"
converts to "1234".  Please let me know if this causes any
other problems with your decimal point/separator values.



This one is not fixed for me. To reproduce the problem, set locale 
to french/France, open the main printer dialog (I get a scale of "2 
897" for example), and click in the "fit to page" checkbox.

I get an "Error in the scale field" error.
If I change to english/Australia locale, I get the scale as 2,897 
(instead of 2 897) and there is no more error.

If I manually change 2 897 to 2897, It also works fine.
Maybe this example can help : 
http://www.exampledepot.com/egs/java.text/Numbers.html


 1. The  button now operates the same as the 
button.


Fixed, thanks.


 1. PrinterPlugin tooltip is now internationalized


Fixed, thanks.


 1. The title of the  dialog is now internationalized.


Fixed, thanks


 1. The "Quality" word in the Help dialog should simply be removed
from the language file (JumpPrinter.HelpDialog.Message7).  In
English I have changed this to "Options ".  I have not
changed the other language files.

OK, what I meant was that "Precision" and "Quality words used in 
"JumpPrinter.Setup.Quality" and "JumpPrinter.Setup.Message7" were 
probably refering to old PrinterSetUp
String [] qualityItems = {"OJ Quality Renderer", "OJ Accurate 
Renderer", "External Renderer","SkyJump Renderer"};

but make less sens for the user now that renderer are called
String [] qualityItems = {"ISA Renderer", "Core Renderer", "External 
Renderer"};
Not sure if terms Precision/Quality must be removed from language 
file or add to renderer names...



 1. [..] around "Furniture"  in Help dialog now corrected.


Fixed, thanks


 1. Save Image dialog, "Size" is now internationalised


Fixed, thanks


 1. Your French language file is now included in the jar


Great, thanks


 1.  Panel -- and ++ buttons are now internationalised, In
English I have named these "Del" and "Add".  I have attempted
the translation into Italian, German and French (excuse my poor
language skills).  Note that the layout of the dialog is
sensitive to word length - but you can always put "--" and "++"
in the language file.


Fine, thanks


 1. The package com.cadplan.fileio was in both jars (this is not
good - I know).  Generally it did not cause problems - but!!! 
For JumpPrinter I have renamed this package to

com.cadplan.fileioA - this should solve the problem for the moment.

Sorry for my bad diagnosis. The problem is still there (if I change 
the jar name to JumpPrinter-1.77.jar, I get an exception).

Now, I think this is because application name in PrinterPlugIn...
//PrinterPlugIn
IconLoader loader = new IconLoader(dirName,"JumpPrinter");
// is used as jarname in IconLoader
filename = "jar:file:"+wd+"/"+appName+".jar!/"+"Resources/"+name;

OK, this problem is not a big issue as I have not to rename the jar file
Just let you know why I could not do it and let you decide if it is 
worthwhile fixing it.


Also there is a typo in language file with the key
JumPrinter.OkToPrint which should be JumpPrinter.OkToPrint (with 2 
'p') as in the source code


Attached, the french file with a few typo fixed.

Best regards,

Michaël


Please let me know how you get on.

thanks

Geoff



On 3/07/2011 6:34 PM, Michaël Michaud wrote:

Hi Geoff,

I just have translated PrinterPlugIn to french.
Please find the properties file attached to this mail.
I'm on the way of including it in OpenJUMP 1.4.1-s distribution.

It gave 

Re: [JPP-Devel] WMS basic auth problem with OpenJUMP 1.4.1

2011-07-14 Thread edgar . soldin
On 13.07.2011 22:04, Michaël Michaud wrote:
> Le 13/07/2011 21:26, edgar.sol...@web.de a écrit :
>> ahh ok, good to know. i do not use ant. while you are at it. how about 
>> switching back to _one_ jar.  i can't see a valid reason to separate 
>> workbench, all i see are lots of dependencies between the two jars.
> You're right. It could make sense to have a minimal working jar, but it 
> would be more complex than just separating packages as it is today.
> I'll do a single jar.

i see only xml files in trunk that seem to organize the nightly build. where 
are the ant build files located?

>> also. isn't there a wildcard adding possible with ant, preventing this for 
>> the future?
> Yes, it is even possible to include all but one package (there is a 
> jumptest subfolder in src which may not have its place in distribution)

+1 let's rather exclude than cherrypick includes.

:) ede

 
> Michaël
>> ..ede
>>
>> On 13.07.2011 21:16, Michaël Michaud wrote:
>>> Hi,
>>>
>>> I'm sorry that net package misses in 1.4.1.
>>> Unfortunately, it has not been added to the ant build file after Ede
>>> replaced old sun classes by these free ones, and I did not notice it
>>> because it seems it does not prevent to connect to wms url as long as it
>>> is not secured url.
>>> Not sure how NB is compiled. Using maven I think.
>>>
>>> I'll fix this to night and let you know.
>>>
>>> Michaël
>>>
>>> Le 13/07/2011 10:51, edgar.sol...@web.de a écrit :
 On 13.07.2011 10:41, Rahkonen Jukka wrote:
> Hi,
>
> I tested WMS basic authentication for Ede some time ago and it did work 
> then with the nightly build that Ede showed me.  However, it looks like 
> something went wrong with the OJ 1.4.1 release.
> When trying to connect with WMS url like 
> "https://username:password@server..."; the result is this error:
>
> java.lang.NoClassDefFoundError: net/iharder/Base64
 right, the new base64 encoder component is missing in 
 openjump-workbench-1.4.1.jar or openjump-api-1.4.1.jar. You can workaround 
 by replacing the above files with the nightly build 
 openjump-core-1.4.1-SNAPSHOT.jar which contains it plus the contents of 
 the other two jars.

 Michael how comes it did not end up in the release :)?

 ede

 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on "Lean Startup
 Secrets Revealed." This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


>>>
>>> --
>>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>>> Secrets Revealed." This video shows you how to validate your ideas,
>>> optimize your ideas and identify your business strategy.
>>> http://p.sf.net/sfu/appsumosfdev2dev
>>> ___
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>> --
>> AppSumo Presents a FREE Video for the SourceForge Community by Eric
>> Ries, the creator of the Lean Startup Methodology on "Lean Startup
>> Secrets Revealed." This video shows you how to validate your ideas,
>> optimize your ideas and identify your business strategy.
>> http://p.sf.net/sfu/appsumosfdev2dev
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> 
> 
> --
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and