No. Each taglet can handle only a single tag, so you would need 5 -taglet (or -tag) commands for 5 custom tags.
You can use @argfile to keep the command line short, but
There is a bug where -tag options cannot be included:
http://developer.java.sun.com/developer/bugParade/bugs/4651566.html
-Doug Kramer
Javadoc team
I think I've got a nice solution for you. At least it worked for me.
I packed all the taglets into a single jar and added a main registration class like this:
public class TagRegr implements Taglet {
// ...
public static void register(Map tagletMap) {
Taglet[] taglet = new Taglet[N_TAGLETS];
taglet[0] = new FirstTaglet();
//..
taglet[N_TAGLETS-1] = new LastTaglet();
int i;
for(i=0; i<taglet.length; ++i){
Taglet t = (Taglet) tagletMap.get(taglet[i].getName());
if (t != null) {
tagletMap.remove(taglet[i].getName());
}
tagletMap.put(taglet[i].getName(), taglet[i]);
}
}
\\...
}
So I can write a comman line like:
javacod -taglet TagReg -tagletpath AllTaglets.jar ...
Perhaps the big array is not so nice, but it works.
Marco.>