Project Organisation [message #870398] |
Tue, 08 May 2012 02:36 |
Koushik Rajagopalan Messages: 1 Registered: May 2012 |
Junior Member |
|
|
Hi,
I am trying to develop a project (MyProj) that will be delivered as a jar file. This project contains a XML schema. MyProj reads a configuration file (from another jar file) and tries to understand it based on the XML Schema.
1) How do I organize my schema within MyProj?
What I have tried:
(a) I put it within the MyProj directory - The classes do not recognize the XML Schema.
(b) I put it within MyProj/src - everything works fine.
I have a hunch that the schema should go in a common place - MyProj or MyProj/resources + I should configure these location as potential places to search for XML Schema. I dont know how I can do that.
2) When I deliver this project as a jar file, I do not know how the XML Schema should be packaged along with other class files.
Can anyone help me understand how I can solve these two problems?
|
|
|
Powered by
FUDForum. Page generated in 0.03010 seconds