Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
RMIModelServer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
simulators
RMIModelServer
Commits
5446235f
Commit
5446235f
authored
Jul 06, 2019
by
Jean Meurice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HardwareEmulator update
parent
3590caa3
Pipeline
#157438
failed with stage
in 1 minute and 1 second
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
6 deletions
+9
-6
.gitignore
.gitignore
+2
-1
pom.xml
pom.xml
+5
-2
src/main/java/simulator/integration/HardwareEmulatorInterface.java
...java/simulator/integration/HardwareEmulatorInterface.java
+2
-3
src/main/resources/HardwareEmulator.so
src/main/resources/HardwareEmulator.so
+0
-0
src/main/resources/linux/HardwareEmulator.so
src/main/resources/linux/HardwareEmulator.so
+0
-0
src/main/resources/windows/HardwareEmulator.dll
src/main/resources/windows/HardwareEmulator.dll
+0
-0
No files found.
.gitignore
View file @
5446235f
...
...
@@ -3,4 +3,5 @@
.project
*.iml
.classpath
/.settings
\ No newline at end of file
/.settings
.vscode/
\ No newline at end of file
pom.xml
View file @
5446235f
...
...
@@ -26,12 +26,15 @@
<groupId>
montisim
</groupId>
<artifactId>
rmi-model-server
</artifactId>
<version>
1.1.
2
</version>
<version>
1.1.
3
</version>
<packaging>
jar
</packaging>
<name>
rmi-model-server
</name>
<properties>
<!-- USE THESE TO SET THE VERSIONS OF THE DEPENDENCIES FOR ALL THE SUB-PROJECTS -->
<commons.version>
1.0.8
</commons.version>
<!-- .. SE-Libraries .................................................. -->
<monticore.version>
4.5.4.08.11.2017
</monticore.version>
<se-commons.version>
1.7.7
</se-commons.version>
...
...
@@ -74,7 +77,7 @@
<dependency>
<groupId>
montisim
</groupId>
<artifactId>
commons
</artifactId>
<version>
1.0.7
</version>
<version>
${commons.version}
</version>
</dependency>
</dependencies>
...
...
src/main/java/simulator/integration/HardwareEmulatorInterface.java
View file @
5446235f
...
...
@@ -40,11 +40,10 @@ public class HardwareEmulatorInterface implements RMIManager {
public
void
load_library
()
throws
LibraryService
.
LibraryException
{
//Use LibraryService to get the library from resources to the working directory (if not already there)
String
working_dir
=
System
.
getProperty
(
"user.dir"
)
+
"/"
;
String
system_library_name
=
LibraryService
.
getSystemLibraryName
(
"HardwareEmulator"
);
LibraryService
.
prepareLibrary
(
working_dir
,
system_library_name
);
lib_path
=
working_dir
+
system_library_name
;
LibraryService
.
prepareLibrary
(
system_library_name
);
//Load the library
lib_path
=
LibraryService
.
getWorkingDirectory
()
+
system_library_name
;
System
.
load
(
lib_path
);
//System.out.println("LibPath: " + lib_path);
}
...
...
src/main/resources/HardwareEmulator.so
deleted
100644 → 0
View file @
3590caa3
File deleted
install
/HardwareEmulator.so
→
src/main/resources/linux
/HardwareEmulator.so
100644 → 100755
View file @
5446235f
No preview for this file type
src/main/resources/HardwareEmulator.dll
→
src/main/resources/
windows/
HardwareEmulator.dll
View file @
5446235f
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment