I'm adding javacc support to jbossbuild.  I think the way to do this is to 
allow source code to act as input to source nodes:

      <generatedsource id="jboss-ql-parser"
  |           javacc="org/jboss/ejb/plugins/cmp/ejbql/JBossQLParser.jjt"/>
  |       <generatedsource id="ejb-ql-parser"
  |           path="jboss-ql-parser"
  |           javacc="org/jboss/ejb/plugins/cmp/ejbql/EJBQLParser.jjt"/>
  | 
  |       <source id="main">
  |          <include input="jboss-ql-parser"/>
  |          <include input="ejb-ql-parser"/>
  | 
  |          <include input="commons"/>

So this would create output/gen-src/jboss-ql-parser which would then be 
included as a src dir by javac.  

Thoughts?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to