Hello Aslak,

Tuesday, July 9, 2002, 4:33:28 PM, you wrote:

AH> I don't know why this is happening, but you should exclude the generated
AH> files from the <fileset> you pass to xdoclet. That should make the error go
AH> away, since the (previously generated) file won't be parsed by xjavadoc.

Thanks, but it's more subtle that that, as my fileset's already filtered,
i.e.
            <fileset dir="${core}/src/java">
                <include name="com/xxxxxxxxxxxx/ejb/*/*Bean.java" />
                <include name="com/xxxxxxxxxxxx/ejb/*/*EJB.java" />
                <include name="com/xxxxxxxxxxxx/mdb/*MDB.java" />
                <include name="com/xxxxxxxxxxxx/mdb/*/*MDB.java" />
            </fileset>

  which would have excluded the *Data.java from the input files...

Gwyn

>> -----Original Message-----
>> Hi,
>>
>>   Just came across an odd problem.
>>
>>   Every so often, I get the following when running the <dataobject/>
>>   task. I've not got any problems with the 'source' file & can't track
>>   down when this will appear or not, although the generated file is
>>   fine & doesn't stop at line 27 at all!
>>
>>   Anyone got any ideas?
>>
>>
>> [ejbdoclet] Running <dataobject/>
>> [ejbdoclet] Generating Data Object class for
>> 'com.xxxxxxxxxxxxxxxxxxxxxx.AdminSessionBean'.
>> [ejbdoclet] Error parsing
>> com.xxxxxxxxxxxxxxxxxxxxxx.AdminSessionData:Encountered "<EOF>"
>> at line 27, column 1.

-- 
Best regards,
 Gwyn                            mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to