Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread Vincent Schut
On 10/28/2010 04:15 PM, edgar.sol...@web.de wrote:
> oj_linux.sh is also use for other unixes, despite it's name.
>
> OSX's readlink for example unfortunately has no -f switch .. will think about 
> it .. thanks ede

Ah, I see. Well, the currently used -n switch simply doesn't work on my 
system (returning the relative link, instead of the absolute path to 
java), while with the -f switch it works...

Vincent.

>
> On 28.10.2010 14:31, Vincent Schut wrote:
>> Hi,
>>
>> in oj 1.4's oj_linux.sh there is a iterative readlink $JAVA (line 50) to
>> find java's real path. However, on my system (arch linux) `which java`
>> gives /opt/java/bin/java, which is a symlink '../jre/bin/java'. This
>> confuses oj, as it tries to resolve this symlink from its current path.
>> Better use 'readlink -f' which will give the canonical path instead of
>> the link value, which then becomes /opt/java/jre/bin/java, which works OK.
>>
>> Best,
>> Vincent Schut.
>>
>>
>> --
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps&   games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread edgar . soldin
On 29.10.2010 10:43, Vincent Schut wrote:
> On 10/28/2010 04:15 PM,edgar.sol...@web.de  wrote:
>> >  oj_linux.sh is also use for other unixes, despite it's name.
>> >
>> >  OSX's readlink for example unfortunately has no -f switch .. will think 
>> > about it .. thanks ede
> Ah, I see. Well, the currently used -n switch simply doesn't work on my
> system (returning the relative link, instead of the absolute path to
> java), while with the -f switch it works...

-n only switches trailing newline off

Could you please check the latest nightly build?
http://jump-pilot.sourceforge.net/download/nightlybuild/

I disabled the check for now, until I find a better solution.

thanks ede

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread Vincent Schut
On 10/29/2010 11:05 AM, edgar.sol...@web.de wrote:
> On 29.10.2010 10:43, Vincent Schut wrote:
>> On 10/28/2010 04:15 PM,edgar.sol...@web.de  wrote:
   oj_linux.sh is also use for other unixes, despite it's name.

   OSX's readlink for example unfortunately has no -f switch .. will think 
 about it .. thanks ede
>> Ah, I see. Well, the currently used -n switch simply doesn't work on my
>> system (returning the relative link, instead of the absolute path to
>> java), while with the -f switch it works...
>
> -n only switches trailing newline off
>
> Could you please check the latest nightly build?
> http://jump-pilot.sourceforge.net/download/nightlybuild/
>
> I disabled the check for now, until I find a better solution.

Ede, this one works OK here.
It even seems to load the sextante plugin (I updated the -14s folder 
using the latest nightly) (see the other thread for oj hanging at 
loading the sextante plugin)

thanks! Vincent.
>
> thanks ede
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread edgar . soldin
On 29.10.2010 11:28, Vincent Schut wrote:
> On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
>> >  On 29.10.2010 10:43, Vincent Schut wrote:
>>> >>  On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
>  oj_linux.sh is also use for other unixes, despite it's name.
> 
>  OSX's readlink for example unfortunately has no -f switch .. 
>  will think about it .. thanks ede
>>> >>  Ah, I see. Well, the currently used -n switch simply doesn't work on my
>>> >>  system (returning the relative link, instead of the absolute path to
>>> >>  java), while with the -f switch it works...
>> >
>> >  -n only switches trailing newline off
>> >
>> >  Could you please check the latest nightly build?
>> >  http://jump-pilot.sourceforge.net/download/nightlybuild/
>> >
>> >  I disabled the check for now, until I find a better solution.
> Ede, this one works OK here.
> It even seems to load the sextante plugin (I updated the -14s folder
> using the latest nightly) (see the other thread for oj hanging at
> loading the sextante plugin)

Which files/folders did you copy where exactly?
Does it also work with only the NB and added sextante lib?

..ede

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread Vincent Schut
On 10/29/2010 11:39 AM, edgar.sol...@web.de wrote:
> On 29.10.2010 11:28, Vincent Schut wrote:
>> On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
   On 29.10.2010 10:43, Vincent Schut wrote:
>>   On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
>>  oj_linux.sh is also use for other unixes, despite it's name.
>>
>>  OSX's readlink for example unfortunately has no -f switch .. 
>> will think about it .. thanks ede
>>   Ah, I see. Well, the currently used -n switch simply doesn't work on my
>>   system (returning the relative link, instead of the absolute path to
>>   java), while with the -f switch it works...

   -n only switches trailing newline off

   Could you please check the latest nightly build?
   http://jump-pilot.sourceforge.net/download/nightlybuild/

   I disabled the check for now, until I find a better solution.
>> Ede, this one works OK here.
>> It even seems to load the sextante plugin (I updated the -14s folder
>> using the latest nightly) (see the other thread for oj hanging at
>> loading the sextante plugin)
>
> Which files/folders did you copy where exactly?

I just extracted the nightly core zip into the already extracted oj-14s 
folder.

> Does it also work with only the NB and added sextante lib?

don't know, I can try. Where should I get the sextante lib, and where 
should I put it? Sorry if this is a faq, I've simply never done it that 
way before, and don't have much time currently so I'd like my time being 
spent as efficiently as possible... :-)

Thanks,
Vincent.

