My code convention defines JavaDoc class header like this:
/**
* The <code>$fileName$</code> class allow...
*
* @author $author$
* @version $Revision$, $Date$
* <br>Copyright © $year$, $organization$ All rights reserved.
*/
It also defines environment constants like these:
author=Francis Labrie <francis.labrie@smoguli.com>
organization=Les Production Smoguli, enr.
year=2005
But when I invoque my Jalopy Ant target, I get error like this when
email address already exists in JavaDoc:
Buildfile: build.xml
format:
[jalopy] Jalopy Java Source Code Formatter 1.0.0
[jalopy] Could not find the Java runtime library (rt.jar), import
optimization feature will be disabled.
[jalopy] Format 2 source files
[jalopy] /path/Source.java:4:53: Invalid Javadoc tag "@smoguli" found
BUILD FAILED
/path/build.xml:118: Error formatting file
Total time: 4 seconds
Jalopy seems to think the email "@smoguli" substring is a JavaDoc tag
and returns errors. I get the same error if I replace the author constant
value with an hyperlink:
author=<a href="mailto:francis.labrie@smoguli.com">Francis Labrie</
a>
Logged In: YES
user_id=723231
Thats correct, it is now fixed though...