[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?
|
- From: Carlos Sanchez <csanchez@xxxxxxxxx>
- Date: Thu, 28 May 2009 14:05:15 -0700
- Newsgroups: eclipse.technology.iam
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
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
>