You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Oren Berenson <or...@morpheus.co.uk> on 2004/10/11 14:10:45 UTC

Specify directory for resources in ear

I want the application.xml to be copied into /META-INF in the ear file.

 <?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

I set the properties as follow:

 

maven.ear.appxml=${basedir}/META-INF

maven.ear.src=${basedir}/META-INF

maven.ear.resources=${basedir}/META-INF

 

The application.xml is being picked up but it is inserted into the ear
file without the path.

 

Beside the application.xml there are few other resources, which I want
to do the same with them.

 

Any idea how it is done?

 

Thanks

 

Oren 
 



****************************************************************************

This email and any files transmitted with it contain information that may be
confidential or privileged, and are intended solely for the use of the
individual or entity to whom they are addressed. If you are not the intended
recipient any disclosure, copying, distribution or use of the information is
prohibited. If you have received this email in error, please notify me by
return email immediately. Any opinions expressed are those of the author,
not of Morpheus Limited.


This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre.

****************************************************************************

RE: Specify directory for resources in ear

Posted by Oren Berenson <or...@morpheus.co.uk>.
Yes, it is as expected like that.

Thank you very much.

Oren 


-----Original Message-----
From: jeff mutonho [mailto:ejbengine@yahoo.com]
Sent: 11 October 2004 13:46
To: Maven Users List
Subject: Re: Specify directory for resources in ear


Hi 
> maven.ear.appxml=${basedir}/META-INF

Isn't that suppose to be 

maven.ear.appxml=${basedir}/META-INF/application.xml ?

I also specify <include>**/META-INF/**</include> under
the "includes" in my EAR subproject's project.xml

jeff mutonho



--- Oren Berenson <or...@morpheus.co.uk>
wrote:

> I want the application.xml to be copied into
> /META-INF in the ear file.
> 
>  <?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
> 
> I set the properties as follow:
> 
>  
> 
> maven.ear.appxml=${basedir}/META-INF
> 
> maven.ear.src=${basedir}/META-INF
> 
> maven.ear.resources=${basedir}/META-INF
> 
>  
> 
> The application.xml is being picked up but it is
> inserted into the ear
> file without the path.
> 
>  
> 
> Beside the application.xml there are few other
> resources, which I want
> to do the same with them.
> 
>  
> 
> Any idea how it is done?
> 
>  
> 
> Thanks
> 
>  
> 
> Oren 
>  
> 
> 
> 
>
************************************************************************
****
> 
> This email and any files transmitted with it contain
> information that may be
> confidential or privileged, and are intended solely
> for the use of the
> individual or entity to whom they are addressed. If
> you are not the intended
> recipient any disclosure, copying, distribution or
> use of the information is
> prohibited. If you have received this email in
> error, please notify me by
> return email immediately. Any opinions expressed are
> those of the author,
> not of Morpheus Limited.
> 
> 
> This message has been checked for all known viruses
> by UUNET delivered 
> through the MessageLabs Virus Control Centre.
> 
>
************************************************************************
****



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org





****************************************************************************

This email and any files transmitted with it contain information that may be
confidential or privileged, and are intended solely for the use of the
individual or entity to whom they are addressed. If you are not the intended
recipient any disclosure, copying, distribution or use of the information is
prohibited. If you have received this email in error, please notify me by
return email immediately. Any opinions expressed are those of the author,
not of Morpheus Limited.


This message has been checked for all known viruses by UUNET delivered 
through the MessageLabs Virus Control Centre.

****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Specify directory for resources in ear

Posted by jeff mutonho <ej...@yahoo.com>.
Hi 
> maven.ear.appxml=${basedir}/META-INF

Isn't that suppose to be 

maven.ear.appxml=${basedir}/META-INF/application.xml ?

I also specify <include>**/META-INF/**</include> under
the "includes" in my EAR subproject's project.xml

jeff mutonho



--- Oren Berenson <or...@morpheus.co.uk>
wrote:

> I want the application.xml to be copied into
> /META-INF in the ear file.
> 
>  <?xml:namespace prefix = o ns =
> "urn:schemas-microsoft-com:office:office" />
> 
> I set the properties as follow:
> 
>  
> 
> maven.ear.appxml=${basedir}/META-INF
> 
> maven.ear.src=${basedir}/META-INF
> 
> maven.ear.resources=${basedir}/META-INF
> 
>  
> 
> The application.xml is being picked up but it is
> inserted into the ear
> file without the path.
> 
>  
> 
> Beside the application.xml there are few other
> resources, which I want
> to do the same with them.
> 
>  
> 
> Any idea how it is done?
> 
>  
> 
> Thanks
> 
>  
> 
> Oren 
>  
> 
> 
> 
>
****************************************************************************
> 
> This email and any files transmitted with it contain
> information that may be
> confidential or privileged, and are intended solely
> for the use of the
> individual or entity to whom they are addressed. If
> you are not the intended
> recipient any disclosure, copying, distribution or
> use of the information is
> prohibited. If you have received this email in
> error, please notify me by
> return email immediately. Any opinions expressed are
> those of the author,
> not of Morpheus Limited.
> 
> 
> This message has been checked for all known viruses
> by UUNET delivered 
> through the MessageLabs Virus Control Centre.
> 
>
****************************************************************************



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org