Re: velocity vs jelly vs any other custom templating engine..... ?

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

> 
> I have an interface for which I have a
> ImplementationGenerator that I am
> completing (thanks to Konstantin and Gregory).
> 
> Now I want to generate a wsdl for each method.

> axis-java2wsdl task generates a wsdl per method if
> given the method name.  I
> can write my xdoclet plugin so the velcoityTemplate
> can look at the method
> name.  At this point is where I have all data to
> invoke the EXTERNAL ant
> task.  I dont have a way out of this.

YOu certainly have an way out of this. NOw you have
generated implementation class out of interface.
So, you've got souce - nothing prevents you to call 
ant taks from ant file afterwards


> If this velocitytemplateengine or jelly or groovy
> allow me then I can invoke
> another task or executable. 

Any of them is capable of caling arbitrary method on
java object - so  any of them would be capable to call
ant task ( provided you feed it with template ) 

But better place to do this would be not a template,
but your plugin class (so you can stay within java
code) 

Maybe it would be even better to write a plugin which
would generate wsdl for a class from some metadata
found in xdoclet markup. ( It seems that I also could
have use for it, after some lobby work by my customers
) 

> If not I have to write
> my own custom template
> engine.

Well, this is kind of work-intensive, but fortunately
not really necessary ;) 
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
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.