ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Tags containing hyphens (-)
Date Wed, 02 Jun 2004 14:08:06 GMT
Until then you can change it for your own.
Copy the sources to a temp directory, change that and create the javadoc
from the temp dir.

Jan


> -----Original Message-----
> From: Stefan Svensson (Yahoo) [mailto:per_stefan_svensson@yahoo.se]
> Sent: Wednesday, June 02, 2004 2:21 PM
> To: 'Ant Users List'
> Subject: RE: Tags containing hyphens (-)
> 
> 
> 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:cjd4@yahoo.com] 
> 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:per_stefan_svensson@yahoo.se]
> > Sent: Tuesday, June 01, 2004 8:28 AM
> > To: user@ant.apache.org
> > 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: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message