I need to build a project that refers to another (I'm newbie in Java development using idea 14).
The first let's call it "commons" contains based classes to use in all my future projects.
The second let's call it "app1" contains a JavaFx application.
I created an artifacts in Java from the "commons" idea project and added it as a module in the "app1" project structure.
is it the best way to build such a relationship between java projects ?
I can't access resource files (.xml files) located in the "commons" jar structure. Some code in the "commons" project uses sql/some.description.xml files. When I use the corresponding calss in the "app1" project , the relative path is built from the calling class in the "app1" project but files are located in the "commons" library jar file .. any idea to fix/change the code to be able to access resource located in the module jar file ?
I can't get deleting any artifact defined in the "commons" projet structure. How to cleanup ?
thanks for your answers