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
b1b51eb9b0
commit
2c06d9bee8
|
@ -430,7 +430,8 @@ public class SVNUpdater {
|
|||
***REMOVED***
|
||||
|
||||
public String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type,String env) {
|
||||
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() + " | ");
|
||||
|
@ -441,7 +442,7 @@ public class SVNUpdater {
|
|||
+ 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***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