I would do it like this:
| <source id="main"
| rmic="org/jboss/invocation/jrmp/server/JRMPInvoker*"
| >
| ...
|
| // snipped targetdef as now
| <targetdef target="build" description="Build">
| <source>
| <mkdir dir="@{output}"/>
| <depend srcdir="@{sourcePath}"
| ...
| </depend>
| <javac srcdir="@{sourcePath}"
| ...
| </javac>
| </source>
| // end snipped
| // new rmic code
| <source when="rmic">
| <rmic ...>
| <include name="@{rmic}"/>
| </rmic>
| </source>
|
jbossbuild allows multiple "source" elements in the targetdef and will take
only those definitions that apply to the given source.
It will append all the relevent tasks together in the order they were specified.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862815#3862815
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862815
-------------------------------------------------------
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