Last modified by Pascal Robert on 2012/07/27 20:28

From version 26.1
edited by David Holt
on 2008/05/07 18:11
Change comment: There is no comment for this version
To version 12.1
edited by David Holt
on 2008/09/11 19:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -52,13 +52,14 @@
52 52  
53 53  6. Change the Properties located in the resources folder to match the requirements for your database. Wonder applications need Properties files to manage their configuration correctly. There are a number of different places in the Wonder frameworks that application properties will be read from. In the original example, the Database connection properties are taken from a logged in user's properties file, in this case it is named "Properties.ak". I moved the relevant lines to the Application Properties file that described the Global connection dictionary for BugTracker to access my FrontBase database. Alternatively (a recommended way) you can create your own "Properties.username" file by duplicating "Properties.ak"
54 54  
55 -{{warning title="Missing Properties"}}
55 +{{info title="Update: Sept 11, 2008 How to enable properties for databases other than Derby (FrontBase,PostgreSQL)"}}
56 56  
57 -The current Wonder source (Oct 31,2007) requires the addition of this property to he Properties file in BugTracker to run properly (Can someone commit this please?)
57 +* 3 Default Global database properties files are now included with BugTracker. Please see Properties.Derby,Properties.FrontBase,Properties.PostgreSQL
58 +* In the 3 launch configurations (discussed below in point 7) user.name=Derby is now set by default.
59 +* You can swap out Derby for your favourite database (i.e. user.name=FrontBase or user.name=PostgreSQL) in all 3 launch configurations if you want to use your database properties instead of the default Derby
58 58  
59 -er.extensions.ERXRaiseOnMissingEditingContextDelegate=false
60 60  
61 -{{/warning}}
62 +{{/info}}
62 62  
63 63  You can either set Global properties for your database, or you can set them for a specific model. See the Wonder docs for more information about Properties files and database configuration [[ERXConfigurationManager documentation>>http://webobjects.mdimension.com/wonder/api/er/extensions/ERXConfigurationManager.html]]
64 64