[ http://jira.andromda.org/browse/ANDROMDAPP-29?page=comments#action_13311 ]
Walter Itamar Mourão commented on ANDROMDAPP-29: ------------------------------------------------ sorry, the code was wrong... the correct one is: ... <resources> <resource> <directory>src/main/resources</directory> <targetPath>../${pom.artifactId}-${pom.version}</targetPath> <filtering>true</filtering> <includes> <include>**/*.xml</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <targetPath>../${pom.artifactId}-${pom.version}</targetPath> <filtering>false</filtering> <includes> <include>**/*.*</include> </includes> <excludes> <exclude>**/*.xml</exclude> </excludes> </resource> </resources> ... > Avoid filtering binaries resources > ---------------------------------- > > Key: ANDROMDAPP-29 > URL: http://jira.andromda.org/browse/ANDROMDAPP-29 > Project: AndroMDApp Project Generator > Type: Improvement > Reporter: Walter Itamar Mourão > Assignee: Chad Brandon > Priority: Trivial > > I suggest changing the resource filtering in the web/pom.xml file to > something like: > ... > <resources> > <resource> > <directory>src/main/resources</directory> > <targetPath>../${pom.artifactId}-${pom.version}</targetPath> > <filtering>true</filtering> > <includes> > <include>**/*.xml</include> > </includes> > </resource> > <resource> > <directory>src/main/resources</directory> > <targetPath>../${pom.artifactId}-${pom.version}</targetPath> > <filtering>false</filtering> > <excludes> > <exclude>**/*.xml</exclude> > </excludes> > </resource> > </resources> > ... > to avoid corrupting binary resources (.gif, .jpg, etc.) during the resource > processing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642