Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
simulators
RMIModelServer
Commits
9d3d0cf1
Commit
9d3d0cf1
authored
Apr 24, 2018
by
Petyo Bogdanov Ilov
Browse files
Script and pom.xml fix
parent
663a9587
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
9d3d0cf1
...
...
@@ -23,53 +23,4 @@
<scope>
test
</scope>
</dependency>
</dependencies>
<!-- Set up profiles -->
<profiles>
<profile>
<id>
Windows
</id>
<activation>
<os>
<family>
windows
</family>
</os>
</activation>
<properties>
<script.extension>
.bat
</script.extension>
</properties>
</profile>
<profile>
<id>
Unix
</id>
<activation>
<os>
<family>
unix
</family>
</os>
</activation>
<properties>
<script.extension>
.sh
</script.extension>
</properties>
</profile>
</profiles>
<build>
<plugins>
<!-- Exec plugin -->
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
exec-maven-plugin
</artifactId>
<version>
1.6.0
</version>
<executions>
<execution>
<id>
Launch
</id>
<phase>
package
</phase>
<goals>
<goal>
exec
</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>
${project.basedir}/scripts/run${script.extension}
</executable>
</configuration>
</plugin>
</plugins>
</build>
</project>
scripts/run.sh
View file @
9d3d0cf1
#run rmi registry on port 10101
rmiregistry 10101 &
#run rmi server
java
-c
lasspath
./target/rmi-model-server.jar
-Djava
.rmi.server.codebase
=
./target/rmi-model-server-1.0.0.jar rwth.rmi.model.server.RMIServer
&
java
-c
p
./target/rmi-model-server
-1.0.0
.jar
-Djava
.rmi.server.codebase
=
./target/rmi-model-server-1.0.0.jar
-Djava
.rmi.server.hostname
=
server.rmi
-Djava
.security.policy
=
server.policy
rwth.rmi.model.server.RMIServer
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