git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineSmartExecutor@160404 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0e4cc394e2
commit
22b2cfcafb
|
@ -236,7 +236,7 @@ public abstract class GenericRScript extends StandardLocalInfraAlgorithm {
|
||||||
}
|
}
|
||||||
if (rowFile.exists()) {
|
if (rowFile.exists()) {
|
||||||
|
|
||||||
String preparedFile = new File(config.getConfigPath(), UUID.randomUUID()+rowFile.getName()).getAbsolutePath();
|
String preparedFile = new File(config.getConfigPath(), UUID.randomUUID()+"_"+rowFile.getName()).getAbsolutePath();
|
||||||
LOGGER.debug("Copying " + rowFile.getAbsolutePath() + " to " + preparedFile);
|
LOGGER.debug("Copying " + rowFile.getAbsolutePath() + " to " + preparedFile);
|
||||||
try{
|
try{
|
||||||
org.gcube.dataanalysis.executor.rscripts.generic.FileUtils.moveFileToDirectory(rowFile, new File(config.getConfigPath()),new File(preparedFile), false);
|
org.gcube.dataanalysis.executor.rscripts.generic.FileUtils.moveFileToDirectory(rowFile, new File(config.getConfigPath()),new File(preparedFile), false);
|
||||||
|
|
Loading…
Reference in New Issue