This commit is contained in:
Nunzio Andrea Galante 2017-02-24 11:01:02 +00:00
parent 2b7a83f81a
commit 9dbcf818d4
1 changed files with 2 additions and 2 deletions

View File

@ -214,10 +214,10 @@ public class DataminerPoolManager implements PoolManager ***REMOVED***
public URL getURLfromWorkerLog(String a) throws MalformedURLException, UnknownHostException***REMOVED***
File path = new File(System.getProperty("user.home")+File.separator+"/gcube/dataminer-pool-manager/work");
File path = new File(System.getProperty("user.home")+File.separator+"/gcube/dataminer-pool-manager/work/"+a+File.separator+"logs");
path.mkdirs();
File n = new File(path + File.separator +a);
System.out.println("aaaaa"+n.getAbsolutePath());
***REMOVED***String addr = InetAddress.getLocalHost().getHostAddress();
return new File(n.getPath()).toURI().toURL();