I'm trying to create a archetype where some of my Java source files
have related resources.  Thus, if I have a Java source as
src/main/java/pages/Start.java, I would like to have a companion
src/main/resources/pages/Start.properties.

In the generated application, these would both be qualified with the
package name, ex: src/main/java/org/example/myapp/pages/Start.java and
src/main/resources/org/example/myapp/pages/Start.properties.

The .java file is no problem, but I haven't found how to do the
related resource.

As a <resource> under <resources>, it isn't put in the proper
directory (the package name interpolation does not occur).

As a <source> under <sources>, it doesn't seem to do anything at all.

Ideas?

--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to