Hi All,

I thought I posted this question to the list a couple of days ago, but
I haven't seen it appear anywhere, so I am resending. Please forgive
me if this is a duplicate posting.

I'm following the latest conventions for project layout and I am
wondering if there is a convention for separating resources based on
whether or not they are to be distributed/deployed.

For example, if I understand the convention correctly, files such as
properties files that are to be included in a jar file should reside
under src/main/resources (perhaps with the appropriate package
directory structure).

However, what about other "resources" that are NOT to be included in
the distribution. Are such "resources" also supposed to be placed
under src/main/resources?

For example, I am using the xdoclet plugin to generate my web.xml
file. The plugin allows me to specify files to be merged into the
resulting web.xml file. One example is servlets.xml, where I can
specify third-party servlets to list in web.xml in addition to the
servlets from my own code base. Obviously servlets.xml is used by the
xdoclet plugin only for generating web.xml and servlets.xml will never
be distributed. Therefore, would I still put servlets.xml somewhere
under src/main/resources (perhaps under src/main/resources/xdoclet),
or is there a better place for such resources?

Thanks,
Chuck

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to