[jboss-user] [JBoss Tools] - Re: M2E WTP and webResources
Fred Bricon
do-not-reply at jboss.com
Thu Jul 14 19:26:21 EDT 2011
Fred Bricon [http://community.jboss.org/people/fbricon] created the discussion
"Re: M2E WTP and webResources"
To view the discussion, visit: http://community.jboss.org/message/615329#615329
--------------------------------------------------------------
I tried to build the showcase and there's an error with the resource filtering build participant. It doesn't like that you defined absolute targetPaths (starting with "/") for webresources. I made it work using :
<webResources>
<resource>
<directory>src/main/webapp</directory>
</resource>
<resource>
<directory>src/main/webapp-tomcat</directory>
</resource>
<resource>
<directory>src/main/java</directory>
<targetPath>WEB-INF/src</targetPath>
</resource>
</webResources>
You can check the content of the web-resources folder under the "Deployed Resources" node, in the Project Explorer.
This is definitely a m2e-wtp bug.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/615329#615329]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110714/49abb8cc/attachment.html
More information about the jboss-user
mailing list