----- Original Message -----
From: Konstantin Priblouda <[EMAIL PROTECTED]>
Date: Monday, January 7, 2002 9:57 am
Subject: RE: [Xdoclet-devel] Announcing xtags

> 
> --- [EMAIL PROTECTED] wrote:
> > Indeed it is, and you and I seem to have developed
> > something pretty similar.
> > Could you take a look at the XDoclet documentation /
> > GUI mail I sent to the
> > list recently? Especially the attached xdoclet.xml,
> > which is very close to
> > your ejbtags.xml. I'll take a closer look at your
> > stuff, commit mine, and I
> > think we should cooperate on this.
> 
> I looked at it ( in turn, I received GUI email right
> after I sent my xtags announcement :)
> 
> There are some minor differences in tag naming
> ( I use 2 stages naming - namespace / tag , 
> you only 1.5 levels :) , and I did not seen provision
> for allowed values and iterated tags )
> 

Check line 96. There you got values. -But I don't have a description 
element along with it. Description is good.

Does iterated mean that several occurrences are OK? If so, it's a good 
idea. I didn't have that.

One thing that I have is constraints. It's a way to describe under what 
circumstances a tag makes sense. These constraints are currently based 
on whether the class is instance of a certain class/interface, and 
whether or not an other tag is present. This is necessary if we want to 
provide proper validation.

I also saw from you source code that you're using println() to generate 
sources. Why not use XDoclet's template engine? You don't need java 
classes to use the template engine you know. Take a look at my recently 
committed xdoclet.ant package and the samples' appxml target. I think 
you could use the same approach, but extract the info from TagMetaData 
instead of a Hashtable like I did.

Cheers,
Aslak

> Today I will throw invocation proxy stuff together. 
> 
> Interface generator already works.
> 
> Most cool solution would be to generate interfaces at
> the runtime, but I did not found a way to generate
> class file ( bytecode ) without spawning external
> compiler.
> 
> Damm. SUN shall allow access to it :)
> 
> regards,
> 
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> _______________________________________________
> Xdoclet-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to