Re: how to invoke another ant task with xdoclets help

"Narahari 'n' Savitha" <[email protected]> Mon, 20 Nov 2006 14:15:07 -0500
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
I am a little confused but let me try again.

I understand what you say. Ant can call xdoclet.  I can do that no problem.

I am starting to write my plugin to support my own tasks.  What I am not
understanding is that inside of my plugin how can I invoke an executable
which can be given all the necessary arguments.

For exmaple if I need a method name and class name which has my own tags,
xdoclet can parse my source file extract that info and then feed that to my
plugin which can then invoke something else.

Is it even possible ?

-Narahari

On 11/20/06, Konstantin Priblouda <[email protected]> wrote:
>
>
>
> --- Narahari 'n' Savitha <[email protected]> wrote:
>
> > Thanks for the info.  I need a little few more
> > pointers.  I understand that
> > Jelly and JavaSourceGenerators can be used and long
> > with that a FreeReport
> > stuff.
> >
> > But where is the hook for the Xdoclet mechanishm to
> > call my own ant task or
> > executable to so that it feeds me the necessary data
> > for my ant task or
> > execuable.
> >
> > for example, I want xdoclet mechanism to call my ant
> > task with args like
> >
> > <myanttask> <classname> <methodname>.........
> >
> > I am missing that part.  The   tutorial talks about
> > how to write the plugin
> > to invoke Jelly but not just my own executable or
> > ant task.
>
>
> xdoclet does not have means to call your ant tasks
> or whatever. instead it is packaged as ant task ( or
> maven plugin, orm maven 2 mojo )  and can be called by
> it.
>
> it seems that you like to write own plugin.
>
> you got choice: do it for XDoclet 1, or for XDoclet 2
> ( lter is IMHO easier )
>
> 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
>
>
>
>
> ____________________________________________________________________________________
> Sponsored Link
>
> Mortgage rates near 39yr lows.
> $420k for $1,399/mo. Calculate new payment!
> www.LowerMyBills.com/lre
>
> -------------------------------------------------------------------------
> 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-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>

-------------------------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user