Wiki source code of Debugging WOLips

Version 44.1 by mark_ritchie on 2009/09/08 18:21

Hide last authors
mark_ritchie 43.1 1 {{note title="Under Construction"}}
2
3 This page is currently under construction by Mark Ritchie!
4
5 {{/note}}
6
mark_ritchie 41.1 7 = Debugging WOLips like the master does! =
mark_ritchie 37.1 8
mark_ritchie 34.1 9 These instructions is intended for the developer who wants to compile and run WOLips source for the purpose of debugging or other exploration. Thanks very much to Mike Schrag for the guidance to get this setup and working!
10
11 == Overview of what's going on ==
12
13 We're going to check out the latest source for WOLips, build it and arrange for Eclipse to launch is a debug mode to test it out. It's very handy that Eclipse has a built in ability to launch itself in debug mode and load the local versions of the plugins. If you read the old and out dated instructions floating about that talk about building an entire release and installing them into a new copy of Eclipse then you're going to like this method a whole lot better! ;-)
14
15 == The setup ==
16
17 When I did this and wrote these notes, I was using:
18
19 * Mac OS X 10.5.7
20 * Java 1.5.0//19//
21 * Eclipse 3.4.2 (eclipse-SDK-3.4.2-macosx-carbon.tar.gz)
22
23 == Checking out the source code ==
24
25 **A note for the impatient - don't try to checkout the source right into Eclipse. The files aren't structured in a way that allows this to work. I know because I tried to do it that way first!** ;-)
26
27 === Check out the source code into a local folder ===
28
mark_ritchie 41.1 29 You're checking out a local copy of the code from the source repository.
30 Next, we're going to selectively import (but **not** copy) parts of that code into Eclipse.
mark_ritchie 34.1 31
mark_ritchie 41.1 32 Here I'm using command line subversion to check out the lastest version.
33 Fell free to use a different method so long as you end up with the correct source code for your intended purpose!
mark_ritchie 34.1 34
mark_ritchie 41.1 35 svn co https:~/~/svn.objectstyle.org/repos/woproject/trunk/woproject woproject
mark_ritchie 34.1 36
37 === Create a new eclipse workspace ===
38
mark_ritchie 41.1 39 === Import woenvironment ===
mark_ritchie 34.1 40
41 === Import wolips projects into your workspace ===
42
43 === Import wolips plugins ===
44
45 === Import 3rd party plugins ===
46
47 === Close special projects ===
48
49 * EntityModeler
50 * eomodeldoc
51 * org.objectstyle.wolips.eomodeler.factories
52
53 === Close projects which require additional resources to compile ===
54
55 * org.objectstyle.wolips.groovy.ui
56 * org.objectstyle.wolips.jprofiler.launching
57
mark_ritchie 37.1 58 == The run configuration setup ==