Re: [JPP-Devel] Regarding OPENJUMP run-time error..

2015-04-15 Thread Teva veluppillai
Hi Edgar,

What is the best way to add *.jar files to local Maven repository? I'm new
to Maven projects.

I need to add all *.jar files from lib/ and lib/imageio-ext/ to compile and
run the source code.

This is the project browser that I have on my screen.
[image: Inline image 1]

Thanks for your help.

Teva



On Tue, Apr 14, 2015 at 1:16 PM,  wrote:

> add all *.jars in
>  lib/
>  lib/imageio-ext/
> to your classpath. not the folders, the actual files!
>
> you'll probably need them for your build as well as your run configuration.
>
> ..ede
>
> On 14.04.2015 20:11, Teva veluppillai wrote:
> > Hello All:
> >
> > I have been facing a run time error when I tried to run the latest
> version of OpenJUMP.
> >
> > This is the error message that I got.
> > Inline image 1
> >
> > Would anyone help me to solve this error please?
> >
> > Thanks.
> >
> > Teva
> >
> > *
> > *
> > *I did the following steps: *
> >
> > Step 1: Checkout the code from the following URL:  svn://
> svn.code.sf.net/p/jump-pilot/code/core/tags/1.8.0 <
> http://svn.code.sf.net/p/jump-pilot/code/core/tags/1.8.0>
> >
> > Step 2: Set the main class and Argument
> >
> > Inline image 1
> >
> >
> > Step 3: Add the libraries
> >
> > Inline image 2
> >
> >
> > Step 4: Clean Build and Run. I got the following error:
> >
> > Inline image 3
> >
> >
> >
> --
> > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> > Develop your own process in accordance with the BPMN 2 standard
> > Learn Process modeling best practices with Bonita BPM through live
> exercises
> > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> >
> >
> >
> > ___
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
>
>
> --
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] SVN: [4400] core/trunk/src/com/vividsolutions/jump/workbench/ui/ AbstractMultiInputDialog.java

2015-04-15 Thread jump-pilot-svn
Revision: 4400
  http://sourceforge.net/p/jump-pilot/code/4400
Author:   ma15569
Date: 2015-04-15 15:37:55 + (Wed, 15 Apr 2015)
Log Message:
---
Add capability to JComboBox to display a list of  WMS layer, or WFS layer, or 
all layerables

Modified Paths:
--

core/trunk/src/com/vividsolutions/jump/workbench/ui/AbstractMultiInputDialog.java

Modified: 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AbstractMultiInputDialog.java
===
--- 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AbstractMultiInputDialog.java
   2015-04-14 20:42:14 UTC (rev 4399)
+++ 
core/trunk/src/com/vividsolutions/jump/workbench/ui/AbstractMultiInputDialog.java
   2015-04-15 15:37:55 UTC (rev 4400)
@@ -48,9 +48,13 @@
 import com.vividsolutions.jump.workbench.ui.LayerNameRenderer;
 import com.vividsolutions.jump.workbench.model.Layer;
 import com.vividsolutions.jump.workbench.model.LayerManager;
+import com.vividsolutions.jump.workbench.model.Layerable;
+import com.vividsolutions.jump.workbench.model.WMSLayer;
 import com.vividsolutions.jump.workbench.plugin.EnableCheck;
 import com.vividsolutions.jump.util.CollectionMap;
 
+import de.latlon.deejump.wfs.jump.WFSLayer;
+
 import java.awt.Color;
 import java.awt.Dimension;
 import java.awt.Frame;
@@ -288,8 +292,16 @@
 return (Layer)comboBox.getSelectedItem();
 }
 
-
 /**
+ * Returns a Layerable from a JComboBox control.
+ */
+ // 2015-4-15 added by ma15569 - Giuseppe Aruta
+public Layerable getLayerable(String fieldName) {
+JComboBox comboBox = (JComboBox) 
fieldNameToComponentMap.get(fieldName);
+return (Layerable) comboBox.getSelectedItem();
+}
+
+/**
  * Returns a Raster Image Layer from a JComboBox control.
  */
 // 2015-2-28 added by ma15569 - Giuseppe Aruta
@@ -297,7 +309,25 @@
 JComboBox comboBox = (JComboBox) 
fieldNameToComponentMap.get(fieldName);
 return (RasterImageLayer) comboBox.getSelectedItem();
 }
