source: extensions/net.sf.basedb.examples/trunk/README @ 636

Last change on this file since 636 was 636, checked in by Nicklas Nordborg, 14 years ago

References #103: Create example extensions

First checkin of example extensions.

  • Property svn:mime-type set to text/x-trac-wiki
File size: 1.4 KB

Requirements

  1. BASE 2.7.0 or later.

Introduction

This package contains a few simple variants of "Hello world" applications in the form of extensions to the BASE web client. When the package has been installed you should see four new menu items in the 'Extensions' menu.

  • Hello world!
  • Hello factory world!
  • Greetings Root!
  • Hello JSP world!

Installation

  1. Unpack the tar.gz file to a directory of your choice.
  2. Copy the extension-examples.jar to your BASE extensions directory, WEB-INF/extensions.
  3. Run the 'Extensions -> Manual scan' command if you have disabled automatic installation. Otherwise, just wait a bit and the automatic installation will find and install the new extensions.
  4. If you are logged in, you may have to logout and then login again to see the new menu items.
  5. Done.

Compiling

To compile this package you also need:

  1. Ant 1.6
  2. Java 1.6 NOTE! Compiling may work with Java 1.5 but this is not officially supported.

Follow these instructions:

  1. Copy the BASE2Core.jar and BASE2Webclient.jar from the BASE installation directory (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory.
  1. Type 'ant' to compile the code and put everything you need into the ./dist directory.
  1. Use 'ant package' to create a downloadable tar.gz package in the ./package directory.
Note: See TracBrowser for help on using the repository browser.