Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openmodelica/omjava
OpenModelica Java Interface
https://github.com/openmodelica/omjava
Last synced: 17 days ago
JSON representation
OpenModelica Java Interface
- Host: GitHub
- URL: https://github.com/openmodelica/omjava
- Owner: OpenModelica
- License: bsd-3-clause
- Created: 2018-04-16T09:23:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T00:37:05.000Z (over 4 years ago)
- Last Synced: 2024-04-28T07:35:55.787Z (8 months ago)
- Language: Java
- Size: 88.9 KB
- Stars: 1
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OMJava
OpenModelica Java InterfaceClone the OMJava into the OpenMoelica root directory at the same level with OMCompiler
`git clone https://github.com/OpenModelica/OMJava.git`To get the dependencies run `make dep`
This will download the needed jars from: https://build.openmodelica.org/omc/java/OMJava-3rdParty.zip
and unpack into 3rdParty```
unzip -un OMJava-3rdParty.zip
Archive: OMJava-3rdParty.zip
inflating: 3rdParty/antlr/antlr-3.2.jar
inflating: 3rdParty/hamcrest-core-1.3.jar
inflating: 3rdParty/idl.jar
inflating: 3rdParty/jacorb-3.9.jar
inflating: 3rdParty/jacorb-omgapi-3.9.jar
inflating: 3rdParty/jacorb-services-3.9.jar
inflating: 3rdParty/jboss-rmi-api_1.0_spec-1.0.6.Final.jar
inflating: 3rdParty/junit-4.13.jar
inflating: 3rdParty/picocontainer-1.2.jar
inflating: 3rdParty/slf4j-api-1.7.14.jar
inflating: 3rdParty/slf4j-jdk14-1.7.14.jar
inflating: 3rdParty/wrapper-3.1.0.jar
```To build, simply use the command `make` and then use the generated jar-file somewhere.
To install the modelica_java.jar and dependencies into the OpenModelica/build/share/omc/java directory run `make install`The existing jUnit should work with `make test`.