> I'll send what I have tonight. Then you can point me on track if I'm
> off it. I can have it finished by thursday, I think. I will do some
ad-
> hoc testing, that is, write a couple of beans using all possible tags,
> write an ant script using all possible ant task parameters and tags. -
> See if i can compile and deploy the bean correctly.
Good.
> I agree println is hideous, I'm planning to use a nicer approach. Have
> considered using Jenesis (Dim's tip). Then your tip is to use
XDoclet's
> template engine. Writing a template would require writing a SubTask
> implementation that provides all the info required by the template
(the
> database info). My point is: Are you sure the job would be easier
using
> XDoclet's template engine than plain println or jenesis? What do you
> think?
What is jenesis?
Xdoclet.util.TemplateEngine is not yet 100% ready to be used standalone.
In fact I made some mistakes, for example I should change from throwing
ant.BuildException to something not ant dependent. All the stuff that
Dmitri talked about to break functionality into separate classes. We'll
implement it after v1.0. I've never thought I templateengine as a
competitor to other template engines, but it's possible.
You need a template engine and I think Velocity is good. I hate
scriptlets, mixing java in other things, joolivooli code, so I like the
approach we've taken in xdoclet. We'll make it even more lightweight.
> I don't think that the tool would need one "plugin" for each app
> server. It will only generate @ejb:tags, not @appserver:tags. I'd like
> comments on this.
For the start no, but later yes.
> Not sure what you mean by inheritance. It's DB -> EJB. RDBMS don't use
> inheritance (!?). I'm not with you here...
Different ways to map a class hierarchy to tables, class->table, a
hierarchy->1 table, base-info in concrete class's table, and so on.
Ara.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel