How do I add a pre-compilation task like rmic?  I think I would want to define 
the input source which required processing:

  | <componentdef ..>
  |   <source id="rmic">
  |     <include input="classes">
  |   </source>
  | </componentdef>
  | 
And then in tasks.xml

  | <targetdef target="rmic">
  |   <component/>
  |   <source when="@{rmic}">
  |     <rmic base="@{classesPath}">
  |       <classpath>
  |     <pathElements/>
  |       </classpath>
  |    </rmic>
  |   </source>
  | </targetdef>
  | 
I guess I would also need to add a depends attribute to the source element in 
the build targetdef?

  | <targetdef target="build" description="Build">
  |    :
  |    <source depends="rmic">
  |      <mkdir dir="@{output}/etc"/>
  |      :
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862813#3862813

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862813


-------------------------------------------------------
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

Reply via email to