I have checked in naming/jbossbuild.xml. I implemented rmic as Adrian described above with an "rmic" attribute on the source node in the component definition (in naming/jbossbuild.xml):
| <source id="main" | rmic="**/NamingServer.class" | > | <include input="common-project"/>... | And I have a source node in tasks.xml's build targetdef which applies to sources with rmic defined: | <source when="@{rmic}"> | <rmic base="@{output}" | includes="@{rmic}" | >... | However, when I run this, ant complians I have duplicate target definitions: | $ ant -f jbossbuild.xml | Buildfile: jbossbuild.xml | | BUILD FAILED | C:\projects\jboss-head\naming\jbossbuild.xml:77: Duplicate target: `build.main' | I expected the two targets to be concatenated instead of duplicated. I have checked in my changes to tasks.xml, so the problem should be reproducible by adding the rmic attribute as described above. I think the issue is that SourceDefinition.generateTargets() is adding SourceDefinitionTargets for each dynamic type regardless if another target for that type is already defined. Any pointers on this appreciated... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863204#3863204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863204 ------------------------------------------------------- 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 JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development