Changes for page Getting started
Last modified by Maik Musall on 2021/06/16 09:17
From version 15.1
edited by Lachlan Deck
on 2009/09/01 15:08
on 2009/09/01 15:08
Change comment:
There is no comment for this version
To version 16.1
edited by Lachlan Deck
on 2009/09/01 15:28
on 2009/09/01 15:28
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 == Introduction == 6 6 7 -This guide is aimed at those who'd like to set up a local wolips development environment utilising maven and scm (git, svn). 7 +This guide is aimed at those who'd like to set up a local wolips development environment utilising maven and scm (git, svn). At least, these are the steps that I (ldeck) travel through. 8 8 9 9 == Install Maven == 10 10 ... ... @@ -107,6 +107,10 @@ 107 107 Fragments selected: all fragments of 'Maven Integration' 108 108 [[image:fragments_wolips.png]] 109 109 110 +===== Step 7 - Other plugins ===== 111 + 112 +Oh, sure I also install jadclipse (http:~/~/jadclipse.sf.net/update) for keeping in touch with things but that's beyond the scope of this guide. 113 + 110 110 == Configuring Eclipse == 111 111 112 112 ==== wolips binding validation ==== ... ... @@ -153,3 +153,45 @@ 153 153 ==== UTF-8 Thanks ==== 154 154 155 155 [[image:prefs_utf8.png]] 160 + 161 +== Creating a project == 162 + 163 +TODO 164 + 165 +== Launching your project == 166 + 167 +==== Configure eomodel connection dictionaries, log4j, additional properties ==== 168 + 169 +In my application projects I create an additional folder called 'Properties' which contains additional property files for differing launches. 170 +e.g., 171 +When connecting to a local database I use the local files listed below during launch: 172 + 173 +{{noformat}} 174 + 175 +jdbc.local.properties 176 +log4j.local.properties 177 +runtime.local.properties 178 +... 179 +jdbc.test.properties 180 +log4j.test.properties 181 +runtime.test.properties 182 + 183 +{{/noformat}} 184 + 185 +To achieve this switching easily I define in the launch configuration for the application the following two additional properties (from those defined globally in WOLips prefs) 186 + 187 +* key: --runtime.config.dir value:"../../Properties"-- 188 +* key: --runtime.config.name value:".local"-- 189 + 190 +And in my application's Properties file I have the following properties declared 191 + 192 +{{noformat}} 193 + 194 +runtime.config.dir=Properties 195 +runtime.config.name= 196 + 197 +er.extensions.ERXProperties.OptionalConfigurationFiles=(@@runtime.config.dir@@/log4j@@runtime.config.name@@.properties,@@runtime.config.dir@@/jdbc@@runtime.config.name@@.properties,@@runtime.config.dir@@/runtime@@runtime.config.name@@.properties) 198 + 199 +{{/noformat}} 200 + 201 +Naturally, within the jdbc property files are the relevant project wonder properties for configuring the eomodels connection dictionaries, withing the lo4j files are the relevant config for log4j, and runtime properties is available for any special configuration for that particular environment.