+
+/**
+ * Returns a WMS layer from a JComboBox control.
+ */
+// 2015-4-15 added by ma15569 - Giuseppe Aruta
+public WMSLayer getWMSLayer(String fieldName) {
+JComboBox comboBox = (JComboBox) 
fieldNameToComponentMap.get(fieldName);
+return (WMSLayer) comboBox.getSelectedItem();
+}
 
+/**
+ * Returns a WFS layer from a JComboBox control.
+ */
+// 2015-4-15 added by ma15569 - Giuseppe Aruta
+public WFSLayer getWFSLayer(String fieldName) {
+JComboBox comboBox = (JComboBox) 
fieldNameToComponentMap.get(fieldName);
+return (WFSLayer) comboBox.getSelectedItem();
+}
+
 

 //
//
 //  ADD ENABLE CHECKS 
//


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Building OJ

2015-04-15 Thread edgar . soldin
if you've got something "final", youb are satisfied with send it and i'll 
commit it as wip to the svn.

..ede

On 15.04.2015 12:59, Jukka Rahkonen wrote:
> Hi,
> 
> Got a build with ant and by fooling as you suggested. Not perfect because 
> some files are not copied to build directory but amusing. I can do small 
> trials with the SQL code now.
> 
> Have you experience on syntax highlighting with jExit, or activating normal 
> keyboard shortcuts in the jEditTextArea (ctrl-a, ctrl-c, ctrl-v)?
> 
> -Jukka-
> 
> edgar.sol...@web.de kirjoitti 2015-04-15 12:48:
>> do you wanna fool around a bit? then copy the build.xml from eg.
>>  
>> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/
>> and try to retrofit it for your purpose.
>>
>> you will need and can reuse OJ.jar from
>>
>> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/lib/
>> as well.
>>
>> ..ede
>>
>> On 15.04.2015 10:44, Jukka Rahkonen wrote:
>>> Hi,
>>>
>>> Thanks. The ant way felt easy so I decided to try that. Actually I do not 
>>> care about building OJ because of the spectacular snapshots but I would 
>>> like to be able to build this 
>>> http://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/
>>>
>>> -Jukka-
>>>
>>>
>>> edgar.sol...@web.de kirjoitti 2015-04-15 11:38:
 hey Jukka,

 the ant build is unmaintained. we should probably remove it, as i
 don't see a reason to keep two building mechanisms synchronized.

 currently we build via maven and instructions are on
  
 http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version

 ..ede

 On 15.04.2015 09:57, Jukka Rahkonen wrote:
> Hi Ede,
>
> I am trying to do a new thing and build OJ by following advice from 
> http://ojwiki.soldin.de/index.php?title=How_to_make_your_own_OpenJUMP_built
>
> I have ant v. 1.9.4 and jdk-8u45 (32-bit) and environment in order. 
> Running ant from \etc yields the attached log.
>
> I would like to put the wiki page up-to-date as well as make the build to 
> succeed because it feels somehow interesting. What I should do next?
>
> -Jukka-
>

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Building OJ

2015-04-15 Thread Jukka Rahkonen
Hi,

Got a build with ant and by fooling as you suggested. Not perfect 
because some files are not copied to build directory but amusing. I can 
do small trials with the SQL code now.

Have you experience on syntax highlighting with jExit, or activating 
normal keyboard shortcuts in the jEditTextArea (ctrl-a, ctrl-c, ctrl-v)?

-Jukka-

edgar.sol...@web.de kirjoitti 2015-04-15 12:48:
> do you wanna fool around a bit? then copy the build.xml from eg.
>  
> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/
> and try to retrofit it for your purpose.
> 
> you will need and can reuse OJ.jar from
> 
> https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/lib/
> as well.
> 
> ..ede
> 
> On 15.04.2015 10:44, Jukka Rahkonen wrote:
>> Hi,
>> 
>> Thanks. The ant way felt easy so I decided to try that. Actually I do 
>> not care about building OJ because of the spectacular snapshots but I 
>> would like to be able to build this 
>> http://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/
>> 
>> -Jukka-
>> 
>> 
>> edgar.sol...@web.de kirjoitti 2015-04-15 11:38:
>>> hey Jukka,
>>> 
>>> the ant build is unmaintained. we should probably remove it, as i
>>> don't see a reason to keep two building mechanisms synchronized.
>>> 
>>> currently we build via maven and instructions are on
>>>  
>>> http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version
>>> 
>>> ..ede
>>> 
>>> On 15.04.2015 09:57, Jukka Rahkonen wrote:
 Hi Ede,
 
 I am trying to do a new thing and build OJ by following advice from 
 http://ojwiki.soldin.de/index.php?title=How_to_make_your_own_OpenJUMP_built
 
 I have ant v. 1.9.4 and jdk-8u45 (32-bit) and environment in order. 
 Running ant from \etc yields the attached log.
 
 I would like to put the wiki page up-to-date as well as make the 
 build to succeed because it feels somehow interesting. What I should 
 do next?
 
 -Jukka-
 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Building OJ