>
> ..ede
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread edgar . soldin
On 29.10.2010 12:14, Vincent Schut wrote:
> On 10/29/2010 11:39 AM, edgar.sol...@web.de wrote:
>> On 29.10.2010 11:28, Vincent Schut wrote:
>>> On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
>On 29.10.2010 10:43, Vincent Schut wrote:
>>>On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
>>>   oj_linux.sh is also use for other unixes, despite it's name.
>>>
>>>   OSX's readlink for example unfortunately has no -f switch .. 
>>> will think about it .. thanks ede
>>>Ah, I see. Well, the currently used -n switch simply doesn't work on 
>>> my
>>>system (returning the relative link, instead of the absolute path to
>>>java), while with the -f switch it works...
>
>-n only switches trailing newline off
>
>Could you please check the latest nightly build?
>http://jump-pilot.sourceforge.net/download/nightlybuild/
>
>I disabled the check for now, until I find a better solution.
>>> Ede, this one works OK here.
>>> It even seems to load the sextante plugin (I updated the -14s folder
>>> using the latest nightly) (see the other thread for oj hanging at
>>> loading the sextante plugin)
>>
>> Which files/folders did you copy where exactly?
>
> I just extracted the nightly core zip into the already extracted oj-14s
> folder.
>
>> Does it also work with only the NB and added sextante lib?
>
> don't know, I can try. Where should I get the sextante lib, and where
> should I put it? Sorry if this is a faq, I've simply never done it that
> way before, and don't have much time currently so I'd like my time being
> spent as efficiently as possible... :-)
>

