Re: how to invoke another ant task with xdoclets help

"Narahari 'n' Savitha" <[email protected]> Mon, 20 Nov 2006 12:37:59 -0500
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
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.

Thanks
-Narahari

On 11/18/06, Konstantin Priblouda <[email protected]> wrote:
>
>
>
> --- Narahari 'n' Savitha <[email protected]> wrote:
>
> >  want to use my own tags and with the tags and
> > xdoclet framework I want to
> > be able to invoke an ant task.
> >
> > My requirement is
> >
> > Java file
> >
> > public interface Test {
> >
> >           /**
> >            *    @ hr.include.in.ws = true
> >            */
> >           public String getData(String name, int
> > age);
> >
> >           /**
> >            *    @hr.include.in.ws = true
> >            */
> >           public void setData(String name, int age);
> >
> >           /**
> >            *    @hr.include.in.ws = true
> >            */
> >           public void establishDataSetup(String
> > value);
> >
> >           /**
> >            *    @hr.include.in.ws = false
> >            */
> >           public String whatsup(String name, int
> > age);
> >
> > }
> >
> > I want to put tags like this and then use XDoclet to
> > feed only those method
> > that have true in them
> > to my ant task
> >
> > java2wsdl ........................
> >
> >
> > The reason is that our WSDL is generated based on
> > methods and NOT on classes
> > (dont ask me why this way but thats what it is)
> >
> > Right now we identify the methods in a text file and
> > read off of that which
> > makes us duplicate the method names in two places.
> >
> > I want to use one place to be able to accomplish
> > this.
> >
> > I think XDoclet can help.
> >
> > Please guide me to the starting point.
> >
> > Regrds and thanks for your time
> >
>
> If you like to develop new XDoclet modules, I would
> recommend to use xdoclet-2 for this puprose.
> ( http://xdoclet.codehaus.org )
>
> Just look at the sources of plugins generating xml
> ( hibernate, web ect. ) for clues
> ( and of course subscribe to plugin development list
> to ask questions )
>
> 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
>
> $200,000 mortgage for $660/ mo -
> 30/15 yr fixed, reduce debt -
> http://yahoo.ratemarketplace.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-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