Skip to content

Commit

Permalink
Restore the ability to put the RTI on a remote machine
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee committed May 12, 2022
1 parent 29e1cda commit 8bca6f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org.lflang/src/org/lflang/federated/launcher/FedLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ private String getDistHeader() {
private String getRtiCommand(List<FederateInstance> federates) {
List<String> commands = new ArrayList<>();
commands.addAll(List.of(
"RTI -i ${FEDERATION_ID} \\",
"RTI -i '${FEDERATION_ID}' \\",
" -n "+federates.size()+" \\",
" -c "+targetConfig.clockSync.toString()+" \\"
));
Expand Down Expand Up @@ -383,7 +383,7 @@ private String getRemoteLaunchCode(Object host, Object target, String logFileNam
"# Wait for the RTI to boot up before",
"# starting federates (this could be done by waiting for a specific output",
"# from the RTI, but here we use sleep)",
"sleep 1"
"sleep 5"
);
}

Expand Down

0 comments on commit 8bca6f8

Please sign in to comment.