yeah, try that.. ede

On 4/8/2018 21:06, Giuseppe Aruta wrote:
> Hi Ede,
> I forgot that plugin folder points to LIB/PLUS instead to LIB/EXT in Eclipse
> 
> This method should probabily work in SextanteToolboxPlugIn class for both 
> folders.
> 
>  private String getJarsFolder() {
>         final String path = JUMPWorkbench.getInstance().getPlugInManager()
>                 .getPlugInDirectory().getAbsolutePath();
>         final String sPath = path.concat(File.separator).concat("sextante");
>         LOGGER.info("Sextante jar folder: " + sPath);
>         return sPath;
>     }
> 
> 
> 
> instead of
> 
> private String getJarsFolder() {
>         final String sPath = System.getProperty("user.dir")
>                 .concat(File.separator).concat("lib").concat(File.separator)
>                 .concat("ext").concat(File.separator).concat("sextante");
>         LOGGER.info("Sextante jar folder: " + sPath);
>         return sPath;
> 
>     }
> 
> 
> I will correct tomorrow
> 
> Peppe
> 
> 2018-04-08 20:49 GMT+02:00 <edgar.sol...@web.de <mailto:edgar.sol...@web.de>>:
> 
>     hey Peppe,
> 
>     nope still broken ;(.. smells like it does not compute the sextante 
> folder correctly. did you change something there?
> 
>     any reason why you don't ask OJ's PluginManager for the path? eg.
> 
>     workbenchcontext.getWorkbench().getPlugInManager().getPlugInDirectory();
> 
>     this should be correct always, whether in ide or not.
> 
>     ..ede
> 
>     On 4/8/2018 19:28, Giuseppe Aruta wrote:
>     > Thanks Ede
>     > It should be fixed on next build
>     > Peppe
>     >
>     > 2018-04-08 15:42 GMT+02:00 <edgar.sol...@web.de 
> <mailto:edgar.sol...@web.de> <mailto:edgar.sol...@web.de 
> <mailto:edgar.sol...@web.de>>>:
>     >
>     >     hey Peppe,
>     >
>     >     after svn updating to your latest sextante binding, running OJ in 
> eclipse throws the following.. ede
>     >
>     >     java.lang.NullPointerException
>     >             at 
> es.unex.sextante.core.AlgorithmsAndResources.addAlgorithmsAndPropertiesFromFolder(AlgorithmsAndResources.java:143)
>     >             at 
> es.unex.sextante.core.Sextante.initialize(Sextante.java:67)
>     >             at 
> es.unex.sextante.openjump.extensions.SextanteToolboxPlugin.initialize(SextanteToolboxPlugin.java:77)
>     >             at 
> es.unex.sextante.openjump.extensions.SextanteExtension.configure(SextanteExtension.java:52)
>     >             at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:214)
>     >             at 
> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:194)
>     >             at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:457)
>     >             at 
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:386)
>     >
>     >     
> ------------------------------------------------------------------------------
>     >     Check out the vibrant tech community on one of the world's most
>     >     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     >     _______________________________________________
>     >     Jump-pilot-devel mailing list
>     >     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net> 
> <mailto:Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>>
>     >     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel> 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>>
>     >
>     >
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     > Check out the vibrant tech community on one of the world's most
>     > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     >
>     >
>     >
>     > _______________________________________________
>     > Jump-pilot-devel mailing list
>     > Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>     >
> 
> 
>     
> ------------------------------------------------------------------------------
>     Check out the vibrant tech community on one of the world's most
>     engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>     _______________________________________________
>     Jump-pilot-devel mailing list
>     Jump-pilot-devel@lists.sourceforge.net 
> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel 
> <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to