"Bernhard David" <[EMAIL PROTECTED]> wrote on 18/06/2008 16:21:06:

> Hello,
> 
> I think you just need to declare src/main/application as a resource
> folder in your pom -
> 
> <resources>
>    <resource>
>       <directory>src/main/application</directory>
>    </resource>
> 
> and it should work exactly as src/main/resources does.

Hi David.

        Thanks for following up.

        That leaves me with one final problem if I only have one 
application.xml file (irrespective of it's location).

        Eclipse will put in the project names of the web and ejb projects 
into application.xml, eg BlahWeb and BlahEJB.

        Maven when it creates application.xml, it will use the version 
information as well, eg BlahWeb-1.0-SNAPSHOT etc (unless I use a final 
name).

        The problem arises when maven will not generate application.xml 
when it is already in \src\main\application.

        Is there a way to tell it to do so?

        Or, are you aware of any other way to do it?

        Thanks for your help.

-Chris


**********************************************************************
CAUTION - This message is intended for the addressee named above. It may 
contain privileged or confidential information. 

If you are not the intended recipient of this message you must: 
- Not use, copy, distribute or disclose it to anyone other than the addressee;
- Notify the sender via return email; and
- Delete the message (and any related attachments) from your computer 
immediately.

Internet emails are not necessarily secure. Australian Associated Motors 
Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not 
accept responsibility for changes made to this message after it was sent.

Unless otherwise stated, views expressed within this email are the author's own 
and do not represent those of AAMI.
**********************************************************************

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

Reply via email to