git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineSmartExecutor@167412 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
22b2cfcafb
commit
066809a7ae
|
@ -28,6 +28,7 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
|
||||||
protected HashMap<String, String> outputValues = new HashMap<String, String>();
|
protected HashMap<String, String> outputValues = new HashMap<String, String>();
|
||||||
protected LinkedHashMap<String, StatisticalType> output = new LinkedHashMap<String, StatisticalType>();
|
protected LinkedHashMap<String, StatisticalType> output = new LinkedHashMap<String, StatisticalType>();
|
||||||
LocalRScriptsManager scriptmanager;
|
LocalRScriptsManager scriptmanager;
|
||||||
|
protected File currentFolder = null;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
|
@ -60,6 +61,7 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
|
||||||
StorageUtils.downloadInputFile(packageURL, localPackage.getAbsolutePath(), true);
|
StorageUtils.downloadInputFile(packageURL, localPackage.getAbsolutePath(), true);
|
||||||
LOGGER.debug("Generating sandbox folder");
|
LOGGER.debug("Generating sandbox folder");
|
||||||
File folder = new File(config.getConfigPath(), "rscr_" + UUID.randomUUID());
|
File folder = new File(config.getConfigPath(), "rscr_" + UUID.randomUUID());
|
||||||
|
currentFolder = folder;
|
||||||
boolean mkdir = folder.mkdir();
|
boolean mkdir = folder.mkdir();
|
||||||
LOGGER.debug("Sandbox " + folder.getAbsolutePath() + " generated: " + mkdir);
|
LOGGER.debug("Sandbox " + folder.getAbsolutePath() + " generated: " + mkdir);
|
||||||
LOGGER.debug("Unzipping package into " + folder.getAbsolutePath());
|
LOGGER.debug("Unzipping package into " + folder.getAbsolutePath());
|
||||||
|
|
Loading…
Reference in New Issue