I have implemented this with a small change. The problem I ran into in the jmx module is that resources were rooted in src/resources instead of some subdirectory.
| <include pattern="dtd/*.dtd"/> | <include pattern="MBeanInfoDB-xmbeandd.xml"/> | To accomodate this, I needed a resource path of id ".", which didn't look right from a usability perspective, so I added a path attribute: | <resource id="resources-root" path="."/> | The id can be used by default to specify both the name and the path like a source element. However, this gives the flexibility to have an id different from the path. | | <artifactdef artifact="jboss-jmx.jar"> | <include input="main"> | <include pattern="**"/> | <exclude pattern="test/**"/> | </include> | <include input="resources-root"> | <include pattern="dtd/*.dtd"/> | <include pattern="MBeanInfoDB-xmbeandd.xml"/> | </include> | </artifactdef> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865506#3865506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865506 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
