Ok, thanx! I guess I have to live with the warnings, as the tags are generated by the UML-tool I'm evaluating :-(
I'll mail them instead and see if they can replace the - with . or something... / Stefan -----Ursprungligt meddelande----- Fr�n: Chuck Daniels [mailto:[EMAIL PROTECTED] Skickat: den 2 juni 2004 02:29 Till: Ant Users List �mne: RE: Tags containing hyphens (-) I just ran across the same problem a few days ago. Unfortunately, it looks as though a javadoc tag containing a dash will not work with the javadoc tool. If you look at the documentation for javadoc 1.4 you will see that a dash is interpreted as a separator character with the -tag command line option. This is done so that a colon (:) can be used as part of a tag name. However, this unwittingly prevents the use of a dash (-) as part of a tag name. What I have done is replace my dashes with dots. (See file:///D:/apps/j2sdk1.4.2_04/docs/tooldocs/windows/javadoc.html#tag). > -----Original Message----- > From: Stefan Svensson (Yahoo) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 01, 2004 8:28 AM > To: [EMAIL PROTECTED] > Subject: Tags containing hyphens (-) > > > Hi! > > I'm having problem with the the javadoc-task. > I'm failing to define a custom tag containing hyphens "-". > > --snip-- > <tag name="poseidon-object-id" scope="all" description="Poseidonid:" > /> > --snip-- > > results in the following : > ... > [javadoc] C:\SimulationPropertiesDialog.java:48: warning - > @poseidon-object-id is an unknown tag. > [javadoc] Note: Custom tags that were not seen: @poseidon > [javadoc] 898 warnings > ... > > The custom tag name gets truncated at the first hyphen. > > Anyone out there with a solution? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
