Jody Garnett a écrit :
I would like to add the following javadoc tag in every .java file too:
@source $URL$
where $URL$ is an other Subversion keyword.
Um should that not be set up as a @link or @see? When citing a url
javadoc already has a facility ....
Because $URL$ is a SVN keyword, what we would get would actually be:
@see $URL: http://svn.geotools.org/... $
I'm not sure if javadoc can process it because of the $URL part in front
of the actual URL.
My idea was to use a custom Javadoc tag in order to process it in a
taglet (I already wrote I small taglet for GeoAPI a while ago). The
taglet would parse the URL after @source and produces automatically an
output like that:
Defined in module main (gt2-main-2.2-RC0.jar)
Latest source on SVN head
where "main" would be an hyperlink to the Maven generated report pages,
"gt2-main-2.2-RC0.jar" a link to the JAR file in our Maven repository
and "Latest source on SVN head" would be $URL$ link.
Anyway, I will first clean a little bit the test-data before to go ahead
with $URL$ (if nobody object).
Martin.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel