--- Leny Nero <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>     I'm new to xdoclet and I'm tryting to create a
> simple generator. I've 
> been reading the excellent XDoclet in Action, plus
> some tutorials on the 
> net. The problem is that there is a single thing
> that I didn't find anywere: 
> how can I read *and* process values from the user ?

What do you mean "from the user"? Your temlpate will
get metadata from your java sources,  and invocation
parameters of module. Not more. 


>     In my case, each class file has tags with two
> properties, X and Y. I 
> need, before generating any code, get their max
> value and reorder them. This 
> means storing them in some sort of array, and then
> read that array to 
> generate the code. Can XDoclet do this ?

Yes it can. 

>     Any hint here on where to look for more
> information would be really 
> welcome. Most tutorials only face trivial examples.


If you start writing your own plugins, and are not 
locked into using XDoclet-1  for some modules I would
recommend to start with xdoclet-2. 

It's easier to write plugins for it, and it got a lot
of nice fatures. 

http://xdoclet.codehaus.org/

regards,

----[ Konstantin Pribluda ( ko5tik ) ]----------------
... Auf der Suche nach einen Projekt in Rhein-Main
ab 18.4.2005
----[ http://www.pribluda.de ]------------------------


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to