Changes for page Getting Started with BugTracker
Last modified by Pascal Robert on 2012/07/27 20:28
From version 26.1
edited by David Holt
on 2008/05/07 18:11
on 2008/05/07 18:11
Change comment:
There is no comment for this version
To version 27.1
edited by David Holt
on 2007/06/20 20:07
on 2007/06/20 20:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,23 +1,9 @@ 1 1 **Getting Started with BugTracker** 2 2 3 -~1. Import the source code folders neededforBugTrackereither[[from local Wonder sourcetree>>http://wiki.objectstyle.org/confluence/display/WONDER/Working+with+Wonder+source+in+Eclipse]] orfromWonderCVSserverasdiscussed below.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. 4 4 5 - {{info title="Alternate methodforgettingstartedwithBugTracker"}}5 +The next three screenshots are showing the folders that can be found on the CVS server for Wonder. I have split them up because all the folders don't fit on the screen at once! As you can see, the folders that are necessary are found in several different sub-folders. 6 6 7 -If you're just exploring BugTracker, you may prefer to use the method outlined on [this page|Getting Started with BugTracker Alternate method] that depends on installed Wonder frameworks instead of importing the Wonder source into your workspace. 8 - 9 -{{/info}} 10 - 11 -The next three screenshots are showing the folders that can be found on the CVS server for Wonder. I have split them up because all the folders don't fit on the screen at once As you can see, the folders that are necessary are found in several different sub-folders. 12 - 13 -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. 14 - 15 -{{warning title="Missing Projects from the screenshots below"}} 16 - 17 -BugTracker has new dependencies on DerbyPlugin and ERChronic since these screenshots were taken. Make sure to import them into your workspace as well. 18 - 19 -{{/warning}} 20 - 21 21 [[image:Context-023.jpg]] 22 22 [[image:Context-024.jpg]] 23 23 [[image:Context-025.jpg]] ... ... @@ -48,30 +48,20 @@ 48 48 49 49 ---- 50 50 51 - {{idvalue="Configuration"}}{{/id}}37 +6. Change the Properties located in the resources folder to match the requirements for your database. Wonder applications need Properties files to manage their configuration correctly. There are a number of different places in the Wonder frameworks that application properties will be read from. In the original example, the Database connection properties are taken from a logged in user's properties file, in this case it is named "Properties.ak". I moved the relevant lines to the Application Properties file that described the Global connection dictionary for BugTracker to access my FrontBase database. 52 52 53 -6. Change the Properties located in the resources folder to match the requirements for your database. Wonder applications need Properties files to manage their configuration correctly. There are a number of different places in the Wonder frameworks that application properties will be read from. In the original example, the Database connection properties are taken from a logged in user's properties file, in this case it is named "Properties.ak". I moved the relevant lines to the Application Properties file that described the Global connection dictionary for BugTracker to access my FrontBase database. Alternatively (a recommended way) you can create your own "Properties.username" file by duplicating "Properties.ak" 54 - 55 -{{warning title="Missing Properties"}} 56 - 57 -The current Wonder source (Oct 31,2007) requires the addition of this property to he Properties file in BugTracker to run properly (Can someone commit this please?) 58 - 59 -er.extensions.ERXRaiseOnMissingEditingContextDelegate=false 60 - 61 -{{/warning}} 62 - 63 63 You can either set Global properties for your database, or you can set them for a specific model. See the Wonder docs for more information about Properties files and database configuration [[ERXConfigurationManager documentation>>http://webobjects.mdimension.com/wonder/api/er/extensions/ERXConfigurationManager.html]] 64 64 65 65 Here are the Global database connection settings I used for FrontBase. If you are using a different setup, you may want to ask on the mailing list for guidance: 66 66 67 -ERXConfigurationManager properties moved in from Properties.ak 68 -Original Settings for Postgresql 69 -Changed to Frontbase 43 +#ERXConfigurationManager properties moved in from Properties.ak 44 +#Original Settings for Postgresql 45 +#Changed to Frontbase 70 70 dbConnectURLGLOBAL=jdbc:frontbase:~/~/localhost/bug 71 71 dbConnectUserGLOBAL=//system 72 72 dbConnectPluginGLOBAL=Frontbase 73 -dbConnectDriverGLOBAL=org.postgresql.Driver 74 -dbConnectPasswordGLOBAL = 49 +#dbConnectDriverGLOBAL=org.postgresql.Driver 50 +#dbConnectPasswordGLOBAL = 75 75 dbEOPrototypesEntityGLOBAL=EOJDBCFrontBasePrototypes 76 76 er.javamail.adminEmail=foo@localhost.com// 77 77 ... ... @@ -79,23 +79,6 @@ 79 79 80 80 [[image:Context-036.jpg]] 81 81 82 -{{info title="MySQL Configuration for BugTracker"}} 83 - 84 -* Create a database named "bug" in your MySQL development database 85 -* Create a user and password with all privileges for that database (or use your mysql root user and password if you wish) 86 -* Add the following properties to the Properties file in BugTracker using the user and password from the previous step 87 - 88 -dbConnectURLGLOBAL=jdbc:mysql://localhost/bug?capitalizeTypenames=true 89 -dbConnectUserGLOBAL=user 90 -dbConnectPasswordGLOBAL=password 91 -dbConnectPluginGLOBAL= 92 -dbConnectDriverGLOBAL= 93 -dbEOPrototypesEntityGLOBAL=EOJDBCMySQLPrototypes 94 -er.javamail.adminEmail=foobar@domain.com 95 - 96 - 97 -{{/info}} 98 - 99 99 ---- 100 100 101 101 Make sure that the build path contains the plugin for your database; ... ... @@ -138,4 +138,4 @@ 138 138 139 139 ---- 140 140 141 -12. Explore 100 +12. Explore!!