You are hereAria User Guide / Appendix / Building

Building


By luano - Posted on 14 January 2009

  1. Building Aria

The complete source for both Aria and AriaEditor is available from the SourceForge repository. The files are available in the Subversion repository and a few simple steps are needed to check out and build the projects.

Accessing SVN

The Subversion repository can be access anonymously either via the command line or via a tool such as SmartSVN or TortoiseSVN.

Subversion connection parameters

Parameter

Value

Server

https://svn.sourceforge.net

Path

/svnroot/aria/

The projects require a number of support project, all of which you can check out from the repository to C:\SVN or the equivalent for Unix/Linux platforms. These projects are:

Projects in the SVN repository

Project

Role

Aria

The main Aria project

AriaALL

Builds the Aria NBM, NetBeans module

AriaSuite

Ties the various NBMs together.

AriaEditor

The AriaEditor editor NBM

lib

A collection of third party libraries

javac

JDK files

The javac project is not completely contained in the repository due to licensing issues.

Preparing to build

Before building a couple of preparation tasks need to be performed:

1. Copy the contents of the JDKs to the javac project. The JDK 1.1.8, 1.3 and 1.5 files will be needed. At least the bin , lib and jre folders are required. The files are required to build the various versions of the Aria libraries

2. Update NetBeans (via the Tools|Update Center menu option) following the initial installation to ensure that the latest NetBenas module development support is available.

3. Open the Aria , AriaSuite and AriaEditor projects. In opening these projects other referenced projects may be opened, but you can close these.

4. Modify the common.xml file under the NetBeans/harness folder (under Program Files on Windows) so that:

is replaced with:

5. Check that the AriaEditor/src/nbproject/private/private.properties contains a value for module.excludes like:

module.excludes=**/net/Formaria/editor/eclipse/**/*

Building

Building the project should now be straightforward.

1. First build the Aria project by right clicking in the project view and choose Clean and Build All .

2. Now open the Aria module under the AriaSuite project. When the project opens (it should have a different icon to the main Aria project) build it, this creates the .nbm file for Aria project. This file is referenced by the AriaEditor module.

3. Build the AriaEditor module.

And that's it, you should be able to launch a new instance of NetBeans from within the IDE to run or debug the module.