[JPP-Devel] Latest snapshots do not start

2015-01-20 Thread Rahkonen Jukka (MML)
Hi,

At least with r4273 and r4272 starting OJ stops into error:

ava.lang.NullPointerException
 at javax.swing.ImageIcon.init(Unknown Source)
 at 
com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:47)
 at 
de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.getIcon(DeeChangeStylesPlugIn.java:243)
 at 
com.vividsolutions.jump.workbench.JUMPConfiguration.configureToolBar(JUMPConfiguration.java:1149)
 at 
com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:384)
 at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:419)
 at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:360)

Could there be some sort of autotest that checks that after a successful build 
a new snapshot is also runnable?

-Jukka Rahkonen-
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Latest snapshots do not start

2015-01-20 Thread edgar . soldin
On 20.01.2015 11:27, Rahkonen Jukka (MML) wrote:
 Hi,
 
  
 
 At least with r4273 and r4272 starting OJ stops into error:
 
  
 
 ava.lang.NullPointerException
 
  at javax.swing.ImageIcon.init(Unknown Source)
 
  at 
 com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:47)
 
  at 
 de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.getIcon(DeeChangeStylesPlugIn.java:243)
 
  at 
 com.vividsolutions.jump.workbench.JUMPConfiguration.configureToolBar(JUMPConfiguration.java:1149)
 
  at 
 com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:384)
 
  at 
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:419)
 
  at 
 com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:360)
 
  
 
 Could there be some sort of autotest that checks that after a successful 
 build a new snapshot is also runnable?
 

probably caused by Peppe.. i'll cc him.. ede

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] OpenJUMP and CAD tools

2015-01-20 Thread Rahkonen Jukka (MML)
Hi,

I was searching tools for making some CAD alike drawing and studied what we 
have. I found:

1.   Some of the Python tools in the standard delivery has CAD-alike 
features (rotated rectangle, Arc tool).

2.   Peppe has made a CAD tools plugin that adds some CAD tools into the 
default digitizing box.

3.   Kosmo GIS has a special CAD toolbox with about 15 tools.

Quick comments:


1.   Python tools feels somehow like a promising way for writing new 
drawing tools. The Python part of the tools look almost understandable for 
non-programmer and I suppose that Python is the most common geospatial 
scripting language at the moment. However, if I understand right for creating 
new tools Python is not enough but also some java programming is needed. By the 
way, the Road Arc tools does not work with latest snapshots and it makes so bad 
a jam that only killing the process helps. The error from the console window:

Exception in thread AWT-EventQueue-0 Traceback (innermost last):
  File 
C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py, 
line 201, in handleDeActivation
AttributeError: 'NoneType' object has no attribute 'actionPerformed'
Exception in thread AWT-EventQueue-0 Traceback (innermost last):


2.   I would rather place the additional CAD tools to their own tool box 
because they do not behave exactly as the standard tools. Many of the OJ 
keyboard shortcuts stop working when a CAD tools is selected. On the other 
hand, the SHIFT key does not alter the behaviour of CAD tools as planned in 
most cases. The draw vertical/horizontal tool, tools for drawing closed 
linestrings and the annotation layer tool would be nice additions to OJ PLUS. 
Annotation tool might need some revisiting.

3.   Many of the Kosmo tools are fine. I wonder how difficult it would be 
to adapt some of those for OJ. For example the Continue lines until they 
cross tools is simple and clever and I do not remember such tool in other open 
source GIS. Draw perpendicular works well also with circles and Bezier curves 
but it would be nice to have a sister tool Draw tangent.

None of these CAD tools had a tool for my need. Or perhaps the Draw with 
commands tool in Kosmo has but I could not discover the right syntax even I 
found the manual 
http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf. 
What I would like to do feels simple to me:


-  Draw a point or first vertex to coordinates x/y

-  Draw next point or vertex by angle and distance or to next given 
coordinates

I know I can workaround the manual feed of coordinates effectively by using WKT 
but not the angle + distance alternative.

-Jukka Rahkonen-
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Latest snapshots do not start

2015-01-20 Thread edgar . soldin
On 20.01.2015 11:27, Rahkonen Jukka (MML) wrote:
 Could there be some sort of autotest that checks that after a successful 
 build a new snapshot is also runnable?

