On 10/30/2010 12:05 AM, [email protected] wrote:
> On 29.10.2010 15:03, [email protected] wrote:
>> On 29.10.2010 14:06, Vincent Schut wrote:
>>> On 10/29/2010 12:27 PM, [email protected] wrote:
>>>> On 29.10.2010 12:14, Vincent Schut wrote:
>>>>> On 10/29/2010 11:39 AM, [email protected] wrote:
>>>>>> On 29.10.2010 11:28, Vincent Schut wrote:
>>>>>>> On 10/29/2010 11:05 AM,[email protected]  wrote:
>>>>>>>>>        On 29.10.2010 10:43, Vincent Schut wrote:
>>>>>>>>>>>        On 10/28/2010 04:15 PM,[email protected]   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.

I tried, doing the following:
- get and extract the latest NB (31 oct)
- cp -r oj-14s/lib/ext/* nb/lib/ext
- cp -n oj-14s/lib/* nb/lib (copies but does not overwrite existing files)
run nb/bin/oj_linux.sh:

./oj_linux.sh
Running -> '/opt/java/bin/../jre/bin/java';  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

OJ seems to load fine and comes up normally with its window. I have not 
(yet) tested any functionality, but it seems to start alright.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to