From 0c9b10a1c21f81c80fd0845e0ecd5f6159e63bd4 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Wed, 16 May 2018 10:46:32 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/Common/workspace-task-executor-library@167510 82a268e6-3cf1-43bd-a215-b396298e98cf --- .classpath | 4 ++-- .settings/org.eclipse.jdt.core.prefs | 2 +- .../WorkspaceDataMinerTaskExecutor.java | 5 +++-- .../shared/dataminer/TaskConfiguration.java | 2 ++ .../TestDataMinerTaskExecutor.java | 18 ++++++++++-------- 5 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.classpath b/.classpath index 10ccb85..379bc98 100644 --- a/.classpath +++ b/.classpath @@ -28,9 +28,9 @@ - + - + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 443e085..b257af7 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,6 +1,6 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error diff --git a/src/main/java/org/gcube/common/workspacetaskexecutor/dataminer/WorkspaceDataMinerTaskExecutor.java b/src/main/java/org/gcube/common/workspacetaskexecutor/dataminer/WorkspaceDataMinerTaskExecutor.java index 79c9c45..b13c1d7 100644 --- a/src/main/java/org/gcube/common/workspacetaskexecutor/dataminer/WorkspaceDataMinerTaskExecutor.java +++ b/src/main/java/org/gcube/common/workspacetaskexecutor/dataminer/WorkspaceDataMinerTaskExecutor.java @@ -228,7 +228,8 @@ public class WorkspaceDataMinerTaskExecutor implements ExecutableTask listDummyConf = gelDummyListOfConfigurations(3); + private static List listDummyConf; + /** * @@ -93,13 +93,15 @@ public class TestDataMinerTaskExecutor { public static void main(String[] args) { - ScopeProvider.instance.set(SCOPE); - WorkspaceDataMinerTaskExecutor exec = WorkspaceDataMinerTaskExecutor.getInstance(); - exec.withOwner(USERNAME); - //jsonCheck(); +// ScopeProvider.instance.set(SCOPE); +// listDummyConf = gelDummyListOfConfigurations(3); +// WorkspaceDataMinerTaskExecutor exec = WorkspaceDataMinerTaskExecutor.getInstance(); +// exec.withOwner(USERNAME); +// //jsonCheck(); +// +// //ERASE ALL CONFIGURATIONS +// eraseAllTaskConfigurations(exec); - //ERASE ALL CONFIGURATIONS - eraseAllTaskConfigurations(exec); //GET LIST CONFIGURATIONS //getConfigurations(exec);