sorry no.. the build server is headless (http://is.gd/SoeinV). setting up a vm 
for that is not worth the effort.

..ede

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Latest snapshots do not start

2015-01-20 Thread Giuseppe Aruta
My fault, sorry
OJ 4274 should work

2015-01-20 11:47 GMT+01:00 edgar.sol...@web.de:

 On 20.01.2015 11:27, Rahkonen Jukka (MML) wrote:
  Could there be some sort of autotest that checks that after a successful
 build a new snapshot is also runnable?

 sorry no.. the build server is headless (http://is.gd/SoeinV). setting up
 a vm for that is not worth the effort.

 ..ede


 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] upgrade Sextante

2015-01-20 Thread Giuseppe Aruta
Hi Ede,
Sextante has been upgraded on SVN according to the new improvement on
RasterImageLayer. Can you upgrade OpenJUMP PLUS? The actual version of
Sextante, emebedded on PLUS (ojsextante_binding_apr2013.jar) does work
anymore
thanks
Peppe
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-20 Thread Giuseppe Aruta
Hi Jukka,
thanks for the comment, regarding my part, cadtools are relatively old and
they were never upgraded to new shortcuts added by Ede on OJ: they were
basically a sort of programming java test for me.
Recently I  started to work to  a new version, removing the tools which
have no usage, porting  some Kosmo ones and making more OJ shortcut
compatibly .
I would like to add the source to OJ repository and have in OJ Plus, as
separate plugin/toolbar
Porting Kosmo tools is not difficult, even for a newby like me. The problem
is the dependency to many classes,  some of these classes might have
equivalence to OpenJUMP one, but it is quite difficult to find them.
Best regards
Peppe

2015-01-20 13:07 GMT+01:00 Rahkonen Jukka (MML) 
jukka.rahko...@maanmittauslaitos.fi:

  Hi,



 I was searching tools for making some CAD alike drawing and studied what
 we have. I found:

 1.   Some of the Python tools in the standard delivery has CAD-alike
 features (rotated rectangle, Arc tool).

 2.   Peppe has made a CAD tools plugin that adds some CAD tools into
 the default digitizing box.

 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.



 Quick comments:



 1.   Python tools feels somehow like a promising way for writing new
 drawing tools. The Python part of the tools look almost understandable for
 non-programmer and I suppose that Python is the most common geospatial
 scripting language at the moment. However, if I understand right for
 creating new tools Python is not enough but also some java programming is
 needed. By the way, the Road Arc tools does not work with latest snapshots
 and it makes so bad a jam that only killing the process helps. The error
 from the console window:



 Exception in thread AWT-EventQueue-0 Traceback (innermost last):

   File
 C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py,
 line 201, in handleDeActivation

 AttributeError: 'NoneType' object has no attribute 'actionPerformed'

 Exception in thread AWT-EventQueue-0 Traceback (innermost last):



 2.   I would rather place the additional CAD tools to their own tool
 box because they do not behave exactly as the standard tools. Many of the
 OJ keyboard shortcuts stop working when a CAD tools is selected. On the
 other hand, the SHIFT key does not alter the behaviour of CAD tools as
 planned in most cases. The draw vertical/horizontal tool, tools for drawing
 closed linestrings and the annotation layer tool would be nice additions to
 OJ PLUS. Annotation tool might need some revisiting.

 3.   Many of the Kosmo tools are fine. I wonder how difficult it
 would be to adapt some of those for OJ. For example the “Continue lines
 until they cross” tools is simple and clever and I do not remember such
 tool in other open source GIS. “Draw perpendicular” works well also with
 circles and Bezier curves but it would be nice to have a sister tool “Draw
 tangent”.



 None of these CAD tools had a tool for my need. Or perhaps the “Draw with
 commands” tool in Kosmo has but I could not discover the right syntax even
 I found the manual
 http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
 What I would like to do feels simple to me:



 -  Draw a point or first vertex to coordinates x/y

 -  Draw next point or vertex by angle and distance or to next
 given coordinates



 I know I can workaround the manual feed of coordinates effectively by
 using WKT but not the angle + distance alternative.



 -Jukka Rahkonen-



 --
 New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
 GigeNET is offering a free month of service with a new server in Ashburn.
 Choose from 2 high performing configs, both with 100TB of bandwidth.
 Higher redundancy.Lower latency.Increased capacity.Completely compliant.
 http://p.sf.net/sfu/gigenet
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel