Wiki source code of Debugging WOLips

Version 46.1 by mark_ritchie on 2009/09/08 18:32

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 45.1 7 = Debugging WOLips as 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 45.1 29 You're checking out a local copy of the code from the source repository. Next, we're going to selectively import (but **not** copy) parts of that code into Eclipse. I'm using command line subversion to check out the lastest version however feel free to use a different tool or different version, as you like.
mark_ritchie 34.1 30
mark_ritchie 45.1 31 svn co https:~/~/svn.objectstyle.org/repos/woproject/trunk/woproject ,,/woproject,,
mark_ritchie 34.1 32
mark_ritchie 45.1 33 Note that I've checked out the source code into my home folder. It doesn't matter where you put the source code as long as you can find it in the steps below.
mark_ritchie 34.1 34
35 === Create a new eclipse workspace ===
36
mark_ritchie 45.1 37 Launch a clean copy of Eclipse with no plugings installed. Strictly speaking, probably not necessary however these are the steps which I took.
38
39 Create a new Workspace
40 I chose ,,/WOLipsDebugging,,
41
mark_ritchie 41.1 42 === Import woenvironment ===
mark_ritchie 34.1 43
44 === Import wolips projects into your workspace ===
45
46 === Import wolips plugins ===
47
48 === Import 3rd party plugins ===
49
50 === Close special projects ===
51
52 * EntityModeler
53 * eomodeldoc
54 * org.objectstyle.wolips.eomodeler.factories
55
56 === Close projects which require additional resources to compile ===
57
58 * org.objectstyle.wolips.groovy.ui
59 * org.objectstyle.wolips.jprofiler.launching
60
mark_ritchie 37.1 61 == The run configuration setup ==