Re: Do I need to separate between src/java and src/resources? (Was: How to turn filtering on with images in the resource folder?)

2005-12-06 Thread Doug Douglass
Well, you don't _need_ to have separate resource type directories, nor a separate resource directory, Maven allows you the flexibility to do either. Cheers, Doug Jochen Wiedmann wrote: Doug Douglass wrote: 1) Put you images in a separate resource directory (e.g., src/main/image) and add

How to turn filtering on with images in the resource folder?

2005-12-05 Thread Jochen Wiedmann
Hi, I have recently turned on filtering for my resources folder. Worked fine, until I started the application: It turned out, that images are filtered too, becoming corrupt. (Funnily, this was on Windows only. Everything worked fine on Linux.) Two questions: - Can anyone explain the

RE: How to turn filtering on with images in the resource folder?

2005-12-05 Thread Brian E. Fox
I have my projects setup so only filtered (property) resources go in /resources. Everything else is in webapp/img , etc. I honestly never even thought about putting everything into resources. -Original Message- From: Jochen Wiedmann [mailto:[EMAIL PROTECTED] Sent: Monday, December 05,

Re: How to turn filtering on with images in the resource folder?

2005-12-05 Thread Doug Douglass
Jochen, Here's a couple suggestions: 1) Put you images in a separate resource directory (e.g., src/main/image) and add another resource stanza to your POM with filteringfalse/filtering 2) Add an excludes stanza to your existing resource and exclude all common image extension, then add

Do I need to separate between src/java and src/resources? (Was: How to turn filtering on with images in the resource folder?)

2005-12-05 Thread Jochen Wiedmann
Doug Douglass wrote: 1) Put you images in a separate resource directory (e.g., src/main/image) and add another resource stanza to your POM with filteringfalse/filtering That brings me up to another question: I understand that your suggestion is easier for maintaining the POM. OTOH, I do