OLE Development Process - retire
This page describes the development process from a developer's standpoint when working on OLE from within an IDE.
Summary Process
- Check out the
ole
project from SVN. See: OLE Subversion Projects and Branches - Keep as per Peri (will update it) - Per OLE Build Process Overview - Archive, copy the
build/external/home/ole-build.properties
to your user home directory.- Customize this file as needed for your own environment. See OLE Configuration Properties - Retire for more information on the properties which can be used in this file.
This is also where you would configure your database connections. This could point to a local satellite database or the central development Oracle database schema:
JDBC URL:
jdbc:oracle:thin:@oracle.ole.kuali.org:1521:XE
Username:
OLELOCAL
- Run the
dist-local
Ant target of theole
project.- This will build certain configuration files and copy them into external configuration directories as well as into the master source directory. (
ole/work/src
)
- This will build certain configuration files and copy them into external configuration directories as well as into the master source directory. (
- Within Eclipse, refresh the project. (Select the project in the Project Explorer view and press F5 or right-click and select Refresh from the popup menu.)
- This ensures that Eclipse notices the updated files from
dist-local
and copies them to thework/web-root/WEB-INF/classes
directory where they need to be for running the local version of the application.
- This ensures that Eclipse notices the updated files from
- Start up the server. This can be done within Eclipse if you followed the configuration instructions in OLE Development Environment Setup - Retire as covered in the latest dev guide., or by running the appropriate startup script in
work/tomcat/tomcat/bin
.- After startup (which can take between 30-90 seconds, depending on the speed of your system), the server will be accessible at: http://localhost:8080/ole-local/portal.do
Important Directories Within the Project
| The main source tree for the application. |
| The root for the web application context used when starting up the application on a developer's workstation. |
| Files related to the build process and additional libraries. |
| Library files extracted from the Rice project. This directory is populated automatically from the Rice WAR file and should not be modified directly. |
| Libraries added by the OLE project which are either not provided/needed by Rice or are more advanced versions of libraries provided by Rice. |
| Unless configured otherwise, this is the Tomcat 5.5 server user for development. |
| Source, results, and additional libraries used by the unit test suites. |
| The data project used for refreshing a local satellite database. Contains an XML and flat file representation of the OLE database structure and base data. Does not contain Rice server tables, those are in the directory below. |
| The data project for a rice database. This directory is extracted directly from the Rice SVN repository. It contains the structure and data for a standalone Rice instance. |
| The database import/export tool used for refreshing a local satellite database. |
| Liquibase and CSV files which are used to overlay the Rice data needed by OLE on top of a baseline Rice database schema. |
| The target directory for compilation. The Java IDE should also copy any non-Java files (e.g., XML files) from |
| This is the library directory used by the web application. It is constructed automatically by the |
Operated as a Community Resource by the Open Library Foundation