On Wed, May 27, 2009 at 5:17 PM, Martijn Dashorst
<[email protected]> wrote:
> http://wicket.apache.org/quickstart.html
>
> Select for example Wicket 1.3.6
>

I went quickly hacking an existing IT test to include the resources
definition you provided and some debugging output (as ERROR so I could
see it)

[ERROR] Resources = [Resource {targetPath: null, filtering: false,
FileSet {directory:
D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-53-MECLIPSE-551\src\main\java,
PatternSet [includes: {**/*}, excludes: {**/*.java, **/*.sample}]}}]
[DEBUG] Processing resource dir:
D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-53-MECLIPSE-551\src\main\java
[DEBUG] Making relative and fixing separator: {
D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-53-MECLIPSE-551,
D:\ide\maven\maven-eclipse-plugin\target\test-classes\projects\project-53-MECLIPSE-551\target\classes,
false }.
[DEBUG] Adding eclipse source dir: { src/main/java, target/classes,
true, false, **/*, **/*.java|**/*.sample|**/*.java }.
[ERROR] Failed to add eclipse source dir: src/main/java as it already
exists in the set.

So src/main/resources is correctly on the resources list.
The problem is that the list of directories to parse is a Set and the
second addition is returning false to add() but nothing is checking
this condition.

Now I need to work out how to handle the collision

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to