On Monday, August 6, 2001, at 03:52 PM, Stephan Nagy wrote:

<snip>

> I find myself saying this alot these days,  if only i had more *free* 
> time.  I would really like to wrap up ecs2 and get a release out there 
> but between release cycles here, house hunting, and family concerns I 
> haven't really had much time to wrap it up.  Robert are you still working 
> on the texen stuff for ecs2 to generate the html and rtf classes?

depends on what you mean :)

i've been happy for a while that i could - with a few changes and 
sufficient supervision - generation ecs2 elements. so i haven't really 
been working on it.

the problem with generation is that it really needs to be done as late as 
possible since one-way generation (DTD->source) is much easier than 
round-tripping. once you start making hand-coded changes, you need to be 
confident that you don't need to regenerate.

most times i've used generation before i've had a pretty good 
understanding of the code. i really can't say that about ecs2. what i need 
to move forward on generation is to focus on just one ecs package - let's 
say rtf - and get templates that seem to work ok for that. then they can 
be rolled out and refined as we go. what would be really useful for me is 
just one or two typical example classes from rtf hand-coded. i can then 
use these as a base-line and attempt to generate to them (ie. have a 
template that produces identical output for those classes). once i've got 
to that stage i'd need you to go through and take a look at the complete 
rtf package and make sure that the generation's working ok. we can then 
try to generate everything and maybe create some junit tests for the major 
packages so we can make sure that the stuff works. then we'd need to start 
tweaking by hand - and we'd be committed to the generated code.

another issue is one of the main features of ecs are all those really 
handy methods which can't really be generated. from what i can see, the 
work on html seems to have stalled (i'm happy to be corrected, though). so 
even once we've got a set of templates that you, we'll still need to go 
through and transfer methods across.

if you could find the time just to code one or two typical rtf elements (i 
shouldn't need more than that), then i'll start to work on creating 
templates for the generation.

- robert




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to