Howard Lewis Ship wrote:
<archetype>
[...]
</archetype>


Hey thanks!


<source> appears to work with -DpackageName=x.y.z to place the various
Java places in the right place under src/main/java.

But I can't find the equivalent for a resource file.

Hmm. How about just adding those to <sources>?

Manos

On 3/3/07, Manos Batsis <[EMAIL PROTECTED]> wrote:
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]






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

Reply via email to