Skip to content

Commit

Permalink
fixed a bug in config initialization
Browse files Browse the repository at this point in the history
Change-Id: I5fd2a320b1b14872000f7b468d247ed8535577d4
Signed-off-by: Alexander Wert <[email protected]>
  • Loading branch information
Alexander Wert committed Aug 21, 2014
1 parent c788334 commit 52fc20e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions org.spotter.runner/src/org/spotter/runner/SpotterRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
*/
package org.spotter.runner;

import java.util.Properties;

import org.aim.api.exceptions.InstrumentationException;
import org.aim.api.exceptions.MeasurementException;
import org.lpe.common.config.GlobalConfiguration;
import org.spotter.core.Spotter;
import org.spotter.exceptions.WorkloadException;

Expand Down Expand Up @@ -53,6 +56,9 @@ public static void main(String[] args) throws InstrumentationException, Measurem
}

String configFile = args[0];
// there are no core properties,
// just provide an empty properties object for that
GlobalConfiguration.initialize(new Properties());
Spotter.getInstance().startDiagnosis(configFile);
}
}

0 comments on commit 52fc20e

Please sign in to comment.