Last modified by Pascal Robert on 2012/07/27 20:28

From version 22.1
edited by David Holt
on 2007/06/20 19:25
Change comment: There is no comment for this version
To version 38.1
edited by Pascal Robert
on 2012/07/27 20:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dholt
1 +XWiki.probert
Content
... ... @@ -1,90 +1,16 @@
1 1  **Getting Started with BugTracker**
2 2  
3 -~1. Import the following source code folders from CVS according to the [[tutorial>>http://wiki.objectstyle.org/confluence/display/WOL/Project+Wonder+woa+with+Linked+Source]]. You may need to adjust the exact folders you import depending on the database you plan to use. In this case, I have added the FrontBase plugin as well as all the other frameworks that BugTracker expects to find in its build path:
3 +BugTracker is an example application that exposes a lot of Wonder functionalities. It is especially true if you want to have a look at DirectToWeb (D2W) since BugTracker have a lot of custom D2W rules.
4 4  
5 -[[image:Context-023.jpg]]
6 -[[image:Context-024.jpg]]
7 -[[image:Context-025.jpg]]
5 +You can listen to a good introduction to BugTracker by listening to the [[presentation>>http://www.wocommunity.org/podcasts/wowodc/west08/WOWODC07_D2W.mp4]] made at WOWODC 2007.
8 8  
9 -----
7 +To look at BugTracker, you will need to g[[et the Wonder Source Code>>Getting the Wonder Source Code]] of Project Wonder. Once it's done and that you have imported the BugTracker project into Eclipse, you will see the following files: [[image:BugTrackerProject.png||border="1"]]
8 +To launch BugTracker, right-click **BugTracker.launch** and select **Run As** > **BugTracker**. It will launch BugTracker with a in-memory database, which is perfect to explore the application.
10 10  
11 -2. Check out the folders into their own projects in your workspace.
10 +You should see a login screen. Your default administrative user is "admin" with password "admin"
12 12  
13 -[[image:Context-026.jpg]]
14 -
15 -----
16 -
17 -3. Your workspace should look roughly like this once it has completed rebuilding:
18 -
19 -[[image:Context-027.jpg]]
20 -
21 -----
22 -
23 -4. First order of business is to find your Properties file by turning off the filter that is on by default:
24 -
25 -[[image:Context-028.jpg]]
26 -
27 -----
28 -
29 -5. Uncheck the item selected in the image below:
30 -
31 -[[image:Context-029.jpg]]
32 -
33 -----
34 -
35 -6. Change the properties located in the resources folder to match the requirements for your database. I use Frontbase. You can either set Global properties for your database, or by model as per the instructions in [[ERXConfigurationManager documentation>>http://webobjects.mdimension.com/wonder/api/er/extensions/ERXConfigurationManager.html]]
36 -
37 -Here are the settings I used for FrontBase:
38 -
39 -#ERXConfigurationManager properties moved in from Properties.ak
40 -#Original Settings for Postgresql
41 -#Changed to Frontbase
42 -dbConnectURLGLOBAL=jdbc:frontbase:~/~/localhost/bug
43 -dbConnectUserGLOBAL=//system
44 -dbConnectPluginGLOBAL=Frontbase
45 -#dbConnectDriverGLOBAL=org.postgresql.Driver
46 -#dbConnectPasswordGLOBAL =
47 -dbEOPrototypesEntityGLOBAL=EOJDBCFrontBasePrototypes
48 -er.javamail.adminEmail=foo@localhost.com//
49 -
50 -Make sure that the build path contains the plugin for your database;
51 -
52 -[[image:Context-030.jpg]]
53 -
54 -----
55 -
56 -7. Now we want to run the app. The Wonder team has set it up so that you can generate all necessary tables and populate them when you launch the BugTracker application for the first time using a special launch configuration.
57 -
58 -You'll see BugTracker launch configurations for creating, creating without dropping, and normal launching. We need to select the BugTracker (create without drop) launch configuration for the initial setup.
59 -
60 -[[image:Context-031.jpg]]
61 -
62 -----
63 -
64 -8. We do that by selecting Run as > Run...
65 -
66 -[[image:Context-032.jpg]]
67 -
68 -----
69 -
70 -9. In the resulting dialog box, select BugTracker (create without drop). If you try to use (create) you'll get a bunch of errors complaining about lack of tables in the database.
71 -
72 -[[image:Context-033.jpg]]
73 -
74 -----
75 -
76 -10. You'll see a long list of things being done in your console window that takes several minutes. When you get the final Done message, your database is set up and ready to go. You can log into your database to confirm that the tables have been magically created and populated.
77 -
78 -Now select BugTracker as your launch configuration to start the application:
79 -
80 -[[image:Context-034.jpg]]
81 -
82 -----
83 -
84 -~11. You should see a login screen. Your default administrative user is "admin" with password "admin"
85 -
86 86  [[image:Context-035.jpg]]
87 87  
88 88  ----
89 89  
90 -12. Explore!!
16 +Explore