Hello Andrew,

   thank you for your answer. I have try to use backslash,
for example

   <tag name="ejb.interface\-method" scope="all" description="XDoclet tag:" />

but it doesn't solve the problem.

   Thanks again for response,
   with best regards,

   Julian Legeny


Tuesday, February 22, 2005, 9:01:22 AM, you wrote:

AS> On Mon, 2005-02-21 at 19:59, [EMAIL PROTECTED] wrote:
>> Hello,
>> 
>>    I am using Java 1.4.2, XDoclet 1.2.2 and Ant 1.6.2.
>> 
>>    When I put the ejbdoclet tags in my java source file for my bean
>> and then run javadoc through Ant I get the following warnings:
>> 
>> warning - @ejb.interface-method is an unknown tag.
>> warning - @ejb.ejb-ref is an unknown tag.
>> warning - @jonas.ejb-ref is an unknown tag.
>> warning - @jboss.ejb-ref-jndi is an unknown tag.
>> warning - @weblogic.ejb-reference-description is an unknown tag.
>> 
>>    I have defined following tags (bellow) for mute all xdoclet tag
>> warnings, but it seems all tags containing minus (-) char within
>> the name are problematic and warnings occured in spite of that.

AS> Known Javadoc problem.
AS> (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4920381 and a couple
AS> of similar ones)
AS> It used to be tags containing a ":" that gave this problem, so we
AS> changed ours to use the "." instead.  Then they "fixed" javadoc to make
AS> hyphens a valid separator too, and a bunch more of our tags started
AS> giving these errors instead...

AS> They say it's fixed in 1.5.  I don't know if that's been backported to
AS> any subsequent 1.4 release.  Also, the issue above mentions escaping the
AS> hyphens with a backslash, but I don't know if that breaks the XDoclet
AS> templates.  Give it a try and let us know :-)


AS> Andrew.


>> <tag name="ejb.bean" scope="all" description="XDoclet tag:" />
>> <tag name="ejb.home" scope="all" description="XDoclet tag:" />
>> <tag name="ejb.interface" scope="all" description="XDoclet tag:" />
>> <tag name="ejb.interface-method" scope="all" description="XDoclet tag:" />
>> <tag name="ejb.ejb-ref" scope="all" description="XDoclet tag:" />
>> <tag name="ejb.transaction" scope="all" description="XDoclet tag:" />
>> <tag name="jonas.bean" scope="all" description="XDoclet tag:" />
>> <tag name="jonas.ejb-ref" scope="all" description="XDoclet tag:" />
>> <tag name="jboss.ejb-ref-jndi" scope="all" description="XDoclet tag:" />
>> <tag name="weblogic.ejb-reference-description" scope="all" 
>> description="XDoclet tag:" />
>> 
>>    Warnings don't show for tags without minus (-) char in the tag name (for
>> example for ejb.bean, ejb.home, etc.)
>> 
>>    Is there possibility to mute warnings for tags that contain (-)
>> char in the name?
>> 
>>   Thank you in advance for your advice,
>>   with best regards,
>> 
>>   Julian Legeny



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to