I'm using ejbdoclet in Ant, and although all generation works as expected, I get 
excessive noise
in my build, and was wondering what I've done wrong. The noise looks something like 
this:
 
ejbGen:
[ejbdoclet] May 26, 2004 4:15:39 PM xdoclet.XDocletMain start
[ejbdoclet] INFO: Running <remoteinterface/>
[ejbdoclet] Error parsing File
D:\printcafeSrc\eServer\ProjectTools\src\main\com\printcafe\common\encode\Base64.java:Lexical
error: xjavadoc.TokenMgrError: Lexical error at line 1002, column 24. Encountered: 
<EOF> after :
""
 
However, my ejbGen target is defined to process only *Bean.java classes, so I can't 
understand why
ejbdoclet is even parsing the Base64.java class. This is only one example; in other 
builds that
use ejbdoclet, I get many more similar errors, on classes that shouldn't be parsed and 
which don't
follow any pattern I can identify.
 
Any recommendations or obvious mistakes I'm making? Here's the Ant target:
 
<target name="ejbGen" depends="taskDefs">
<tstamp>
        <format property="TODAY" pattern="yyyy-MM-dd"/>
</tstamp>
<ejbdoclet destdir="${src.dir}" addedtags="@xdoclet-generated at ${TODAY}" 
ejbspec="1.1">
        <fileset dir="${src.dir}">
                <include name="**/*Bean.java"/>
                <exclude name="**/*MBean.java"/>
        </fileset>
        <remoteinterface/>
        <homeinterface/>
</ejbdoclet>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to