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

Environment setup for development #105

Open
kimhyohwan opened this issue Jul 8, 2024 · 5 comments
Open

Environment setup for development #105

kimhyohwan opened this issue Jul 8, 2024 · 5 comments

Comments

@kimhyohwan
Copy link

"When importing the source code downloaded from the siard-suite repository as a project in Eclipse, many errors occur. Please explain the environment setup for development in detail."

@mburri
Copy link
Collaborator

mburri commented Jul 8, 2024

Hi @kimhyohwan

We are not familiar (anymore) with eclipse, since we usually use Intellij. I think the community edition should be enough to work with the SIARD Suite sources.

Without knowing your error messages, here are some hints that might help you:

  • make sure to use java 17 with javafx installed. Be aware that javafx does not ship with standard distributions. As mentioned in the readme, you can get one from here: https://www.azul.com/downloads/?version=java-17-lts&package=jdk-fx#zulu
  • make sure that you can run ./gradlew clean build from the command line
  • if this works, you should be able to run the application from the command line with ./gradlew run (./gradlew.bat run on windows)
  • Now open the project in eclipse, I guess that you have to add the lib folder to the projects classpath
  • User SiardApplication#main to launch the application from within eclipse

Let me know if any of theses tipps helped you to narrow down your problem.

@kimhyohwan
Copy link
Author

Any additional plugins to install, or libraries to download?

It was successful to 'build' and 'run' using the command.

@mburri
Copy link
Collaborator

mburri commented Jul 9, 2024

Not that I'm aware of. As I said, I'm unfamiliar with eclipse. Did you add the lib folder to the classpath?
What error messages do you get?

@mburri
Copy link
Collaborator

mburri commented Jul 9, 2024

The repo of previous implementation (SiardGUI) was set up to work with eclipse and still contains the eclipse project files, especially the .classpath: https://github.com/sfa-siard/SiardGui/blob/main/.classpath

The old gui was basically the same tech stack - Maybe this helps?

@mburri
Copy link
Collaborator

mburri commented Jul 9, 2024

There is a section on how to setup a java fx project with eclipse in the openjfx documentation: https://openjfx.io/openjfx-docs/

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

No branches or pull requests

2 participants