Skip to content

Commit

Permalink
fixes deprecated method and broken modules order in top pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Biasuzzi committed Jul 26, 2017
1 parent 417736a commit 4c44972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -10,6 +10,7 @@
import eu.itesla_project.commons.config.ComponentDefaultConfig;
import eu.itesla_project.commons.tools.Command;
import eu.itesla_project.commons.tools.Tool;
import eu.itesla_project.commons.tools.ToolRunningContext;
import eu.itesla_project.computation.local.LocalComputationManager;
import eu.itesla_project.iidm.import_.Importers;
import eu.itesla_project.iidm.network.Network;
Expand Down Expand Up @@ -73,7 +74,7 @@ public String getUsageFooter() {
}

@Override
public void run(CommandLine line) throws Exception {
public void run(CommandLine line, ToolRunningContext context) throws Exception {
Path caseFile = Paths.get(line.getOptionValue("case-file"));
Path generatorsDomains = Paths.get(line.getOptionValue("generators-domains-file"));
Network network = Importers.loadNetwork(caseFile);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -21,6 +21,7 @@

<modules>
<module>ampl-export</module>
<module>case-projector</module>
<module>distribution</module>
<module>dymola-integration</module>
<module>EU2Mod_MB</module>
Expand Down Expand Up @@ -49,7 +50,6 @@
<module>pclfsim-integration</module>
<module>sampling-integration</module>
<module>wca-integration</module>
<module>case-projector</module>
</modules>

<properties>
Expand Down

0 comments on commit 4c44972

Please sign in to comment.