Changes for page Getting Started with BugTracker
Last modified by Pascal Robert on 2012/07/27 20:28
From version 31.1
edited by David Holt
on 2008/05/07 18:09
on 2008/05/07 18:09
Change comment:
There is no comment for this version
To version 20.1
edited by David Holt
on 2007/06/20 19:17
on 2007/06/20 19:17
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,7 @@ 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 method for getting started with BugTracker"}} 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,54 +48,36 @@ 48 48 49 49 ---- 50 50 51 - [[||anchor="Configuration"]]6. Change theProperties located in the resources folder to match the requirements for your database.WonderapplicationsneedPropertiesfilestomanage their configurationcorrectly. Thereare anumberof different placesintheWonderframeworkshatapplicationpropertieswill be readfrom.In theoriginalexample,the Databaseconnection propertiesaretaken froma loggedin user's properties file,in this caseit is named "Properties.ak".I movedtherelevant lineso the ApplicationPropertiesfile that described the Global connectiondictionary for BugTrackertoaccessmy FrontBase database. Alternatively (a recommended way) you canreate your own"Properties.username"file by duplicating"Properties.ak"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]] 52 52 53 -{{warning title="Missing Properties"}} 37 +~-~-- 38 +Changing the connection dictionary 39 +To do this for Oracle you can either specify on a per model basis or on a global basis. 40 + Global: 41 + dbConnectServerGLOBAL = myDatabaseServer 42 + dbConnectUserGLOBAL = me 43 + dbConnectPasswordGLOBAL = secret 44 + dbConnectPluginGLOBAL = Oracle 45 + Per Model for say model ER: 46 + ER.DBServer = myDatabaseServer 47 + ER.DBUser = me 48 + ER.DBPassword = secret 49 + ER.DBPlugin = Oracle 50 +~-~-- 54 54 55 - ThecurrentWondersource(Oct31,2007) requires theaddition of thispropertyto he Propertiesfilein BugTrackertounproperly (Cansomeone committhis please?)52 +Here are the settings I used for FrontBase: 56 56 57 -er.extensions.ERXRaiseOnMissingEditingContextDelegate=false 58 - 59 -{{/warning}} 60 - 61 -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]] 62 - 63 -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: 64 - 65 -ERXConfigurationManager properties moved in from Properties.ak 66 -Original Settings for Postgresql 67 -Changed to Frontbase 54 +#ERXConfigurationManager properties moved in from Properties.ak 55 +#Original Settings for Postgresql 56 +#Changed to Frontbase 68 68 dbConnectURLGLOBAL=jdbc:frontbase:~/~/localhost/bug 69 69 dbConnectUserGLOBAL=//system 70 70 dbConnectPluginGLOBAL=Frontbase 71 -dbConnectDriverGLOBAL=org.postgresql.Driver 72 -dbConnectPasswordGLOBAL = 60 +#dbConnectDriverGLOBAL=org.postgresql.Driver 61 +#dbConnectPasswordGLOBAL = 73 73 dbEOPrototypesEntityGLOBAL=EOJDBCFrontBasePrototypes 74 74 er.javamail.adminEmail=foo@localhost.com// 75 75 76 -You can see the Properties file that you are editing in the following screenshot: 77 - 78 -[[image:Context-036.jpg]] 79 - 80 -{{info title="MySQL Configuration for BugTracker"}} 81 - 82 -* Create a database named "bug" in your MySQL development database 83 -* Create a user and password with all privileges for that database (or use your mysql root user and password if you wish) 84 -* Add the following properties to the Properties file in BugTracker using the user and password from the previous step 85 - 86 -dbConnectURLGLOBAL=jdbc:mysql://localhost/bug?capitalizeTypenames=true 87 -dbConnectUserGLOBAL=user 88 -dbConnectPasswordGLOBAL=password 89 -dbConnectPluginGLOBAL= 90 -dbConnectDriverGLOBAL= 91 -dbEOPrototypesEntityGLOBAL=EOJDBCMySQLPrototypes 92 -er.javamail.adminEmail=foobar@domain.com 93 - 94 - 95 -{{/info}} 96 - 97 ----- 98 - 99 99 Make sure that the build path contains the plugin for your database; 100 100 101 101 [[image:Context-030.jpg]] ... ... @@ -136,4 +136,4 @@ 136 136 137 137 ---- 138 138 139 -12. Explore 105 +12. Explore!!