You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vi...@condenast.com on 2003/11/22 05:59:46 UTC
Problem copying resources defined in project.xml
The resources I've defined in the project.xml are not being copied to
target/classes.
<resources>
<resource>
<directory>${basedir}/conf/hibernate/oracle</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
Has anyone experienced a similar problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problem copying resources defined in project.xml
Posted by Jim Crossley <ji...@crossleys.org>.
Hi Jason...
Jason van Zyl <jv...@maven.org> writes:
> <resources>
> <resource>
> <directory>conf/hibernate/oracle</directory>
> </resource>
> </resources>
>
> You no longer need ${basedir} post rc1 and if you only specify a
> directory without includes/excludes qualifier the inclusion of the
> entire directory is assumed.
I no longer need ${basedir} even if I build from a subdirectory
beneath the project root using the -f option?
Cool.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problem copying resources defined in project.xml
Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2003-11-21 at 23:59, Vikram_Kumar@condenast.com wrote:
> The resources I've defined in the project.xml are not being copied to
> target/classes.
>
> <resources>
> <resource>
> <directory>${basedir}/conf/hibernate/oracle</directory>
> <includes>
> <include>**/*</include>
> </includes>
> </resource>
>
You can either try the expression **/** or you can simply use the
following:
<resources>
<resource>
<directory>conf/hibernate/oracle</directory>
</resource>
</resources>
You no longer need ${basedir} post rc1 and if you only specify a
directory without includes/excludes qualifier the inclusion of the
entire directory is assumed.
> Has anyone experienced a similar problem.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
jvz.
Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Problem copying resources defined in project.xml
Posted by Konstantin Priblouda <kp...@yahoo.com>.
--- Vikram_Kumar@condenast.com wrote:
>
> The resources I've defined in the project.xml are
> not being copied to
> target/classes.
>
> <resources>
> <resource>
>
>
<directory>${basedir}/conf/hibernate/oracle</directory>
> <includes>
> <include>**/*</include>
> </includes>
> </resource>
>
>
> Has anyone experienced a similar problem.
What says maven log? debug output?
=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung.
Arbeitsort: Mainz
Skills: Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org