Daniel Rall wrote:
> 
> Leon Messerschmidt <[EMAIL PROTECTED]> writes:
> 
> > > "Colin Chalmers" <[EMAIL PROTECTED]> writes:
> > >
> > > > Jason, you were right ;-))
> > > >
> > > > After adding the firstbuild file *all* files were generated correctly.
> > >
> > > If anyone has any ideas on improving this processes, please make
> > > suggestions.  :)
> >
> > How about adding a "file_exists" utility method to the file handling object
> > that gets added to the context to check whether a file exists.  If it does
> > not exist we create the new files otherwise we leave them alone.
> 
> That sounds reasonable.  John, you currently have the check
> implemented with Ant, right?  Thoughts on the switch?  Also, it would
> be nice if we performed the check on a per-table basis, checking
> whether the user-modifiable business object exists.  Some one may add
> tables to their schema, and want the non-abstract business object for
> the new table generated.
> --
> 
> Daniel Rall <[EMAIL PROTECTED]>

Yes, I completely agree that the correct way to do this is to check for
the existence of the extension class on an individual basis and only
(re)generate those which are missing.  I did it the way I did as
Torque/Texen did not contain the needed utility and I looked for the
quickest way to accomplish the task.  Please someone, improve it, or I
will eventually improve it after I accidently get my code deleted.

John McNally


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to