hi all

I need your opinion on the following reorganisation:

* Remove NewGenerateMapBuilderTask

* Create abstract BaseGenerateMapBuilderTask 
  which is a copy of NewGenerateBapBuilderTask 
  with:
   - the main() removed
   - a new abstract method: 
       public abstract DatabaseMap getDatabaseMap();
   - the execute method reduced to:
       createDatabaseMapClasses(getDatabaseBap());
   - the sqlfile stuff (get/set) removed.

* Create MySqlGenerateMapBuilderTask 
           extends BaseGenerateMapBuilderTask
    This class has the same functionalities than 
    the current NGBT

* Create XmlGenerateMapBuilderTask
           extends BaseGenerateMapBuilderTask
    This class uses an XML file as input.

The good thing with this reorganisation is that we seperate the file
parsing from the code generation. We may let the code in the example
directory until turbine.new is done.

Regis


------------------------------------------------------------
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