Skip to content
Snippets Groups Projects
Commit 29aec9ad authored by bes's avatar bes
Browse files

* small bugfixes

parent cd506d90
No related branches found
No related tags found
No related merge requests found
......@@ -19,18 +19,19 @@
package mamba.mee;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.impl.EObjectImpl;
/**
*
*
* @author bes
*/
public class DefaultModelManager extends AbstractModelManager {
@Override
public Class<? extends EObject>[] getSupportedScopes() {
final Class<? extends EObject>[] result = new Class[1];
result[0] = EObject.class;
@Override
public Class<? extends EObject>[] getSupportedScopes() {
final Class<? extends EObject>[] result = new Class[1];
result[0] = EObjectImpl.class;
return result;
}
}
}
......@@ -49,15 +49,7 @@ public class MeasurementApplication {
*/
public static void main(final String[] args) {
try {
Thread.sleep(10000);
} catch (final InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println("start");
final long start = System.currentTimeMillis();
try {
if (args.length < 3) {
if (args.length < 4) {
System.out.println("You need at least 4 arguments:");
System.out.println("arg[0]: path to the smm instance");
System.out.println("arg[1]: comma separated list of requested "
......@@ -99,7 +91,6 @@ public class MeasurementApplication {
props, requestedMeasures);
controller.execute();
controller.waitForCompletion();
System.out.println(System.currentTimeMillis() - start);
} catch (final Exception ex) {
_log.log(Level.SEVERE, "An error occured: " + ex.getMessage(), ex);
System.err.println("An error occured: " + ex.getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment