Changes for page Debugging WOLips

Last modified by Pascal Robert on 2012/02/11 05:22

From version 51.1
edited by mark_ritchie
on 2010/02/17 16:19
Change comment: Added details on how to avoid the maven problems with woenvironment
To version 48.1
edited by mark_ritchie
on 2010/02/17 17:58
Change comment: Updated for 10.6.2, current woproject and Eclipse environments

Summary

Details

Page properties
Content
... ... @@ -16,11 +16,14 @@
16 16  
17 17  {{panel title="Snow Leopard Update" bgColor="#FFFFCE"}}
18 18  
19 -I gave this a go on Snow Leopard and it worked fine with one little detail which I've noted at the end of this page.
19 +I gave this a go on Snow Leopard and it worked ok however there were a few problems which I've detailed near the end of this document.
20 20  Here's the setup I was using:
21 -- Mac OS X 10.6.1
21 +- Mac OS X 10.6.2
22 22  - Java 1.6.0_15
23 -- Eclipse 3.4.2 (eclipse-SDK-3.4.2-macosx-carbon.tar.gz)
23 +- Eclipse 3.4.2 Build id: M20090211-1700 (eclipse-SDK-3.4.2-macosx-carbon.tar.gz)
24 +- woproject svn repository version 6031
25 +- Wonder svn repository version 10655
26 +YMMV!
24 24  
25 25  {{/panel}}
26 26  
... ... @@ -121,9 +121,9 @@
121 121  When building woenvironment, you might hit this error:
122 122  Cannot find artifact for parent POM: org.objectstyle.woproject:woproject-all-parent::2.1 for project org.objectstyle.woproject.ant:woenvironment:jar:2.1-SNAPSHOT at /Users/...
123 123  
124 -The simple solution is delete the pom.xml file. Full details are <a href="http:~/~/wiki.objectstyle.org/confluence/display/WOL/mail/6259075">here</a>
127 +The simple solution is delete the pom.xml file. Full details are here: [[http://wiki.objectstyle.org/confluence/display/WOL/mail/6259075]]
125 125  
126 -== The run configuration setup ==
129 +== The configuration setup ==
127 127  
128 128  At this point, you should have a long list of packages which should all be compiling.
129 129  If that's not the case, please document additional steps here, making special note of your setup.
... ... @@ -152,7 +152,7 @@
152 152  
153 153  == Snow Leopard Update ==
154 154  
155 -I was running the carbon version of Eclipse 3.4.2 on Snow Leopard.
158 +I was running the carbon version of Eclipse 3.4.2 Build id: M20090211-1700 on Snow Leopard 10.6.2
156 156  Up to this point, I was following the instructions above however when I tried to launch Eclipse, I got this error:
157 157  
158 158  {{code value="java"}}
... ... @@ -164,11 +164,14 @@
164 164  
165 165  {{/code}}
166 166  
167 -This is a known problem and is documented <a href="http:~/~/www.eclipse.org/swt/faq.php#cocoa32launch">here</a>
170 +This is a known problem and is documented here: [[http://www.eclipse.org/swt/faq.php#cocoa32launch]]
168 168  The fix is to add the --d32 parameter to the launch arguments.--
169 169  
170 170  Original: --os $target.os} --ws $target.ws} --arch $target.arch} --nl $target.nl}
171 171  Updated: --os $target.os} --ws $target.ws} --arch $target.arch} --nl $target.nl} --d32--
172 172  
176 +A second problem which I encountered was running out of memory while running test version of Eclipse!
177 +I had to add the VM argument "-Xmx2G" and then 'Run' as opposed to 'Debug' the app. For the most part, that worked.
178 +
173 173  My final setup looked like this:
174 -[[image:32Bit_jvm_arguments.png]]
180 +[[image:32Bit_jvm_2GB_mem.png]]