Background:
I have a small problem with Eclipse. I'm working on a workbench plugin which has some classes that validate incoming XML data against a schema. The schema lives inside the plugin project in a "./schemas" folder.
Questions:
- When I run the application, how can I read the schema without using a hardcoded path?
- When the application is deployed the schema will need to live inside a plugin .jar. Will the solution from (1) be any different in this case?