Changes for page Debugging WOLips

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

From version 49.1
edited by mark_ritchie
on 2010/02/17 16:22
Change comment: changed the subsection title
To version 36.1
edited by mark_ritchie
on 2010/03/02 18:58
Change comment: more than one SQL reverse engineer factory problem documented

Summary

Details

Page properties
Content
... ... @@ -16,11 +16,15 @@
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 +- WebObjects 5.4.3
22 22  - Java 1.6.0_15
23 -- Eclipse 3.4.2 (eclipse-SDK-3.4.2-macosx-carbon.tar.gz)
24 +- Eclipse 3.4.2 Build id: M20090211-1700 (eclipse-SDK-3.4.2-macosx-carbon.tar.gz)
25 +- woproject svn repository version 6031
26 +- Wonder svn repository version 10655
27 +YMMV!
24 24  
25 25  {{/panel}}
26 26  
... ... @@ -116,6 +116,11 @@
116 116  * org.objectstyle.wolips.groovy.ui
117 117  * org.objectstyle.wolips.jprofiler.launching
118 118  
123 +=== Error message: Libraries not found for JavaEOAccess and other WebObjects libraries ===
124 +
125 +A couple projects have been committed to the repository with references to WebObjects libraries in /Library/WebObjects/lib. You'll need to update these to the correct location on your machine. If you've done nothing special to your WebObjects environment then this should be something like: /System/Library/Frameworks
126 +If you've done something else then you'll need to change the library locations (or perhaps update your WOLips properties file.)
127 +
119 119  === Error message: Cannot find artifact for parent POM... ===
120 120  
121 121  When building woenvironment, you might hit this error:
... ... @@ -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.
164 +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"}}
... ... @@ -170,5 +170,14 @@
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  
182 +A second problem which I encountered was running out of memory while running test version of Eclipse!
183 +I had to add the VM argument "-Xmx2G" and then 'Run' as opposed to 'Debug' the app. For the most part, that worked.
184 +
173 173  My final setup looked like this:
174 -[[image:32Bit_jvm_arguments.png]]
186 +[[image:32Bit_jvm_2GB_mem.png]]
187 +
188 +== There was more than one SQL reverse engineer factory defined. ==
189 +
190 +[[image:MoreThenOneReverseEngineeringFactory.png]]
191 +This exception occurs when you've forgotten to close the org.objectstyle.wolips.eomodeler.factories project.
192 +The fix is to close the project. Thanks to Mike Schrag for putting me on the right path when I was at my wits end with this damn problem.