freshly extract the NB. Rename folder e.g 'ojNBtest' Then copy everything from
openjump-14s.zip/lib/ext/*
to the
fresh ojNBtest/lib/ext/
.

like that, ede

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread Vincent Schut
On 10/29/2010 12:27 PM, edgar.sol...@web.de wrote:
> On 29.10.2010 12:14, Vincent Schut wrote:
>> On 10/29/2010 11:39 AM, edgar.sol...@web.de wrote:
>>> On 29.10.2010 11:28, Vincent Schut wrote:
 On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
>> On 29.10.2010 10:43, Vincent Schut wrote:
 On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
oj_linux.sh is also use for other unixes, despite it's name.

OSX's readlink for example unfortunately has no -f switch 
 .. will think about it .. thanks ede
 Ah, I see. Well, the currently used -n switch simply doesn't work 
 on my
 system (returning the relative link, instead of the absolute path 
 to
 java), while with the -f switch it works...
>>
>> -n only switches trailing newline off
>>
>> Could you please check the latest nightly build?
>> http://jump-pilot.sourceforge.net/download/nightlybuild/
>>
>> I disabled the check for now, until I find a better solution.
 Ede, this one works OK here.
 It even seems to load the sextante plugin (I updated the -14s folder
 using the latest nightly) (see the other thread for oj hanging at
 loading the sextante plugin)
>>>
>>> Which files/folders did you copy where exactly?
>>
>> I just extracted the nightly core zip into the already extracted oj-14s
>> folder.
>>
>>> Does it also work with only the NB and added sextante lib?
>>
>> don't know, I can try. Where should I get the sextante lib, and where
>> should I put it? Sorry if this is a faq, I've simply never done it that
>> way before, and don't have much time currently so I'd like my time being
>> spent as efficiently as possible... :-)
>>
>
> freshly extract the NB. Rename folder e.g 'ojNBtest' Then copy everything from
> openjump-14s.zip/lib/ext/*
> to the
> fresh ojNBtest/lib/ext/
> .
>
> like that, ede

done exactly as you said (but copied oj-14s/lib/ext/* recursively), 
gives me another error. Here is the exact output from the shell:

./oj_linux.sh
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Loading 
de.fhOsnabrueck.jump.pirol.datasources.pirolCSV.PirolCsvDatasetExtension
Loading com.cadplan.jump.VertexNoteExtension
Loading com.cadplan.jump.VertexSymbolsExtension
Loading com.cadplan.jump.PrinterExtension
Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
Loading net.refractions.postgis.PostGISConfiguration
Loading com.vividsolutions.jcs.plugin.JCSExtension
java.lang.NoClassDefFoundError: com/lowagie/text/pdf/PdfWriter
at com.cadplan.jump.PrinterExtension.configure(Unknown Source)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:361)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:319)
Caused by: java.lang.ClassNotFoundException: com.lowagie.text.pdf.PdfWriter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 5 more

cheers,
Vincent.

>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Remove holes, Polygonize

2010-10-29 Thread Uwe Dalluege
hi,

I have two closed linestrings.
One linestring is complete inside
the other linestring.

With the tool

Tool>Edit Geometry>Convert>Polygonize

I receive two polygons from this two linestrings.
One polygon is a polygon with the hole of the second linestring
inside. The second polygon is the polygon of the linestring inside.

Is it possible to extend the function Polygonize
that I receive polygons *without* holes?


My aim is to remove holes from a polygon.

Regards

Uwe

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Remove holes, Polygonize

2010-10-29 Thread Nacho Uve
Hellos Uwe,

You can use SEXTANTE->"Tools for vertor layers -> Remove holes" to solve
that problem.

Regards,
Nacho



2010/10/29 Uwe Dalluege 

> hi,
>
> I have two closed linestrings.
> One linestring is complete inside
> the other linestring.
>
> With the tool
>
> Tool>Edit Geometry>Convert>Polygonize
>
> I receive two polygons from this two linestrings.
> One polygon is a polygon with the hole of the second linestring
> inside. The second polygon is the polygon of the linestring inside.
>
> Is it possible to extend the function Polygonize
> that I receive polygons *without* holes?
>
>
> My aim is to remove holes from a polygon.
>
> Regards
>
> Uwe
>
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread edgar . soldin
On 29.10.2010 14:06, Vincent Schut wrote:
> On 10/29/2010 12:27 PM, edgar.sol...@web.de wrote:
>> On 29.10.2010 12:14, Vincent Schut wrote:
>>> On 10/29/2010 11:39 AM, edgar.sol...@web.de wrote:
 On 29.10.2010 11:28, Vincent Schut wrote:
> On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
>>>  On 29.10.2010 10:43, Vincent Schut wrote:
>  On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
> oj_linux.sh is also use for other unixes, despite it's 
> name.
>
> OSX's readlink for example unfortunately has no -f switch 
> .. will think about it .. thanks ede
>  Ah, I see. Well, the currently used -n switch simply doesn't 
> work on my
>  system (returning the relative link, instead of the absolute 
> path to
>  java), while with the -f switch it works...
>>>
>>>  -n only switches trailing newline off
>>>
>>>  Could you please check the latest nightly build?
>>>  http://jump-pilot.sourceforge.net/download/nightlybuild/
>>>
>>>  I disabled the check for now, until I find a better solution.
> Ede, this one works OK here.
> It even seems to load the sextante plugin (I updated the -14s folder
> using the latest nightly) (see the other thread for oj hanging at
> loading the sextante plugin)

 Which files/folders did you copy where exactly?
>>>
>>> I just extracted the nightly core zip into the already extracted oj-14s
>>> folder.
>>>
 Does it also work with only the NB and added sextante lib?
>>>
>>> don't know, I can try. Where should I get the sextante lib, and where
>>> should I put it? Sorry if this is a faq, I've simply never done it that
>>> way before, and don't have much time currently so I'd like my time being
>>> spent as efficiently as possible... :-)
>>>
>>
>> freshly extract the NB. Rename folder e.g 'ojNBtest' Then copy everything 
>> from
>> openjump-14s.zip/lib/ext/*
>> to the
>> fresh ojNBtest/lib/ext/
>> .
>>
>> like that, ede
>
> done exactly as you said (but copied oj-14s/lib/ext/* recursively),
> gives me another error. Here is the exact output from the shell:
>
> ./oj_linux.sh
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> Loading
> de.fhOsnabrueck.jump.pirol.datasources.pirolCSV.PirolCsvDatasetExtension
> Loading com.cadplan.jump.VertexNoteExtension
> Loading com.cadplan.jump.VertexSymbolsExtension
> Loading com.cadplan.jump.PrinterExtension
> Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
> Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
> Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
> Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
> Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
> Loading net.refractions.postgis.PostGISConfiguration
> Loading com.vividsolutions.jcs.plugin.JCSExtension
> java.lang.NoClassDefFoundError: com/lowagie/text/pdf/PdfWriter
>   at com.cadplan.jump.PrinterExtension.configure(Unknown Source)
>   at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>   at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>   at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:361)
>   at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:319)
> Caused by: java.lang.ClassNotFoundException: com.lowagie.text.pdf.PdfWriter
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>   ... 5 more
>

ok.  it misses some more jars which are in the openjump-14s.zip/lib/*.jar
Could you copy these _without_ overwriting existing to ojNBtest/lib .. and run 
again?

thanks ede




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Remove holes, Polygonize

2010-10-29 Thread Uwe Dalluege
Hello Nacho,

thank you for your advice!

Have a nice weekend.

uwe


Am 29.10.2010 15:00, schrieb Nacho Uve:
> Hellos Uwe,
>
> You can use SEXTANTE->"Tools for vertor layers -> Remove holes" to solve
> that problem.
>
> Regards,
> Nacho
>
>
>
> 2010/10/29 Uwe Dalluege  >
>
> hi,
>
> I have two closed linestrings.
> One linestring is complete inside
> the other linestring.
>
> With the tool
>
> Tool>Edit Geometry>Convert>Polygonize
>
> I receive two polygons from this two linestrings.
> One polygon is a polygon with the hole of the second linestring
> inside. The second polygon is the polygon of the linestring inside.
>
> Is it possible to extend the function Polygonize
> that I receive polygons *without* holes?
>
>
> My aim is to remove holes from a polygon.
>
> Regards
>
> Uwe
>
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and
> Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread Giuseppe Aruta
Hi Stefan,
As I can understand on Spanish GvSIG discussion, the error (of GvSIG) came out 
because some of Sextante  (version 0.5) algorithms were developed using JVM 
1.6, while GvSIG (at least that version of GvSIG) is compiled using JVM 1.5.
So the problem doesn't come out when the Sextante extension is load, but when 
the software loads these algorithms.
I can read that Sextante 0.3 is not affected by this problem. It should work 
well (with GvSIG) with Linux (and hope Mac).
I want to check if it is the same with OJ+Sextante 0.3.

BTW Kosmo, which is compiled with JVM 1.6, doesn't have these problems: I 
substituted the embedded version of Sextante (0.3) with version 0.5 and 0.6 and 
Kosmo loads the algorithms.

Note that it doesn't come out from the discussion if they solved the problem: I 
think it was solved since GvSIG OADE vesrion and GvSIG 3D work with JVM 1.6

Peppe 


--- Gio 28/10/10, Stefan Steiniger  ha scritto:

> Da: Stefan Steiniger 
> Oggetto: Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin
> A: "OpenJump develop and use" 
> Data: Giovedì 28 ottobre 2010, 20:54
> btw. on MacOSX I have the same
> problems (win runs fine).
> 
> someone who knows spanish can tell me if the gvSIG guys
> found a solution?
> 
> http://osgeo-org.1803224.n2.nabble.com/Problemas-instalacion-sextante-en-ubuntu-9-10-td4342122.html
> 
> (maybe a bit more googling)
> 
> --
> Nokia and AT&T present the 2010 Calling All
> Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers
> in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly
> $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish
> to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>



  

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OJ seems to paint the original AND resized vertices.

2010-10-29 Thread Sunburned Surveyor
Michael wrote: "May I ask you what you plan to fix on UnionByAttribute."

Certainly.

Currently, if the input features to the plug-in processing trigger an
exception from JTS, the plug-in chokes. I'm tweaking the plug-in so
that it reports exceptions from the underlying JTS operations and
continues processing the remaining input features. Problem features
will be added to a new layer for inspection by the user, if desired.

This should make the plug-in more robust, and would've allowed Nacho
to see what data was causing the problem. I think this is a good
design pattern to follow in most plug-ins. I'm also doing some
refactoring of the plug-in. More specifically, I am refactoring some
of the really long methods into a series of smaller methods.

Actually, most of this work is done. Now I am just writing unit tests
for the plug-in and related code.

I'm curious what was broken in the plug-in that caused Nacho problems?
Was it a problem with the union operation in JTS, with his data, or
with the plug-in code? Do you remember?

The Sunburned Surveyor

2010/10/28 Michaël Michaud :
> Hi,
>> Just to clarify, the bug where the fill from the initial vertice size
>> still appears within resized nodes has nothing to do with the color
>> theming style. I apologize if I didn't make this clear in my bug
>> report. Thanks for adding the additional comments to the bug report
>> Michael.
> There are probably two slightly different bugs. The one you described
> succinctly, and the one arnd described after I asked for clarification.
> So, by chance, it will help to fix two bugs instead of one ;-)
>> I plan to work on the vertex styling bugs when I'm done with my error
>> reporting fix to the UnionByAttribute plug-in. Rendering in OJ is not
>> my strong point, so I may be asking for some advice when I get to the
>> vertex styling bugs. :]
> May I ask you what you plan to fix on UnionByAttribute. I have done a
> few modifications about 6 month ago and I can union the shapefile Nacho
> has sent about one year ago without exception (with an error reporting 4
> invalid geometries).
>
> Michaël
>> The Sunburned Surveyor
>>
>> 2010/10/28 Michaël Michaud:
>>> Hi,
>>>
>>> Thanks for clarification.
>>> I now see several buggy behaviours with Vertex style :
>>> - VertexStyle is still active (and use the basic style color) when a
>>> ColorTheming is added (what you say)
>>> - VertexStyle disappears when you click on ChangeStyle menu or button
>>> (and reappear after if you don't change anything)
>>> - LineString vertices are not drawn with just a BasicStyle, but if you
>>> add Vertex, you can have up to 3 representations of the vertex (ex. with
>>> linewidth = 10 and vertex size = 15, you get a default small square, a
>>> vertex with the shape you choosed and the line width size, a vertex with
>>> the shape you choosed and the vertex size !)
>>>
>>> Currently, ColorTheming style can only use Basic style (fill
>>> color/pattern, line color/pattern/width, transparency). I don't know how
>>> much work it would be to extend this.
>>>
>>> I'll add these precision in the bug report
>>> Thanks for help
>>>
>>> Michaël
>>>
>>> Le 28/10/2010 10:00, Arnd Kielhorn a écrit :
 Hello,

 I think what Sunburned mean is that:

 With the Change Style dialog You change the vertices size (esp. point 
 layer). But when You also want to make a colour theming it is whithour an 
 effect...You only see that vertices with larger size with their origin 
 uniform colour. But when You zoom or look very contrated to the vertices 
 You can see that the thematically colour vertices lay underneath the 
 enlarged vertices like to layers laying one upon the other.
 The result of this buggy effect for the users is to decide if You want to 
 have resized vertices or thematically coloured. But the aim should be to 
 make it independ, e.g. You can get larger vertices which are themically 
 coloured.

 Kindly regards
 Arnd

> Hi Sunburned,
>
> You filled a bug report about vertex styling.
> Can you describe a reproductible case where you noticed that vertices
> are painted twice.
> I cannot see any evidence of double painting by just styling a layer.
>
> Thanks
>
> Michaël
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps&    games for the Nokia N8 for consumers in  U.S. and 
> Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>
>>> 

Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread Giuseppe Aruta

> I want to check if it is the same with OJ+Sextante 0.3.
> 

I did the test
I download Sextante 0.3 here
[1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
[2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip

and tried to run OJ1.4+Sextante 0.3 with Ubuntu 10.04
___
a) With Java version "1.6.0_22" 
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)

This is the message of error:

java.lang.NullPointerException
at 
es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
at 
es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
at 
es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)

---
b) Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
java.lang.NullPointerException
at 
es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
at 
es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
at 
es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
at 
com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)

--
It seems to me that this problem is not related to JRE version,under linux 
Ubuntu

Peppe



  

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread edgar . soldin
Could you try the nightly build? It seems like Vincent had success with it.

..ede

On 29.10.2010 19:39, Giuseppe Aruta wrote:
>
>> I want to check if it is the same with OJ+Sextante 0.3.
>>
>
> I did the test
> I download Sextante 0.3 here
> [1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
> [2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip
>
> and tried to run OJ1.4+Sextante 0.3 with Ubuntu 10.04
> ___
> a) With Java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
> This is the message of error:
>
> java.lang.NullPointerException
>   at 
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>   at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
>
> ---
> b) Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
> Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
> Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
> Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
> Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
> Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
> java.lang.NullPointerException
>   at 
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>   at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
>
> --
> It seems to me that this problem is not related to JRE version,under linux 
> Ubuntu
>
> Peppe
>
>
>
>
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OJ seems to paint the original AND resized vertices.

2010-10-29 Thread Michaël Michaud
Hi,
> Michael wrote: "May I ask you what you plan to fix on UnionByAttribute."
>
> Certainly.
>
> Currently, if the input features to the plug-in processing trigger an
> exception from JTS, the plug-in chokes. I'm tweaking the plug-in so
> that it reports exceptions from the underlying JTS operations and
> continues processing the remaining input features.
OK, I agree that OpenJUMP should be able to report topology errors 
instead of throwing  exceptions.
> I'm curious what was broken in the plug-in that caused Nacho problems?
> Was it a problem with the union operation in JTS, with his data, or
> with the plug-in code? Do you remember?
Nacho dataset contained invalid geometries (linestrings made of two 
identical points).
Invalid geometry input is one of the most frequent case for getting 
topologic exception.
For this plugin, I just catched invalid geometries (at least this case) 
before processing them and I reported their id in the html output window.

Could have put them in a new layer instead of reporting their ids. Feel 
free to do this way if you think it's better...

More difficult are the cases where input data is valid and processing 
them generates topology errors. It may come from a plugin misconception 
or from JTS. In the second case, it would be cool if the plugin could 
prepare a bug report (plugin name, input geometry(ies) in WKT, 
stacktrace...) and propose the user to send it to the list.

Michaël

> The Sunburned Surveyor
>
> 2010/10/28 Michaël Michaud:
>> Hi,
>>> Just to clarify, the bug where the fill from the initial vertice size
>>> still appears within resized nodes has nothing to do with the color
>>> theming style. I apologize if I didn't make this clear in my bug
>>> report. Thanks for adding the additional comments to the bug report
>>> Michael.
>> There are probably two slightly different bugs. The one you described
>> succinctly, and the one arnd described after I asked for clarification.
>> So, by chance, it will help to fix two bugs instead of one ;-)
>>> I plan to work on the vertex styling bugs when I'm done with my error
>>> reporting fix to the UnionByAttribute plug-in. Rendering in OJ is not
>>> my strong point, so I may be asking for some advice when I get to the
>>> vertex styling bugs. :]
>> May I ask you what you plan to fix on UnionByAttribute. I have done a
>> few modifications about 6 month ago and I can union the shapefile Nacho
>> has sent about one year ago without exception (with an error reporting 4
>> invalid geometries).
>>
>> Michaël
>>> The Sunburned Surveyor
>>>
>>> 2010/10/28 Michaël Michaud:
 Hi,

 Thanks for clarification.
 I now see several buggy behaviours with Vertex style :
 - VertexStyle is still active (and use the basic style color) when a
 ColorTheming is added (what you say)
 - VertexStyle disappears when you click on ChangeStyle menu or button
 (and reappear after if you don't change anything)
 - LineString vertices are not drawn with just a BasicStyle, but if you
 add Vertex, you can have up to 3 representations of the vertex (ex. with
 linewidth = 10 and vertex size = 15, you get a default small square, a
 vertex with the shape you choosed and the line width size, a vertex with
 the shape you choosed and the vertex size !)

 Currently, ColorTheming style can only use Basic style (fill
 color/pattern, line color/pattern/width, transparency). I don't know how
 much work it would be to extend this.

 I'll add these precision in the bug report
 Thanks for help

 Michaël

 Le 28/10/2010 10:00, Arnd Kielhorn a écrit :
> Hello,
>
> I think what Sunburned mean is that:
>
> With the Change Style dialog You change the vertices size (esp. point 
> layer). But when You also want to make a colour theming it is whithour an 
> effect...You only see that vertices with larger size with their origin 
> uniform colour. But when You zoom or look very contrated to the vertices 
> You can see that the thematically colour vertices lay underneath the 
> enlarged vertices like to layers laying one upon the other.
> The result of this buggy effect for the users is to decide if You want to 
> have resized vertices or thematically coloured. But the aim should be to 
> make it independ, e.g. You can get larger vertices which are themically 
> coloured.
>
> Kindly regards
> Arnd
>
>> Hi Sunburned,
>>
>> You filled a bug report about vertex styling.
>> Can you describe a reproductible case where you noticed that vertices
>> are painted twice.
>> I cannot see any evidence of double painting by just styling a layer.
>>
>> Thanks
>>
>> Michaël
>>
>> --
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps&  games for the

Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread Stefan Steiniger
Hei Peppe,

thanks for reading the forum and the pointer.
As I see it now, the issue is that Sextante 0.6 is compiled with Java 
1.6 while OJ was compiled against Java 1.5.
So one would need to test what happens if I compile OJ against  Java 
1.6. (I am not sure if I find time for that... if there is no message by 
tomorrow - from me, then I could not test it, and someone else may do)

stefan

PS: a note to all: in a few hours (tonight) I will probably set my mail 
list subcription so that I do not get emails anymore. So you would need 
to send things directly to me (using the above address).

Giuseppe Aruta schrieb:
>> I want to check if it is the same with OJ+Sextante 0.3.
>>
>> 
>
> I did the test
> I download Sextante 0.3 here
> [1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
> [2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip
>
> and tried to run OJ1.4+Sextante 0.3 with Ubuntu 10.04
> ___
> a) With Java version "1.6.0_22" 
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
> This is the message of error:
>
> java.lang.NullPointerException
>   at 
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>   at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
>
> ---
> b) Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
> Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
> Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
> Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
> Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
> Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
> java.lang.NullPointerException
>   at 
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>   at es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>   at 
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>   at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
>   at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
>
> --
> It seems to me that this problem is not related to JRE version,under linux 
> Ubuntu
>
> Peppe
>
>
>
>   
>
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>   


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread Giuseppe Aruta
Hi Ede,
---
1st test
OJ 29 Oct NB
Ubuntu 10.04
JRE 1.6
No sextante
No modification on OJ_linux.sh

Clicking on OJ_linux.sh OpenJUMP doasn't run.It gives this message
ava version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/vividsolutions/jump/workbench/JUMPWorkbench
Caused by: java.lang.ClassNotFoundException: 
com.vividsolutions.jump.workbench.JUMPWorkbench
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.vividsolutions.jump.workbench.JUMPWorkbench. 
 Program will exit.




2 test
I used an embedded JRE 1.5 (embedded on OJ/bin/jre folder)
No sextante
I modify this line
## uncomment and put the path to your jre here
#JAVA_HOME="/home/ed/jre1.6.0_21"
to
## uncomment and put the path to your jre here
JAVA_HOME="../jre1.5" 

I had this error

awk: BEGIN{if( < 1.5)exit 1}
awk:   ^ syntax error
Your java version '' is insufficient to run openjump.
Please provide an at least version '1.5' java runtime.
/home/amministratore/Scaricati/openjump-core-1.4-SNAPSHOT-bin(4)/bin/oj_linux.sh:
 67: ../jre1.5/bin/java: not found

It seems that these lines do not localize jre machine
OJ_linux.sh of this NB doesn't work
__

I will do other test,
any suggestion?

Peppe



--- Ven 29/10/10, edgar.sol...@web.de  ha scritto:

> Da: edgar.sol...@web.de 
> Oggetto: Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin
> A: "OpenJump develop and use" 
> Data: Venerdì 29 ottobre 2010, 19:47
> Could you try the nightly build? It
> seems like Vincent had success with it.
> 
> ..ede
> 
> On 29.10.2010 19:39, Giuseppe Aruta wrote:
> >
> >> I want to check if it is the same with OJ+Sextante
> 0.3.
> >>
> >
> > I did the test
> > I download Sextante 0.3 here
> > [1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
> > [2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip
> >
> > and tried to run OJ1.4+Sextante 0.3 with Ubuntu 10.04
> >
> ___
> > a) With Java version "1.6.0_22"
> > Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> > Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03,
> mixed mode)
> >
> > This is the message of error:
> >
> > java.lang.NullPointerException
> >     at
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
> >     at
> es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
> >     at
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
> >     at
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
> >     at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
> >     at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
> >     at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
> >     at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
> >
> > ---
> > b) Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.5.0_22-b03)
> > Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed
> mode, sharing)
> > Loading
> es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
> > Loading
> es.unex.sextante.openjump.extensions.SextanteHistoryExtension
> > Loading
> es.unex.sextante.openjump.extensions.SextanteModelerExtension
> > Loading
> es.unex.sextante.openjump.extensions.SextanteResultsExtension
> > Loading
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension
> > java.lang.NullPointerException
> >     at
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
> >     at
> es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
> >     at
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
> >     at
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
> >     at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
> >     at
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
> >     at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
> >     

Re: [JPP-Devel] OJ seems to paint the original AND resized vertices.

2010-10-29 Thread Sunburned Surveyor
Michael wrote: "In the second case, it would be cool if the plugin could
prepare a bug report (plugin name, input geometry(ies) in WKT,
stacktrace...) and propose the user to send it to the list."

I'm going to catch any exceptions from JTS and store them. I'll put
the unprocessed features in there own layer, but hopefully I can dump
the stack trace and other information from the exceptions in a log. I
need to think some more about how to do this. But I agree the
exception information is important, and shouldn't be lost.

This project has got me thinking more about the best way to handle
errors in plug-ins when calling outside libraries, especially JTS. It
is an interesting problem with several possible solutions.

I'll have to check my code. I didn't see the error catching code you
mentioned, so I may be working with an older version of the class.

The Sunburned Surveyor

2010/10/29 Michaël Michaud :
> Hi,
>> Michael wrote: "May I ask you what you plan to fix on UnionByAttribute."
>>
>> Certainly.
>>
>> Currently, if the input features to the plug-in processing trigger an
>> exception from JTS, the plug-in chokes. I'm tweaking the plug-in so
>> that it reports exceptions from the underlying JTS operations and
>> continues processing the remaining input features.
> OK, I agree that OpenJUMP should be able to report topology errors
> instead of throwing  exceptions.
>> I'm curious what was broken in the plug-in that caused Nacho problems?
>> Was it a problem with the union operation in JTS, with his data, or
>> with the plug-in code? Do you remember?
> Nacho dataset contained invalid geometries (linestrings made of two
> identical points).
> Invalid geometry input is one of the most frequent case for getting
> topologic exception.
> For this plugin, I just catched invalid geometries (at least this case)
> before processing them and I reported their id in the html output window.
>
> Could have put them in a new layer instead of reporting their ids. Feel
> free to do this way if you think it's better...
>
> More difficult are the cases where input data is valid and processing
> them generates topology errors. It may come from a plugin misconception
> or from JTS. In the second case, it would be cool if the plugin could
> prepare a bug report (plugin name, input geometry(ies) in WKT,
> stacktrace...) and propose the user to send it to the list.
>
> Michaël
>
>> The Sunburned Surveyor
>>
>> 2010/10/28 Michaël Michaud:
>>> Hi,
 Just to clarify, the bug where the fill from the initial vertice size
 still appears within resized nodes has nothing to do with the color
 theming style. I apologize if I didn't make this clear in my bug
 report. Thanks for adding the additional comments to the bug report
 Michael.
>>> There are probably two slightly different bugs. The one you described
>>> succinctly, and the one arnd described after I asked for clarification.
>>> So, by chance, it will help to fix two bugs instead of one ;-)
 I plan to work on the vertex styling bugs when I'm done with my error
 reporting fix to the UnionByAttribute plug-in. Rendering in OJ is not
 my strong point, so I may be asking for some advice when I get to the
 vertex styling bugs. :]
>>> May I ask you what you plan to fix on UnionByAttribute. I have done a
>>> few modifications about 6 month ago and I can union the shapefile Nacho
>>> has sent about one year ago without exception (with an error reporting 4
>>> invalid geometries).
>>>
>>> Michaël
 The Sunburned Surveyor

 2010/10/28 Michaël Michaud:
> Hi,
>
> Thanks for clarification.
> I now see several buggy behaviours with Vertex style :
> - VertexStyle is still active (and use the basic style color) when a
> ColorTheming is added (what you say)
> - VertexStyle disappears when you click on ChangeStyle menu or button
> (and reappear after if you don't change anything)
> - LineString vertices are not drawn with just a BasicStyle, but if you
> add Vertex, you can have up to 3 representations of the vertex (ex. with
> linewidth = 10 and vertex size = 15, you get a default small square, a
> vertex with the shape you choosed and the line width size, a vertex with
> the shape you choosed and the vertex size !)
>
> Currently, ColorTheming style can only use Basic style (fill
> color/pattern, line color/pattern/width, transparency). I don't know how
> much work it would be to extend this.
>
> I'll add these precision in the bug report
> Thanks for help
>
> Michaël
>
> Le 28/10/2010 10:00, Arnd Kielhorn a écrit :
>> Hello,
>>
>> I think what Sunburned mean is that:
>>
>> With the Change Style dialog You change the vertices size (esp. point 
>> layer). But when You also want to make a colour theming it is whithour 
>> an effect...You only see that vertices with larger size with their 
>> origin uniform colour. But when You zoom 

Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread edgar . soldin
hey peppe,

sorry, my bad, missed this bug on linux.
could you please try again with either
http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/scripts/oj_linux.sh?content-type=text%2Fplain
or
tomorrows NB?

thanks ede

On 29.10.2010 20:02, Giuseppe Aruta wrote:
> Hi Ede,
> ---
> 1st test
> OJ 29 Oct NB
> Ubuntu 10.04
> JRE 1.6
> No sextante
> No modification on OJ_linux.sh
>
> Clicking on OJ_linux.sh OpenJUMP doasn't run.It gives this message
> ava version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/vividsolutions/jump/workbench/JUMPWorkbench
> Caused by: java.lang.ClassNotFoundException: 
> com.vividsolutions.jump.workbench.JUMPWorkbench
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: 
> com.vividsolutions.jump.workbench.JUMPWorkbench.  Program will exit.
>
>
>
> 
> 2 test
> I used an embedded JRE 1.5 (embedded on OJ/bin/jre folder)
> No sextante
> I modify this line
> ## uncomment and put the path to your jre here
> #JAVA_HOME="/home/ed/jre1.6.0_21"
> to
> ## uncomment and put the path to your jre here
> JAVA_HOME="../jre1.5"
>
> I had this error
>
> awk: BEGIN{if(<  1.5)exit 1}
> awk:   ^ syntax error
> Your java version '' is insufficient to run openjump.
> Please provide an at least version '1.5' java runtime.
> /home/amministratore/Scaricati/openjump-core-1.4-SNAPSHOT-bin(4)/bin/oj_linux.sh:
>  67: ../jre1.5/bin/java: not found
>
> It seems that these lines do not localize jre machine
> OJ_linux.sh of this NB doesn't work
> __
>
> I will do other test,
> any suggestion?
>
> Peppe
>
>
>
> --- Ven 29/10/10, edgar.sol...@web.de  ha scritto:
>
>> Da: edgar.sol...@web.de
>> Oggetto: Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin
>> A: "OpenJump develop and use"
>> Data: Venerdì 29 ottobre 2010, 19:47
>> Could you try the nightly build? It
>> seems like Vincent had success with it.
>>
>> ..ede
>>
>> On 29.10.2010 19:39, Giuseppe Aruta wrote:
>>>
 I want to check if it is the same with OJ+Sextante
>> 0.3.

>>>
>>> I did the test
>>> I download Sextante 0.3 here
>>> [1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
>>> [2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip
>>>
>>> and tried to run OJ1.4+Sextante 0.3 with Ubuntu 10.04
>>>
>> ___
>>> a) With Java version "1.6.0_22"
>>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03,
>> mixed mode)
>>>
>>> This is the message of error:
>>>
>>> java.lang.NullPointerException
>>>  at
>> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>>>  at
>> es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>>>  at
>> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>>>  at
>> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
>>>  at
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>>>  at
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>>>  at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
>>>  at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
>>>
>>> ---
>>> b) Java(TM) 2 Runtime Environment, Standard Edition
>> (build 1.5.0_22-b03)
>>> Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed
>> mode, sharing)
>>> Loading
>> es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
>>> Loading
>> es.unex.sextante.openjump.extensions.SextanteHistoryExtension
>>> Loading
>> es.unex.sextante.openjump.extensions.SextanteModelerExtension
>>> Loading
>> es.unex.sextante.openjump.extensions.SextanteResultsExtension
>>> Loading
>> es.unex.sextante.openjump.extensions.SextanteToolboxExtension
>>> java.lang.NullPointerException
>>>  at
>> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
>>>  at
>> es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
>>>  at
>> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
>>>  at

Re: [JPP-Devel] oj_linux.sh readlink improvement

2010-10-29 Thread edgar . soldin
On 29.10.2010 15:03, edgar.sol...@web.de wrote:
> On 29.10.2010 14:06, Vincent Schut wrote:
>> On 10/29/2010 12:27 PM, edgar.sol...@web.de wrote:
>>> On 29.10.2010 12:14, Vincent Schut wrote:
 On 10/29/2010 11:39 AM, edgar.sol...@web.de wrote:
> On 29.10.2010 11:28, Vincent Schut wrote:
>> On 10/29/2010 11:05 AM,edgar.sol...@web.de  wrote:
   On 29.10.2010 10:43, Vincent Schut wrote:
>>   On 10/28/2010 04:15 PM,edgar.sol...@web.de   wrote:
>>  oj_linux.sh is also use for other unixes, despite it's 
>> name.
>>
>>  OSX's readlink for example unfortunately has no -f 
>> switch .. will think about it .. thanks ede
>>   Ah, I see. Well, the currently used -n switch simply doesn't 
>> work on my
>>   system (returning the relative link, instead of the absolute 
>> path to
>>   java), while with the -f switch it works...

   -n only switches trailing newline off

   Could you please check the latest nightly build?
   http://jump-pilot.sourceforge.net/download/nightlybuild/

   I disabled the check for now, until I find a better solution.
>> Ede, this one works OK here.
>> It even seems to load the sextante plugin (I updated the -14s folder
>> using the latest nightly) (see the other thread for oj hanging at
>> loading the sextante plugin)
>
> Which files/folders did you copy where exactly?

 I just extracted the nightly core zip into the already extracted oj-14s
 folder.

> Does it also work with only the NB and added sextante lib?

 don't know, I can try. Where should I get the sextante lib, and where
 should I put it? Sorry if this is a faq, I've simply never done it that
 way before, and don't have much time currently so I'd like my time being
 spent as efficiently as possible... :-)

>>>
>>> freshly extract the NB. Rename folder e.g 'ojNBtest' Then copy everything 
>>> from
>>> openjump-14s.zip/lib/ext/*
>>> to the
>>> fresh ojNBtest/lib/ext/
>>> .
>>>
>>> like that, ede
>>
>> done exactly as you said (but copied oj-14s/lib/ext/* recursively),
>> gives me another error. Here is the exact output from the shell:
>>
>> ./oj_linux.sh
>> java version "1.6.0_22"
>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>> Loading
>> de.fhOsnabrueck.jump.pirol.datasources.pirolCSV.PirolCsvDatasetExtension
>> Loading com.cadplan.jump.VertexNoteExtension
>> Loading com.cadplan.jump.VertexSymbolsExtension
>> Loading com.cadplan.jump.PrinterExtension
>> Loading es.unex.sextante.openjump.extensions.SextanteHistoryExtension
>> Loading es.unex.sextante.openjump.extensions.SextanteCommandLineExtension
>> Loading es.unex.sextante.openjump.extensions.SextanteResultsExtension
>> Loading es.unex.sextante.openjump.extensions.SextanteToolboxExtension
>> Loading es.unex.sextante.openjump.extensions.SextanteModelerExtension
>> Loading net.refractions.postgis.PostGISConfiguration
>> Loading com.vividsolutions.jcs.plugin.JCSExtension
>> java.lang.NoClassDefFoundError: com/lowagie/text/pdf/PdfWriter
>>  at com.cadplan.jump.PrinterExtension.configure(Unknown Source)
>>  at
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
>>  at
>> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
>>  at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:361)
>>  at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:319)
>> Caused by: java.lang.ClassNotFoundException: com.lowagie.text.pdf.PdfWriter
>>  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>  at java.security.AccessController.doPrivileged(Native Method)
>>  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>  ... 5 more
>>
>
> ok.  it misses some more jars which are in the openjump-14s.zip/lib/*.jar
> Could you copy these _without_ overwriting existing to ojNBtest/lib .. and 
> run again?
>


I reworked the resolve  recursive links to java routine. Could you please test 
if it works for you? Works for me on ubuntu and osx. With multiple 
relative/absolute links.

thanks ede

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_

Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin

2010-10-29 Thread Giuseppe Aruta
Hi Ede,
it works! Now I can run OJ and Sextante with noproblem. I did also some tests. 
I realized that Stefan did a nice and hard job with Sextante: it is faster that 
I use to remember.

Peppe

--- Sab 30/10/10, edgar.sol...@web.de  ha scritto:

> Da: edgar.sol...@web.de 
> Oggetto: Re: [JPP-Devel] R: OJ 1.4 stops loading at sextante plugin
> A: "OpenJump develop and use" 
> Data: Sabato 30 ottobre 2010, 00:02
> hey peppe,
> 
> sorry, my bad, missed this bug on linux.
> could you please try again with either
> http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/scripts/oj_linux.sh?content-type=text%2Fplain
> or
> tomorrows NB?
> 
> thanks ede
> 
> On 29.10.2010 20:02, Giuseppe Aruta wrote:
> > Hi Ede,
> > ---
> > 1st test
> > OJ 29 Oct NB
> > Ubuntu 10.04
> > JRE 1.6
> > No sextante
> > No modification on OJ_linux.sh
> >
> > Clicking on OJ_linux.sh OpenJUMP doasn't run.It gives
> this message
> > ava version "1.6.0_22"
> > Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> > Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03,
> mixed mode)
> > Exception in thread "main"
> java.lang.NoClassDefFoundError:
> com/vividsolutions/jump/workbench/JUMPWorkbench
> > Caused by: java.lang.ClassNotFoundException:
> com.vividsolutions.jump.workbench.JUMPWorkbench
> >     at
> java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >     at
> java.security.AccessController.doPrivileged(Native Method)
> >     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> >     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >     at
> java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> > Could not find the main class:
> com.vividsolutions.jump.workbench.JUMPWorkbench. 
> Program will exit.
> >
> >
> >
> > 
> > 2 test
> > I used an embedded JRE 1.5 (embedded on OJ/bin/jre
> folder)
> > No sextante
> > I modify this line
> > ## uncomment and put the path to your jre here
> > #JAVA_HOME="/home/ed/jre1.6.0_21"
> > to
> > ## uncomment and put the path to your jre here
> > JAVA_HOME="../jre1.5"
> >
> > I had this error
> >
> > awk: BEGIN{if(<  1.5)exit 1}
> > awk:           ^
> syntax error
> > Your java version '' is insufficient to run openjump.
> > Please provide an at least version '1.5' java
> runtime.
> >
> /home/amministratore/Scaricati/openjump-core-1.4-SNAPSHOT-bin(4)/bin/oj_linux.sh:
> 67: ../jre1.5/bin/java: not found
> >
> > It seems that these lines do not localize jre machine
> > OJ_linux.sh of this NB doesn't work
> > __
> >
> > I will do other test,
> > any suggestion?
> >
> > Peppe
> >
> >
> >
> > --- Ven 29/10/10, edgar.sol...@web.de 
> ha scritto:
> >
> >> Da: edgar.sol...@web.de
> >> Oggetto: Re: [JPP-Devel] R: OJ 1.4 stops loading
> at sextante plugin
> >> A: "OpenJump develop and use"
> >> Data: Venerdì 29 ottobre 2010, 19:47
> >> Could you try the nightly build? It
> >> seems like Vincent had success with it.
> >>
> >> ..ede
> >>
> >> On 29.10.2010 19:39, Giuseppe Aruta wrote:
> >>>
>  I want to check if it is the same with
> OJ+Sextante
> >> 0.3.
> 
> >>>
> >>> I did the test
> >>> I download Sextante 0.3 here
> >>> [1] http://forge.osor.eu/frs/download.php/425/sextante-0.3.zip
> >>> [2] http://www.unex.es/eweb/sextantegis/sextante_openjump_bindings.zip
> >>>
> >>> and tried to run OJ1.4+Sextante 0.3 with
> Ubuntu 10.04
> >>>
> >>
> ___
> >>> a) With Java version "1.6.0_22"
> >>> Java(TM) SE Runtime Environment (build
> 1.6.0_22-b04)
> >>> Java HotSpot(TM) 64-Bit Server VM (build
> 17.1-b03,
> >> mixed mode)
> >>>
> >>> This is the message of error:
> >>>
> >>> java.lang.NullPointerException
> >>>      at
> >>
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:106)
> >>>      at
> >>
> es.unex.sextante.core.Sextante.initialize(Sextante.java:43)
> >>>      at
> >>
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:32)
> >>>      at
> >>
> es.unex.sextante.openjump.extensions.SextanteToolboxExtension.configure(SextanteToolboxExtension.java:10)
> >>>      at
> >>
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:92)
> >>>      at
> >>
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:86)
> >>>      at
> >>
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:296)
> >>>      at
> >>
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:253)
> >>>
> >>>
> ---
> >>> b) Java(TM) 2 Runtime Environment, Standard
> Edition
> >> (build 1.5.0_22-b03)
> >>> Java HotSpot(TM) Client VM (build
> 1.5.0_22-b03, mixed
> >> mode, sharing)
> >>> Loading
> >>
> es.unex.sextante.openjump.ext