git-svn-id: http://svn.research-infrastructures.eu/d4science/gcube/branches/data-analysis/wps-algorithm-installer/1.2@165578 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c6b800d997
commit
5e02489dd9
|
@ -52,6 +52,7 @@ public class DataMinerUpdater {
|
||||||
// http://data-d.d4science.org/ZGZSUHlQODRZY3pBQVZxNlVOK0xzUVZKc0dZczBKaEpHbWJQNStIS0N6Yz0
|
// http://data-d.d4science.org/ZGZSUHlQODRZY3pBQVZxNlVOK0xzUVZKc0dZczBKaEpHbWJQNStIS0N6Yz0
|
||||||
// "NetCDF Support Java" dev/software/
|
// "NetCDF Support Java" dev/software/
|
||||||
public static void main(String args[]) throws Exception {
|
public static void main(String args[]) throws Exception {
|
||||||
|
System.out.println("Algorithm installer v 1.2.1");
|
||||||
String algorithmName = null;
|
String algorithmName = null;
|
||||||
String implementation = null;
|
String implementation = null;
|
||||||
String category = null;
|
String category = null;
|
||||||
|
@ -77,7 +78,8 @@ public class DataMinerUpdater {
|
||||||
}
|
}
|
||||||
if (arg.startsWith("-t")) {
|
if (arg.startsWith("-t")) {
|
||||||
category = arg.substring(2);
|
category = arg.substring(2);
|
||||||
int idxprivusers = category.indexOf("-[");
|
//int idxprivusers = category.indexOf("-[");
|
||||||
|
int idxprivusers = category.indexOf("-#");
|
||||||
if (idxprivusers > 1) {
|
if (idxprivusers > 1) {
|
||||||
privateusers = category.substring(idxprivusers + 2, category.length() - 1);
|
privateusers = category.substring(idxprivusers + 2, category.length() - 1);
|
||||||
category = category.substring(0,idxprivusers);
|
category = category.substring(0,idxprivusers);
|
||||||
|
|
Loading…
Reference in New Issue