Re: Fwd: custom template engine how to make it call another ant task

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
--- Narahari 'n' Savitha <[email protected]> wrote:

> So let me understand this right.
> 
> I can either write out an xml file or I can write
> out a Java/text file out
> with the writer in the custom plugin.

correct. one plugin  - one artifact generated

> I cannot however invoke another ant task.  So my
> only option is to
> 
> a.  Create the files that I need in a particular
> folder and then after the
> xdoclet task, call another ant task to work on this
> newly created files ?

exactly
> 
> b. Call the os executable withe Runtime process to
> do what I want on the
> file.

if you like

> Sounds like a feature request to me.
> 
> How come if you look at Interface extractor plugin,
> I see a TagLibrary
> written for it.  If I dont have custom tags but
> generic java file creation,
> then I dont need the TagLibrary.java is my
> understading.  Please validate.

in this case you do not need such taglib

> Also all the plugins mandate maven to be used.  I am
> not a MAVEN user so can
> I not live with ant for compiling my plugins.

They do not mandate this. There is an ant task to 
invoke xdoclet-2 and you can use this. 

Plugins itself are build with maven-2 ( formerly
maven-1, but this is not working anymore )  because 
we choose to do so. 

You can build your plugin with ant. 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.