Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Jars #130

Closed
Yarao-Liu opened this issue Mar 22, 2021 · 3 comments
Closed

How to use Jars #130

Yarao-Liu opened this issue Mar 22, 2021 · 3 comments

Comments

@Yarao-Liu
Copy link

Yarao-Liu commented Mar 22, 2021

HI Lars!I generated some JAR packages using the command (./gradlew installDist), but I don't know how to use it. Could you please provide me with an example or some operation description?Thanks!

@markaren
Copy link
Member

First off all, what are you trying to do?
The only executable jar produced by FMI4j is fmu-builder. Are you trying to build an FMU?
Executable jars are invoked using java -jar name.jar. Other types of jars, like libraries, you do not directly interact with.
You use maven to handle those. Are you trying to use the API to import an FMU? In that case you add the bintray repository to your build system (maven or gradle) and add the maven dependency.

@Yarao-Liu
Copy link
Author

Oh!I understand and have done so!Now I can run the Test in the FMI4J source package by introducing the related dependencies of FMI4J via Maven. I have not found any JavaDoc or JavaAPI documentation about FMI4J. If there is any documentation, it will be a great advantage for the promotion and use of FMI4J!

@markaren
Copy link
Member

There isn't any documentation other than the examples and tests. For basic usage, however, I think that it is sufficient.
In any case, I am not planning on putting any effort into it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants