Hello,

I noticed that the Resources task copies resource files to the
classes/test-classes directories. What's the reasoning behind this? I never
had the need to do this in my Ant projects (neither for testing, packaging,
nor running an exploded web application).

The reason I'm asking is that after running all of my tests from the command
line, the copied resources take precedence over the original resource files
in Eclipse (I'm configuring src/main/resources as class folders, not as
source folders) and the only way for me to get Eclipse to pick up my changes
is to clean all of my projects. I'd rather avoid this :)

Another disadvantage is that copying resources starts take a long time as
soon as you're having a lot of them or when they are large, although that
may not be the best argument given today's computers :)

Regards,
  Levi

Reply via email to