User Tools

Site Tools


lure_property_files

Differences

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

Link to this comparison view

lure_property_files [2013/07/25 21:00]
127.0.0.1 external edit
lure_property_files [2013/07/29 18:27] (current)
admin
Line 1: Line 1:
 ======Lure Property Files====== ======Lure Property Files======
  
-Whenever Lure executes it firstly attempts to determine the appropriate Lure configuration and Lure connection property files to use. These two files determine the runtime behaviour of the Lure program. ​+Whenever Lure executes it firstly attempts to determine the appropriate Lure configuration and Lure connection property files to use.  
 + 
 +These two files determine the runtime behaviour of the Lure program. ​
  
  
 Lure run time properties are divided between these two property files as follows: Lure run time properties are divided between these two property files as follows:
  
-<box 600px round orange|**Lure Configuration File**>​ + 
-The Lure //Configuration// file contains properties that have to be common across all database environments on which the application is installed. Examples are which schemas to include and what folders and extensions to use for source files.+<box 600px round grey|**Lure Configuration File**>​ 
 +The Lure //configuration// file contains properties that have to be common across all database environments on which the application is installed. Examples are which schemas to include and what folders and extensions to use for source files.
 </​box>​ </​box>​
-<box 600px round orange|**Lure Connection File**>​ + 
-The Lure //Connection// file contains properties that are specific to a particular database environment,​ i.e. the connection information for a database and what password(s) to use.+ 
 +<box 600px round grey|**Lure Connection File**>​ 
 +The Lure //connection// file contains properties that are specific to a particular database environment,​ i.e. the connection information for a database and what password(s) to use.
 </​box>​ </​box>​
  
Line 22: Line 27:
     main.lure-config     main.lure-config
  
-The Lure configuration file is always located in the Lure root folder. In fact, per definition a Lure root folder is a folder that contains a file with name ''​main.lure-config''​.+The Lure configuration file is always located in the Lure root folder ​or in the Lure project folder (within Lure Stage). In fact, per definition a Lure root folder is a folder that contains a file with name ''​main.lure-config''​.
    
  
Line 29: Line 34:
 =====Lure Connect File===== =====Lure Connect File=====
  
-Since a connect property file contains the information of how to connect to a specific database environment it follows that in general multiple connect files will be required per Lure project, one for each database environment. A Lure connect file has to have the extension lure-connect and has to be located in the Lure root folder.+Since a connect property file contains the information of how to connect to a specific database environment it follows that in general multiple connect files will be required per Lure project, one for each database environment. A Lure connect file has to have the extension lure-connect and has to be located in the Lure root folder ​(Lure project folder).
    
 For example, to synchronize a Lure based database application between three environments,​ a development,​ QA and production environment,​ the following set of configuration files can be used: For example, to synchronize a Lure based database application between three environments,​ a development,​ QA and production environment,​ the following set of configuration files can be used:
Line 40: Line 45:
  
 =====Editing Lure Configuration Files===== =====Editing Lure Configuration Files=====
 +
 +The best way to get started is to create a new Lure project within Lure Stage. The new project wizard will automatically create the connect and configuration files. To edit the files open either the connect or configuration file in the Lure Configuration Editor by selecting "​Open"​ from the context menu.
 +
 +See [[Getting Started]].
    
  
-Lure property files can be manually configured with any text editor. For this purpose two example property files can be found within the Lure installation folder in the "​etc"​ subfolder. ​(On Windows this is at ''​C:​\Users\<​username>​\AppData\Local\Lure\etc''​.) ​Copy these two files to your root folder and edit as required. The example property files contain detail descriptions of each property and how to configure it.+Alternatively the Lure property files can be manually configured with any text editor. For this purpose two example property files can be found within the Lure installation folder in the "​etc"​ subfolder. Copy these two files to your root/​project ​folder and edit as required. The example property files contain detail descriptions of each property and how to configure it.
    
-The best way to get started though is to use the **Lure Configuration Editor**. Simply start the Configuration Editor and create a new set of property files by selecting File -> New from the main menu. See [[Getting Started]]. 
    
  
Line 62: Line 70:
 **Option 2** **Option 2**
  
-Set the default ​connect file using the Lure command ''​set-default-connect-file''​ (see [[Lure Command Line]]). Once the default ​connect file is set, subsequent operations will use this connect file unless it is explictly overriden using the Option 1 approach, or until the default ​is changed.+Set the active ​connect file using the Lure command ''​set-active-connect-file''​ (see [[Lure Command Line]]). Once the active ​connect file is set, subsequent operations will use this connect file unless it is explictly overriden using the Option 1 approach, or until the active connect file is changed.
    
  
-//Note:// 
  
-Option 1 is only available from the Lure command line whereas Option 2 is also available from the Windows Explorer context menu. 
-  
  
  
lure_property_files.txt · Last modified: 2013/07/29 18:27 by admin

Page Tools