Howard Lewis Ship wrote:
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.

Err, i cant really answer your question but can you please tip me on how to do this for the java files at least? I asked the question some time ago [1], maybe my terminology probably stopped people from passing an answer.

I was thinking to go the antrun route and work something out there, in any case if a solution is available it would be of great help.

[1] http://www.nabble.com/Arbitary-directory-package-names-with-archetype:create--t3285139s177.html

Many thanks in advance,

Manos

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

Reply via email to