Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

February 25, 2011: This is a work in progress that I plan to be developing throughout the first couple of weeks in March of 2011. There are a few versions of instructions currently available on within the DSpace confluence site. This page will be covering instructions as relates to creating a development environment on Mac OSX 10.6 (Snow Leopard) while using the latest versions of related software, but will attempt to be platform agnostic.

Development Environment - Tools: Prerequisite Installations

This initial section will be targeted toward making certain that all prerequisite software tools have been downloaded and installed properly on the system you will be using for your development. Specifically, this is going to cover the following software:

  • Database software - Currently PostgresSQL and Oracle are supported by DSpace.
  • Servlet container software - The most popular servlet container tends to be Apache Tomcat, but others such as Jetty, Geronimo, etc can be used.
  • Maven 3.0.2 - Maven is the software project management and comprehension tool used to build DSpace source code.
  • Eclipse - Our IDE of choice for this endeavor.

Other software that will be noteworthy is the list of plug-ins we will use to extend Eclipse's native functionality. Among these plug-ins are:

  • A servlet container plug-in - This will provide us some ease of control (starting, stopping, debugging) over our servlet container from within the Eclipse IDE.
  • A Maven plug-in - This will allow us to run Maven commands such as building, cleaning, or packaging from within the Eclipse IDE.
  • An SVN plug-in - This will provide the ability to access and manipulate svn repositories from within the Eclipse IDE.
  • The WTP (Web Tools Platform) plug-in - WTP provides a large swath of web development abilities from within the Eclipse IDE.
  • The DTP (Data Tools Platform) plug-in - DTP provides a large swath of database development abilities from within the Eclipse IDE.

With this introduction to the necessary tools, the following sections will cover installation of these software packages / plug-ins for your system.

Database Software

Servlet Container Software

Maven 3.0.2

Eclipse 3.6

Eclipse Plugins

Tomcat Plugin

Maven Plugin

SVN Plugin

Web Tools Platform Plugin

Database Development Plugin

Oxygen Plugin

Development Environment - Tools: Configuration

Database Software

Servlet Container Software

Maven 3.0.2

Eclipse 3.6

Eclipse Plugins

Tomcat Plugin

Maven Plugin

SVN Plugin

Web Tools Platform Plugin

Database Development Plugin

Oxygen Plugin

DSpace Setup - Installing (Building/Deploying) Your DSpace Project(s)

Project Architecture - Organizing Your DSpace Project(s)

The One-Big Approach

The One-Project-Per-Module Approach

The Combined Approach

Project Building - Building Your DSpace Projects with Maven

Project Deployment - Deploying Your DSpace Projects with Ant

DSpace Viewing - Viewing Your Projects with Eclipse Tools

Viewing The Application through Tomcat and your browser

Viewing The Database through Database Development Tools

Viewing The Java code through Eclipse Java Editor

Viewing The XML/XSLT code through Oxygen

Notes

  • No labels