In the system module there is a need to unjar getopt & log4j and recombine them into other artifacts. This is also done in security and perhaps in aspects. It seems like we should support this as a first-class construct.
So this is another source, just like src/main or a resource:<source-artifact id="log4j.jar"/> which extracts the jar contents to output/log4j.jar/* . They could then be included in an artifact like any compiled class: | <artifactdef artifact="log4j-boot.jar"> | <include input="log4j.jar"> | <include pattern="org/apache/log4j/*"/> | <include pattern="org/apache/log4j/config/*"/> | <include pattern="org/apache/log4j/helpers/*"/> | <include pattern="org/apache/log4j/or/*"/> | <include pattern="org/apache/log4j/spi/*"/> | </include> | </artifactdef> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867676#3867676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867676 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development