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

Request for Assistance with Library Imports in Sirius #464

Open
MohsenGholamigit opened this issue Sep 20, 2024 · 5 comments
Open

Request for Assistance with Library Imports in Sirius #464

MohsenGholamigit opened this issue Sep 20, 2024 · 5 comments

Comments

@MohsenGholamigit
Copy link

Hello and good day,

I would like to use some libraries in Sirius and import them into my project. However, even though these libraries are imported correctly, I am unable to get the output from the code that utilizes them.

If you have any solutions or guidance, I would greatly appreciate it. Thank you very much!

Best regards,

@pcdavid
Copy link
Member

pcdavid commented Sep 26, 2024

Hi,

Sorry but your question is not precise enough for us to help.

What kind of libraries are you talking about? What do you mean precisely by "import them into my project", and by "get the output from the code that utilizes them"?

If you are talking about Java libraries you use in your modeler definition project (e.g. inside Java services), this is more of a general Eclipse question and not related to Sirius itself.

If you are talking about models copied to/referenced from a modeling project, I don't understand what "get the output from the code that utilizes them" means.

@MohsenGholamigit
Copy link
Author

Hi,

Sorry but your question is not precise enough for us to help.

What kind of libraries are you talking about? What do you mean precisely by "import them into my project", and by "get the output from the code that utilizes them"?

If you are talking about Java libraries you use in your modeler definition project (e.g. inside Java services), this is more of a general Eclipse question and not related to Sirius itself.

If you are talking about models copied to/referenced from a modeling project, I don't understand what "get the output from the code that utilizes them" means.

I have imported a library and added it to the manifest file and the plugin file. I also import in the Java service. However when I return the output to Sirius it gives an error saying the library was not recognized. While in services it is known as library.

@pcdavid
Copy link
Member

pcdavid commented Oct 4, 2024

I have imported a library and added it to the manifest file and the plugin file.

Not sure about my interpretation, but reading between the lines I'd say the way you "imported the library" is invalid for and Eclipse-based product like Sirius, which work differently from plain/classical Java projects in terms of dependencies/classpath settings. But again, you don't give actual technical details of the concrete operations you did, so that's just a guess.

@MohsenGholamigit
Copy link
Author

I have imported a library and added it to the manifest file and the plugin file.

Not sure about my interpretation, but reading between the lines I'd say the way you "imported the library" is invalid for and Eclipse-based product like Sirius, which work differently from plain/classical Java projects in terms of dependencies/classpath settings. But again, you don't give actual technical details of the concrete operations you did, so that's just a guess.

Can you guide me to import libraries in Sirius or recommend me a source?
thanks

@pcdavid
Copy link
Member

pcdavid commented Oct 18, 2024

Sorry but this is not Sirius-specific. In these regards, Sirius is a pretty normal Eclipse plug-in project. Look for documentation/tutorials on how to develop Eclipse plug-ins (not just Java programs developed with Eclipse, but plug-ins designed to run in Eclipse). Maybe use this page as a starting point.

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