20 lines
2.7 KiB
Plaintext
20 lines
2.7 KiB
Plaintext
TODO LIST - Tasks often necessary after creating a project:
|
|
- Add to the project: DE Application Foundation.jar, and other jars such as DE Transaction Foundation MySQL.jar and the MySQL connector jar (from the MySQL website).
|
|
- (UI) Unpack the controls.zip (Brainstorm's UI control definitions) into the project directory (or reference a project with such a controls directory).
|
|
- Include the jars in the project folder (Brainstorm, Db, Mail, etc.): Refresh the project, select it and pick Project->Properties from the menu. Use the dialog to set the Build Path: Select the Libraries tab and click Add Jars... to add each jar you placed in the project. Note that jars won't show up if you forgot to refresh the project.
|
|
- Add models, model controllers, resources (to the resources.xres file), web request handlers, views, and view controllers as necessary to your project.
|
|
- Maintain the metadata.xml file for repository/model mappings. Change the application's database user name and password and update the connection string. Modify if necessary for another type of database (MySQL is what is generated).
|
|
- (Web/Wiki) Modify as necessary the SQL and apply it to the database to setup the tables. An SQL file 'mydb.sql' was generated [mysql centric] and place in the project directory.
|
|
- (Web/Wiki) Download and unpack the CK Editor to the project's web/secure folder (should have ./web/secure/ckeditor/ckeditor.js).
|
|
- (Web/SSL) Modify or remove the SSL setup in the Application class (search for: options.setSslMappings).
|
|
- (Web) Add a close.gif image (12x12 recommended) to the images folder (/MyProject/web/secure/images/close.gif). The word 'close' will be used if the image is not available.
|
|
- Setup an Run/Debug Configuration for the application. The starting class is the Application class (MyProjectApplication). Make sure to include -Dapplication.browser.address=xxx.com:yyy if supporting remote native views (application browser) and -Dgenerate.proxies=true if using the ORB (required for the application browser).
|
|
Generally your new application is runnable out of the box once the proper Brainstorm & 3rd party jars, web tools, and controls are added,
|
|
the database is setup, and the project is refreshed (to let eclipse know there were file system changes). If a database is required then changes to the metadata.xml will be required at a minimum.
|
|
|
|
Required & Optional Jars:
|
|
DE Application Foundation.jar (Required)
|
|
DE Foundation Transaction MySQL.jar (Replace with the db of your choice)
|
|
mysql-connector-java-x.x.xx.jar (Replace with the db of your choice - http://www.mysql.org)
|
|
mail.jar (Required for web login code - http://java.sun.com/products/javamail/)
|
|
activation.jar (Required for web login code - http://java.sun.com/products/javamail/) |