This does not work for me. If you clean your project and run the tests, it'll
fail.
Maybe, I have just found another not so elegant solution. I copied the
testResource
part and renamed the copy's directory to: src/main/webapp/WEB-INF. Hence,
I ended up with:
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
<testResource>
<directory>src/main/webapp</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</testResource>
<testResource>
<directory>src/main/webapp/WEB-INF</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
It seems to work.
Cheers,
Martin
Campa wrote:
>
> Hi guys,
>
> I have solved these issue changing the section of pom.xml from:
>
> <testResource>
> <directory>src/main/webapp</directory>
> <filtering>true</filtering>
> <includes>
> <include>**/*.xml</include>
> </includes>
> </testResource>
>
>
> to:
>
> <testResource>
> <directory>src/main/webapp/WEB-INF</directory>
> <filtering>true</filtering>
> <includes>
> <include>*.xml</include>
> </includes>
> </testResource>
>
> Seems the wildchars ** does not work, as ant users expect in spring
> classloader...it does not descend the tree.. only use ** as a file/dir
> name.
>
> Hope this help you.
> Bye
> Campa
>
>
>
>
--
View this message in context:
http://www.nabble.com/UnsatisfiedDependencyException-tp15793588s2369p16273996.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]