Changes for page Debugging WOLips
Last modified by Pascal Robert on 2012/02/11 05:22
To version 48.1
edited by mark_ritchie
on 2010/02/17 17:58
on 2010/02/17 17:58
Change comment:
Updated for 10.6.2, current woproject and Eclipse environments
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 finewithnelittledetail which I'venoted atthe end of thispage.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. 121 +- 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 ... ... @@ -116,8 +116,15 @@ 116 116 * org.objectstyle.wolips.groovy.ui 117 117 * org.objectstyle.wolips.jprofiler.launching 118 118 119 -== Therunconfigurationsetup==122 +=== Error message: Cannot find artifact for parent POM... === 120 120 124 +When building woenvironment, you might hit this error: 125 +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/... 126 + 127 +The simple solution is delete the pom.xml file. Full details are here: [[http://wiki.objectstyle.org/confluence/display/WOL/mail/6259075]] 128 + 129 +== The configuration setup == 130 + 121 121 At this point, you should have a long list of packages which should all be compiling. 122 122 If that's not the case, please document additional steps here, making special note of your setup. 123 123 ... ... @@ -145,7 +145,7 @@ 145 145 146 146 == Snow Leopard Update == 147 147 148 -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 149 149 Up to this point, I was following the instructions above however when I tried to launch Eclipse, I got this error: 150 150 151 151 {{code value="java"}} ... ... @@ -157,11 +157,14 @@ 157 157 158 158 {{/code}} 159 159 160 -This is a known problem and is documented <ahref="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]] 161 161 The fix is to add the --d32 parameter to the launch arguments.-- 162 162 163 163 Original: --os $target.os} --ws $target.ws} --arch $target.arch} --nl $target.nl} 164 164 Updated: --os $target.os} --ws $target.ws} --arch $target.arch} --nl $target.nl} --d32-- 165 165 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 + 166 166 My final setup looked like this: 167 -[[image:32Bit_jvm_ arguments.png]]180 +[[image:32Bit_jvm_2GB_mem.png]]