Version 5.1 by Pascal Robert on 2012/01/30 22:01

Hide last authors
David Holt 1.1 1 **There is now a wizard under New>Project for WOnderD2WApplication**
2
Pascal Robert 5.1 3 ~1. Make sure you have the latest Wonder frameworks. Go here if you don't:[[http:~~/~~/jenkins.wocommunity.org/job/Wonder>>url:http://jenkins.wocommunity.org/job/Wonder||shape="rect"]]
David Holt 1.1 4
5 2. Install the Wonder Frameworks in /Library/Frameworks on MacOS X.
6
7 3. Open Eclipse.
8
9 4. Right click in the Package Explorer and select New>Project.
10
Pascal Robert 5.1 11 [[image:attach:ERD2W 020.jpg]]
David Holt 1.1 12
13 ----
14
15 5. Find WOnderD2WApplication under WOLips WO 5.1 and 5.2. (You'll need a recent version of WOLips for this wizard).
16
Pascal Robert 5.1 17 [[image:attach:ERD2W 039.jpg]]
David Holt 1.1 18
19 ----
20
21 6. Name the project and select the workspace where you want it to be created.
22
Pascal Robert 5.1 23 [[image:attach:ERD2W 022.jpg]]
David Holt 1.1 24
25 ----
26
27 7. Don't select any project dependencies.
28
Pascal Robert 4.1 29 8. Now you'll have to add an EOModel to the project for testing. The easiest way to do that may be to add the JavaBusinessLogic framework. That is used for Apple's WO tutorials, so that is what I am going to do.
David Holt 1.1 30
31 If you add your own model, you will likely need to add it to your Resources subfolder for it to be built properly. If you put it at root level, your default settings likely won't pick it up.
32
33 9. Right click on the folder marked WO Frameworks. Select configure...
34
Pascal Robert 5.1 35 [[image:attach:ERD2W 023.jpg]]
David Holt 1.1 36
37 ----
38
39 10. Find the JavaBusinessLogic under "Local" and select it. Press finish. You may need to configure the connection dictionary in the framework.
40
Pascal Robert 5.1 41 [[image:attach:ERD2W 024.jpg]]
David Holt 1.1 42
43 ----
44
45 ~11. If you create your own model, make sure that you also add the correct plugin for your database to the project.
46
47 12. Select the project and right click it. Select Debug as WOApplication
48
Pascal Robert 5.1 49 [[image:attach:ERD2W 042.jpg]]
David Holt 1.1 50
51 ----
52
53 13. Select Application from the resulting dialog.
54
Pascal Robert 5.1 55 [[image:attach:ERD2W 040.jpg]]
David Holt 1.1 56
57 ----
58
59 14. You should have a ERD2W application starting up.
60
Pascal Robert 4.1 61 15. Once you have logged in you'll also have access to a several links to debugging features (ERD2WDebugFlags, Editor for Localizable.strings) in your PageWrapper component so that you can see some details while your application is running. For this to work, your application must be in development mode (this is a simple boolean check to see if a property has been set or not).
David Holt 1.1 62
Pascal Robert 5.1 63 [[image:attach:ERD2W 041.jpg]]
David Holt 1.1 64
65 ----