[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.iam] Re: IAM maven builder not copying resources?

resources files are copied by default to target/classes and
target/test-classes, they are no copied to target/WEB-INF

if your project is a war and you expect them to be in
target/projectname/WEB-INF that happens during packaging phase, and you
shouldn't rely on them being there in your test files, it wont work in
IAM nor in Maven command line


On 5/28/09 12:46 AM, BenH wrote:
> I just cleaned out my target/ folder and then did a Project > Clean.
> 
> target/classes and target/test-classes were recompiled, but resources
> files (applicationContext.xml) seemed not to be copied over into
> target/WEB-INF
> 
> So my unit tests failed from Eclipse JUnit runner, until I did a "mvn
> install" from command line.
> 
> Known issue? Intended behavior?
> 
> -Ben
>