Hi, > yes, something like that. There is no functionality by now to ask oj where it > is located. Hence every extension has to deal with it on it's own. reflection > is the way to go. Is it possible to make a quick fix with chdir to oj home like in .bat and try to solve this path problem in a more independant way for a future 1.4.1 relese ? By the way, what is the problem with chdir to oj home, it is a very common way to do in .bat >> You say there is something different to fix in SextanteToolboxPlugin ? >> Is it related ? How do you know it if Sextante can't be launched because >> of the path problem ? > They should check for a Null Pointer before expecting the path, that was > delivered, to list any files. Which it doesn't if it does not exist ;). > That's all. But I don't know how they expect to deal with api errors like > this. Maybe I should send a mail off list. Do they have a bug tracker? Not sure It makes it totally clear. By the way, here is their bug tracker : https://forge.osor.eu/tracker/?group_id=13 >> Sorry for all these questions. I'd like to delay the moment I'll have to >> install a second OS on my machine :-) . > Use virtual machines ;) .. Vmware or free virtualbox. Ya, maybe this is what I shoud do. Thanks,
Michaël > regards ede > >> Michaël >> >> Le 03/11/2010 21:43, edgar.sol...@web.de a écrit : >>> welcome, >>> >>> essentially it is a two party problem. Oj binding delivering the wrong path >>> and sextante code getting killed by a NPE, which could easily be caught or >>> at least circumvented. This should be fixed in sextante. Could you >>> communicate this? I don't want to join yet another mailing list ;) >>> >>> ..ede >>> >>> >>> >>> On 03.11.2010 21:28, Michaël Michaud wrote: >>>> Hi ede, >>>> >>>> Thanks a lot, >>>> I have send an email suggesting this was the faulty line one week ago, >>>> but I haven't been able to go further as I know about nothing about how >>>> java works on linux. Thanks for your patience. >>>> >>>> About openjump sextante bingdings, I know that Stefan has committed on >>>> Sextante project >>>> (http://forge.osor.eu/plugins/scmsvn/viewcvs.php/trunk/soft/bindings/openJUMP/?root=sextante). >>>> I'll ask Victor Olaya if he can grant us write access. >>>> >>>> Michaël >>>> >>>> >>>> >>>> Le 03/11/2010 20:19, edgar.sol...@web.de a écrit : >>>>> phew, that was something. As it turns out. >>>>> >>>>> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin >>>>> >>>>> detects the path to the extension dir as follows >>>>> >>>>> String sPath = System.getProperty("user.dir") + "/lib/ext"; >>>>> >>>>> 'user.dir' despite it's name holds the current working dir of the java >>>>> vm. The old oj_linux.sh didn't switch to the oj home dir, but used pathes >>>>> for all parameters. This gave problems with spaces in the path, so I >>>>> decided to chdir to oj home, like we do under windows. Funny coincidence, >>>>> this way the problem was solved in parallel to occurring. >>>>> >>>>> Still we should fix SextanteToolboxPlugin.java. Using the home_dir is >>>>> unclean, there are better ways to reflect where a specific file is >>>>> located in the filesystem. I'd patch it if I'd know where Stefan hosts >>>>> the scm for the sextante binding. If it is on an scm at all. Anybody has >>>>> a clue? I found the source in the 'ojsextantebinding_oct2010.jar' but I >>>>> don't know if that is really the cutting edge code. >>>>> >>>>> >>>>> .. regards ede >>>>> >>>>> PS: Stefan, please check also the mail to the mailing list about the logo >>>>> on sf.net . >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Achieve Improved Network Security with IP and DNS Reputation. >>>>> Defend against bad network traffic, including botnets, malware, >>>>> phishing sites, and compromised hosts - saving your company time, >>>>> money, and embarrassment. Learn More! >>>>> http://p.sf.net/sfu/hpdev2dev-nov >>>>> _______________________________________________ >>>>> Jump-pilot-devel mailing list >>>>> Jump-pilot-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>> Achieve Improved Network Security with IP and DNS Reputation. >>>> Defend against bad network traffic, including botnets, malware, >>>> phishing sites, and compromised hosts - saving your company time, >>>> money, and embarrassment. Learn More! >>>> http://p.sf.net/sfu/hpdev2dev-nov >>>> _______________________________________________ >>>> Jump-pilot-devel mailing list >>>> Jump-pilot-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> ------------------------------------------------------------------------------ >>> Achieve Improved Network Security with IP and DNS Reputation. >>> Defend against bad network traffic, including botnets, malware, >>> phishing sites, and compromised hosts - saving your company time, >>> money, and embarrassment. Learn More! >>> http://p.sf.net/sfu/hpdev2dev-nov >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> Jump-pilot-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> >>> >> >> ------------------------------------------------------------------------------ >> The Next 800 Companies to Lead America's Growth: New Video Whitepaper >> David G. Thomson, author of the best-selling book "Blueprint to a >> Billion" shares his insights and actions to help propel your >> business during the next growth cycle. Listen Now! >> http://p.sf.net/sfu/SAP-dev2dev >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel