Hi ...
I subscribed to the list to pose this problem, but I found a solution
and wanted to share it.
In my resources folder (src/main/resources) for a webapp I have several
property files which get filtered for local environment, along with a
couple of GIF icon image files. I thought nothing of filtering all the
resources, and on Windows the package worked just fine.
When it came time to release my webapp, I checked out my project and did
a mvn package on a Linux system. But when the WAR file was deployed to
Tomcat, the image files were corrupt.
I solved the problem by adding an "excludes" element to the resource
with filtering on, and a second resource element with filtering off for
the image files.
I haven't looked at any source to see what might cause the different
behavior between the two environments. As far as I know they're all
Intel little-endian machines. The JVM on both is 1.5_06.
Best regards,
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers http://www.otastro.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]