git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@152606 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b29cce9580
commit
079ba2faeb
|
@ -430,8 +430,9 @@ public class SVNUpdater ***REMOVED***
|
|||
***REMOVED***
|
||||
|
||||
public String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type,String env) ***REMOVED***
|
||||
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
|
||||
|
||||
***REMOVED***Timestamp timestamp = new Timestamp(System.currentTimeMillis());
|
||||
long unixTime = System.currentTimeMillis() / 1000L;
|
||||
|
||||
StringBuffer sb = new StringBuffer("| ");
|
||||
sb.append(algorithm.getName() + " | ");
|
||||
sb.append(algorithm.getFullname() + " | ");
|
||||
|
@ -441,7 +442,7 @@ public class SVNUpdater ***REMOVED***
|
|||
+ algorithm.getClazz() + " " + targetVRE + " " + algorithm_type + " N "
|
||||
+ algorithm.getPackageURL() + " \"" + algorithm.getDescription() + "\" </notextile> | ");
|
||||
sb.append("none | ");
|
||||
sb.append(timestamp + " | ");
|
||||
sb.append(unixTime + " | ");
|
||||
return sb.toString();
|
||||
***REMOVED***
|
||||
|
||||
|
@ -647,7 +648,8 @@ public class SVNUpdater ***REMOVED***
|
|||
|
||||
***REMOVED***File a = new File("/home/ngalante/Desktop/testCiro");
|
||||
***REMOVED***File b = new File ("/home/ngalante/Desktop/testB");
|
||||
|
||||
long unixTime = System.currentTimeMillis() / 1000L;
|
||||
System.out.println(unixTime);
|
||||
***REMOVED***c.updateAlgorithmFiles(a);
|
||||
***REMOVED***c.updateAlgorithmFiles(b);
|
||||
|
||||
|
|
Loading…
Reference in New Issue