Re: how many plugins and how to make them write to the same file
"Grégory Joseph" <[email protected]> Mon, 22 Jan 2007 00:43:16 +0100
| Newsgroups | gmane.comp.java.xdoclet-plugins |
|---|---|
| Message-ID | <[email protected]> |
Please avoid creating multiple threads for asking the same question. Thanks. g On 22/01/07, Narahari 'n' Savitha <[email protected]> wrote: > Friends, > > Please see the code below. As yo ucan see I have two tags > > @generate.props and @generate.include. > > Do I have to write two plugins GeneratePropsPlugin.java and > GenerateIncludePlugin.java ? > > Can I have only one file like GenerateCommonPlugin.java that can handle both > the @generate.props and the @generate.include tags? > > Thank You > -Narahari > > /* > * @author > * History: > * Creation: > * Modification: > */ > package test; > > import java.lang.Integer; > import java.lang.String; > > > /** > * @author Narahari Lakshminarayana > * @version $Revision$ > * @generate.props > */ > public interface TestInterface { > /** > * > * > * @param i > * @generate.include > */ > public void justSetTheValue(Integer i); > > /** > * > * > * @return > */ > public String justGetTheValue(); > } > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > xdoclet-plugins-interest mailing list > xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV