User Tools

Site Tools


with_a_new_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

with_a_new_project [2013/07/25 21:00]
127.0.0.1 external edit
with_a_new_project [2013/07/30 09:50] (current)
admin Update according to new features in Lure V3
Line 1: Line 1:
 ======Starting A New Lure Project====== ======Starting A New Lure Project======
  
-This page explains how to get started using Lure on a new project.+First use Lure Stage to create ​a new Lure Project. Then use the Configuration Editor to configure the project. 
  
-Before using Lure to extract the database source for the first time, choose a Lure root folder and configure both a config and connect property file within this folder. The simplest way to achieve this is using the **Lure Configuration Editor** (see [[Lure Property Files]]). 
-  
 As a minimum you have to specify database connection information (e.g. TNS name or Oracle connect string) and at least one schema to synchronize. In addition you should also specify which version control system is going to be used.  As a minimum you have to specify database connection information (e.g. TNS name or Oracle connect string) and at least one schema to synchronize. In addition you should also specify which version control system is going to be used. 
  
-You are now ready to do your first export. ​Execute ''​lure export''​ from the command line. Alternatively,​ from within ​Windows Explorer, right click on the Lure root folder (the folder ​containing the ''​main.lure-config'' ​file) and select Lure → Export. This will extract ​the source code from your database and save it to source files within the folder structure as configured in the Lure property files.+You are now ready to do your first export. ​From within Lure Stage select ​the folder ''​src''​ and execute "Export" from the context menu. This will export ​the source code from your database and save it to source files within the project. 
 + 
 +Add the source code together with the two (or more) Lure property files to your source code repository. Also add the ''​.project''​ file to the version control system. This will make it easier to restore the project from version control again. 
 + 
  
-Add the source code together with the two (or more) Lure property files to your source code repository. 
-  
 **Note 1:** **Note 1:**
    
-During export Lure creates a hidden folder with name "''​.lure''​" ​within the Lure root folder. This folder is used to store all base files and default connect file settings. It is critical not to add this folder and its contents to the version control repository. ​To ensure ​this add the ignore pattern ​"''​.lure''​" ​to the version control system.+During export Lure creates a hidden folder with name ''​.lure''​ within the Lure root folder. This folder is used to store all base files and default connect file settings. It is critical not to add this folder and its contents to the version control repository. ​If you are accessing the version control system from within Lure Stage (e.g. using Subclipse) then this folder will not be visible and will be automatically hidden from version control. However if you manage version control externally then add the ignore pattern ''​.lure''​ to the version control system.
    
  
 **Note 2:** **Note 2:**
    
-If the version control system supports it, set the file "''​main.lure-config''​" ​to require a lock for editing. Typically this will set the file to a read only state. This will ensure that the file is not accidentally modified. This is particularly helpfull when using the Lure Configuration Editor to edit the property files. This editor will respect the file read only status and will disable all fields that would lead to changes in this file.+If the version control system supports it, set the file ''​main.lure-config''​ to require a lock for editing. Typically this will set the file to a read only state. This will ensure that the file is not accidentally modified. This is particularly helpfull when using the Lure Configuration Editor to edit the property files. This editor will respect the file read only status and will disable all fields that would lead to changes in this file.
    
  
 You are now ready to start development. You are now ready to start development.
    
- 
  
with_a_new_project.txt · Last modified: 2013/07/30 09:50 by admin

Page Tools