I have implemented this, with some slight changes to the syntax (for future 
reference):

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

In this case, the ejb-ql-parser needs to output to the jboss-ql-parser output 
directory (output/gen-src/jboss-ql-parser), so you only need to include one as 
input to the source node.  The source files from the generated code will be 
included in the javac call for the main source.


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

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


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to