Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RMIModelServer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
monticore
EmbeddedMontiArc
simulators
RMIModelServer
Commits
88419619
Commit
88419619
authored
5 years ago
by
Evgeny Kusmenko
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix' into 'master'
autopilots->softwares rename fix See merge request
!13
parents
743eee97
9a21fe4c
No related branches found
Branches containing commit
No related tags found
1 merge request
!13
autopilots->softwares rename fix
Pipeline
#218240
failed
5 years ago
Stage: build
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/rwth/monticore/EmbeddedMontiArc/simulators/rmimodelserver/RMIServer.java
+5
-5
5 additions, 5 deletions
...EmbeddedMontiArc/simulators/rmimodelserver/RMIServer.java
with
5 additions
and
5 deletions
src/main/java/de/rwth/monticore/EmbeddedMontiArc/simulators/rmimodelserver/RMIServer.java
+
5
−
5
View file @
88419619
...
...
@@ -59,9 +59,9 @@ public class RMIServer {
return
;
}
File
autopilot
_folder
=
new
File
(
options
.
containsKey
(
"
autopilot
s_folder"
)
?
options
.
get
(
"
autopilot
s_folder"
)
:
"autopilots"
);
if
(!
autopilot
_folder
.
exists
()){
System
.
out
.
printf
(
"The autopilot folder %s does not exist\n"
,
autopilot
_folder
);
File
softwares
_folder
=
new
File
(
options
.
containsKey
(
"
software
s_folder"
)
?
options
.
get
(
"
software
s_folder"
)
:
"autopilots"
);
if
(!
softwares
_folder
.
exists
()){
System
.
out
.
printf
(
"The autopilot folder %s does not exist\n"
,
softwares
_folder
);
return
;
}
...
...
@@ -71,10 +71,10 @@ public class RMIServer {
SoftwareSimulatorConfig
manager_config
=
new
SoftwareSimulatorConfig
();
try
{
// Load AutopilotAdapter.dll from libraryPath
manager_config
.
set_softwares_folder
(
autopilot
_folder
.
getCanonicalPath
());
manager_config
.
set_softwares_folder
(
softwares
_folder
.
getCanonicalPath
());
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
System
.
out
.
println
(
"Could not resolve the SoftwareSimulator's software folder path. ("
+
autopilot
_folder
+
")"
);
System
.
out
.
println
(
"Could not resolve the SoftwareSimulator's software folder path. ("
+
softwares
_folder
+
")"
);
}
int
port_id
=
Integer
.
valueOf
(
port
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment