Changes for page Getting started
Last modified by Maik Musall on 2021/06/16 09:17
From version 13.1
edited by Larry Mills-Gahl
on 2010/02/19 18:26
on 2010/02/19 18:26
Change comment:
There is no comment for this version
To version 14.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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. elemgee1 +XWiki.ldeck - Content
-
... ... @@ -1,11 +5,11 @@ 1 -== Introduction == 2 - 3 -This guide is aimed at those who'd like to set up a local wolips development environment. This guide is mainly targeted towards maven users of WOLips, however much of guide is useful, whether you use maven or ant, so far as installation instructions for eclipse plugins. At least, these are the steps that I (ldeck) travel through and it is essentially a brain-dump to save me from future maintenance work :-). 4 - 5 5 == Outline == 6 6 7 7 {{toc style="disc" indent="20px"}}{{/toc}} 8 8 5 +== Introduction == 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). 8 + 9 9 == Install Maven == 10 10 11 11 You can download and install maven for most platforms [[here>>http://maven.apache.org/download]]. ... ... @@ -93,9 +93,9 @@ 93 93 94 94 Repeat step 2 with the following detail changes: 95 95 Site name: m2eclipse 96 -Site location: http:~/~/m2eclipse.sonatype.org/ sites/m2e97 -Fragments selected: "Maven Integrationfor Eclipse (Required)"98 -[[image:fragments_m2e _lmg.png]]96 +Site location: http:~/~/m2eclipse.sonatype.org/update-dev/ 97 +Fragments selected: all fragments of 'Maven Integration' 98 +[[image:fragments_m2eclipse.png]] 99 99 100 100 ===== Step 6 - Install WOLips ===== 101 101 ... ... @@ -104,13 +104,9 @@ 104 104 Repeat step 2 with the following detail changes: 105 105 Site name: WOLips//3//5 106 106 Site location: http:~/~/webobjects.mdimension.com/wolips/eclipse_3_5/ 107 -Fragments selected: all "StandardInstall" components107 +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 - 114 114 == Configuring Eclipse == 115 115 116 116 ==== wolips binding validation ==== ... ... @@ -137,7 +137,7 @@ 137 137 138 138 ==== Java Templates prefs ==== 139 139 140 -[[image:prefs_java_te mplates.png]]136 +[[image:prefs_java_teplates.png]] 141 141 142 142 ==== Run / Debug prefs ==== 143 143 ... ... @@ -157,49 +157,3 @@ 157 157 ==== UTF-8 Thanks ==== 158 158 159 159 [[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=(\ 198 -@@runtime.config.dir@@/log4j@@runtime.config.name@@.properties,\ 199 -@@runtime.config.dir@@/jdbc@@runtime.config.name@@.properties,\ 200 -@@runtime.config.dir@@/runtime@@runtime.config.name@@.properties\ 201 -) 202 - 203 -{{/noformat}} 204 - 205 -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.