git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@144495 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f058b05035
commit
7f2a804500
|
@ -173,7 +173,10 @@ public class AlgorithmPackageParser ***REMOVED***
|
|||
out.setName(extractSingleValue(metadata, METADATA_ALGORITHM_NAME));
|
||||
out.setDescription(extractSingleValue(metadata, METADATA_ALGORITHM_DESCRIPTION));
|
||||
out.setClazz(extractSingleValue(metadata, METADATA_CLASS_NAME));
|
||||
List<String> rdependencies = extractMultipleValues(metadata, "r");
|
||||
***REMOVED***List<String> dependencies = extractMultipleValues(metadata, METADATA_PACKAGES);
|
||||
|
||||
|
||||
List<String> rdependencies = extractMultipleValues(metadata, "cran");
|
||||
if (rdependencies != null) ***REMOVED***
|
||||
for (String pkg : rdependencies) ***REMOVED***
|
||||
Dependency dep = new Dependency();
|
||||
|
@ -184,7 +187,19 @@ public class AlgorithmPackageParser ***REMOVED***
|
|||
out.addDependency(dep);
|
||||
***REMOVED***
|
||||
***REMOVED***
|
||||
|
||||
|
||||
|
||||
List<String> defdependencies = extractMultipleValues(metadata, "Packages");
|
||||
if (defdependencies != null) ***REMOVED***
|
||||
for (String pkg : defdependencies) ***REMOVED***
|
||||
Dependency dep = new Dependency();
|
||||
|
||||
***REMOVED***if (pkg.startsWith("os:"))***REMOVED***
|
||||
dep.setName(pkg);
|
||||
dep.setType("os");
|
||||
out.addDependency(dep);
|
||||
***REMOVED***
|
||||
***REMOVED***
|
||||
|
||||
List<String> osdependencies = extractMultipleValues(metadata, "os");
|
||||
if (osdependencies != null) ***REMOVED***
|
||||
|
|
Loading…
Reference in New Issue