2015-04-15 Thread edgar . soldin
do you wanna fool around a bit? then copy the build.xml from eg.
 https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/
and try to retrofit it for your purpose.

you will need and can reuse OJ.jar from
 
https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/KmlDriver/trunk/lib/
as well.

..ede

On 15.04.2015 10:44, Jukka Rahkonen wrote:
> Hi,
> 
> Thanks. The ant way felt easy so I decided to try that. Actually I do not 
> care about building OJ because of the spectacular snapshots but I would like 
> to be able to build this 
> http://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/
> 
> -Jukka-
> 
> 
> edgar.sol...@web.de kirjoitti 2015-04-15 11:38:
>> hey Jukka,
>>
>> the ant build is unmaintained. we should probably remove it, as i
>> don't see a reason to keep two building mechanisms synchronized.
>>
>> currently we build via maven and instructions are on
>>  http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version
>>
>> ..ede
>>
>> On 15.04.2015 09:57, Jukka Rahkonen wrote:
>>> Hi Ede,
>>>
>>> I am trying to do a new thing and build OJ by following advice from 
>>> http://ojwiki.soldin.de/index.php?title=How_to_make_your_own_OpenJUMP_built
>>>
>>> I have ant v. 1.9.4 and jdk-8u45 (32-bit) and environment in order. Running 
>>> ant from \etc yields the attached log.
>>>
>>> I would like to put the wiki page up-to-date as well as make the build to 
>>> succeed because it feels somehow interesting. What I should do next?
>>>
>>> -Jukka-
>>>

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Building OJ

2015-04-15 Thread Jukka Rahkonen
Hi,

Thanks. The ant way felt easy so I decided to try that. Actually I do 
not care about building OJ because of the spectacular snapshots but I 
would like to be able to build this 
http://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/

-Jukka-


edgar.sol...@web.de kirjoitti 2015-04-15 11:38:
> hey Jukka,
> 
> the ant build is unmaintained. we should probably remove it, as i
> don't see a reason to keep two building mechanisms synchronized.
> 
> currently we build via maven and instructions are on
>  http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version
> 
> ..ede
> 
> On 15.04.2015 09:57, Jukka Rahkonen wrote:
>> Hi Ede,
>> 
>> I am trying to do a new thing and build OJ by following advice from 
>> http://ojwiki.soldin.de/index.php?title=How_to_make_your_own_OpenJUMP_built
>> 
>> I have ant v. 1.9.4 and jdk-8u45 (32-bit) and environment in order. 
>> Running ant from \etc yields the attached log.
>> 
>> I would like to put the wiki page up-to-date as well as make the build 
>> to succeed because it feels somehow interesting. What I should do 
>> next?
>> 
>> -Jukka-
>> 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Building OJ

2015-04-15 Thread edgar . soldin
hey Jukka,

the ant build is unmaintained. we should probably remove it, as i don't see a 
reason to keep two building mechanisms synchronized.

currently we build via maven and instructions are on
 http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version

..ede

On 15.04.2015 09:57, Jukka Rahkonen wrote:
> Hi Ede,
> 
> I am trying to do a new thing and build OJ by following advice from 
> http://ojwiki.soldin.de/index.php?title=How_to_make_your_own_OpenJUMP_built
> 
> I have ant v. 1.9.4 and jdk-8u45 (32-bit) and environment in order. Running 
> ant from \etc yields the attached log.
> 
> I would like to put the wiki page up-to-date as well as make the build to 
> succeed because it feels somehow interesting. What I should do next?
> 
> -Jukka-
> 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel