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

"Narahari 'n' Savitha" <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
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.

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 ?

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

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.

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.

-Narahari

On 11/30/06, Konstantin Priblouda <kpriblouda-/[email protected]> wrote:
>
>
> --- Narahari 'n' Savitha <[email protected]> wrote:
>
> > Please help me understand this.  Can I see an
> > example of custom template
> > engine which can invoke another ant task ?
>
> I'm affraid you can not. Template engines do not
> call any ant tasks in xdoclet-2. Neither they are
> called by ant tasks direclty.
>
> > Also why should I write the TagLibrary.java for the
> > .vm based file.
> You should not.  Taglib plugin will generate it for
> you
> ( see invocation in respective pom.xml )
>
> > What is
> > it providing me ?
> Automated tag usage validation.
>
> 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
>
>
>
>
> ____________________________________________________________________________________
> Cheap talk?
> Check out Yahoo! Messenger's low PC-to-Phone call rates.
> http://voice.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
> _______________________________________________
> 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

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
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.