Revision: 5759 http://sourceforge.net/p/jump-pilot/code/5759 Author: ma15569 Date: 2018-04-09 05:05:23 +0000 (Mon, 09 Apr 2018) Log Message: ----------- Used inner OJ method getPlugInManager().getPlugInDirectory() to check symbols folder
Modified Paths: -------------- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteToolboxPlugin.java Modified: plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteToolboxPlugin.java =================================================================== --- plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteToolboxPlugin.java 2018-04-08 21:29:24 UTC (rev 5758) +++ plug-ins/SextantePlugIn/src/es/unex/sextante/openjump/extensions/SextanteToolboxPlugin.java 2018-04-09 05:05:23 UTC (rev 5759) @@ -106,14 +106,13 @@ } 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; + 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; + } - } - // [Giuseppe Aruta 2018-04-08] Activated connection to external providers (Grass, Saga, R...) private boolean containsProvider(IAlgorithmProvider provider) { final List<IAlgorithmProvider> algorithmProviders = SextanteGUI ------------------------------------------------------------------------------ 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