Kelp for JBuilder 8 and JBuilder 9


Table of Contents

Introduction
1. Requirements
2. Install
3. User's Guide
Creating new Enhydra application
XML Compiler
Deployer
DODS
Importing existing preojects into JBuilder8 or JBuilder9

Introduction

Kelp for JBuilder 8 or JBuilder 9 is opentool that provides creation of Enhydra application and tools for managing created applications:

  • XML Compiler

  • Deployer

  • DODS

Chapter 1. Requirements

  • Enhydra 5.1 installed

  • JBuilder 8 or JBuilder 9 installed

Chapter 2. Install

Install on Linux:

  • From RPM package:

    Open terminal in folder where RPM is and type something like this:

    rpm -i kelp-jbuilder8-5.1-1.i386.rpm

    Press Enter on keyboard.

After that instalation wizard will ask you to type JDK directory, Enhydra root directory and JBuilder8 root directory. Now you have Kelp installed.

  • From TAR.GZ package:

    Open terminal in folder where TAR.GZ is and type something like this:

    tar -xzf kelp-jbuilder8-5.1-1.tar.gz

    Press Enter on keyboard.

In same folder where you un-tar package you will have file install.sh. Type ./install.sh .After that instalation wizard will ask you to type JDK directory, Enhydra root directory and JBuilder8 root directory. Now you have Kelp installed.

Install on Windows:

  • Run kelp-jbuilder8-5.1-1.setup.exe or kelp-jbuilder9-5.1-1.setup.exe

  • Choose Enhydra home and JBuilder home folders and finish setup program

Installation program will add kelp.jar in <JBUILDER_HOME>/lib/ext folder. Libraries KelpAntCore.jar and Toolbox.jar will be copied to <JBUILDER_HOME>/lib folder, also with Enhydra.library description file (needed external libraries).

This document can be found in <JBUILDER_HOME>/kelp/doc.

Chapter 3. User's Guide

Creating new Enhydra application

  • Create new project.

  • Run Enhydra Application Wizard (File|New...-Enhydra)

Figure 1: Enhydra Application Wizard

Select the application type you want to develop and click OK. Input project name and project root on the first Wizard dialog page, and finish the wizard. After the new project is created, you can simply run created application with Run|Run Project (F9). Application will be automatically rebuilded and started, so you can see results in your browser on http://localhost:8002 by default.

NOTE: New Kelp for JBuilder8 and JBuilder9 is ant based. To use project made in old Kelp you need to open new project (in new Kelp) and to manually move sources and resources from old Kelp project to new one.

XML Compiler

In order to deploy Enhydra application, XML Compiler should compile HTML pages. If you want to manually start XML Compiler, select Tools|Enhydra Tools|XML Compiler. Following dialog will appear:

Figure 2: XML Compiler

You can tune XML Compiler options and start compiler.

Deployer

Deployer is started with Tools|Enhydra Tools|Deployer. Deploy options and creating of output (libraries, batch files ...) are managed from dialog:

Figure 3: Deployer

DODS

To start DODS, select Tools|Enhydra Tools|DODS and choose options in dialog:

Figure 4: DODS

You can tune DODS options and start generator.

Importing existing preojects into JBuilder8 or JBuilder9

Please, checkout short Tutorial about creation of Kelp project on the basis of existing enhydra project.

------------------------------------------------------------------------