Difference between revisions of "Schema Evolution Toolsuite"

From Schema Evolution
Jump to: navigation, search
(Guide)
Line 3: Line 3:
 
== Guide ==
 
== Guide ==
 
The last version of the suite has been uploaded on the yellowstone svn and is ready for the download.
 
The last version of the suite has been uploaded on the yellowstone svn and is ready for the download.
Once you got the suite, I suggest to import it inside the Eclipse Ide;
+
Once downloaded, I suggest to import it inside the Eclipse Ide;
  
Up to now the functionality provided by the suite are:
+
Up to now the functions provided by the suite are:
 
*download of the schema revision from an svn site
 
*download of the schema revision from an svn site
*installation of the downloaded schema inside mysql
+
*installation of the schema inside mysql
*filling of an evolution database  
+
*filling the evolution database  
  
 
The suite is focused on the xml file inside the config folder;
 
The suite is focused on the xml file inside the config folder;
The file contains all the parameters nedded by the application; the parameter you need to set before running the application are:
+
The file contains all the parameters needed by the application; the parameter you need to set before running the application are:
 
*svnurl: the url of the svn site from which you'll download the schema
 
*svnurl: the url of the svn site from which you'll download the schema
 
*svnuser/svnpwd: user and password of the svn
 
*svnuser/svnpwd: user and password of the svn
Line 19: Line 19:
 
**the suite in any case test if there is already a db installed with the same name
 
**the suite in any case test if there is already a db installed with the same name
 
*dbevolution: the name of the db you where you want to keep the result of the operations and that will be filled with the information_schema data
 
*dbevolution: the name of the db you where you want to keep the result of the operations and that will be filled with the information_schema data
*parameters for the functionality of the application: set it to true if you want to run that function, atherwise set it to false; if you want to run all the function togheter, set global to true
+
*parameters for the functions of the application: set it to true if you want to run that function, otherwise set it to false; if you want to run all the functions together, set global to true
 
**download/install/filling/global
 
**download/install/filling/global
  
 
Once the config file is ready, before running the application, you need to set the argument; the only argument you need is the path of the configuration file.  
 
Once the config file is ready, before running the application, you need to set the argument; the only argument you need is the path of the configuration file.  
In the argument subsection put '''-c ./config/config.xml''' to avoid any start error: The application if doesn't find the config file can't start
+
In the argument subsection put '''-c ./config/config.xml''' to avoid any start error: the application can't start without the config file

Revision as of 16:13, 10 October 2008

This page reports a quick guide for installing and using the Schema Evolution Suite

Guide

The last version of the suite has been uploaded on the yellowstone svn and is ready for the download. Once downloaded, I suggest to import it inside the Eclipse Ide;

Up to now the functions provided by the suite are:

  • download of the schema revision from an svn site
  • installation of the schema inside mysql
  • filling the evolution database

The suite is focused on the xml file inside the config folder; The file contains all the parameters needed by the application; the parameter you need to set before running the application are:

  • svnurl: the url of the svn site from which you'll download the schema
  • svnuser/svnpwd: user and password of the svn
  • mysqlhost.
  • mysqlport.
  • dbbasename: the name that the suite we'll use for installing a database ( if you want to test the suite without having trouble, use a name you don't have inside mysql)
    • the suite in any case test if there is already a db installed with the same name
  • dbevolution: the name of the db you where you want to keep the result of the operations and that will be filled with the information_schema data
  • parameters for the functions of the application: set it to true if you want to run that function, otherwise set it to false; if you want to run all the functions together, set global to true
    • download/install/filling/global

Once the config file is ready, before running the application, you need to set the argument; the only argument you need is the path of the configuration file. In the argument subsection put -c ./config/config.xml to avoid any start error: the application can't start without the config file

Personal tools