org.activemath.config.startup
Class Basics

java.lang.Object
  extended by org.activemath.config.startup.Basics

public class Basics
extends Object

Basic class to support startup operation with no parameter or properties on the command-line: allows to guess the ACTIVEMATH_HOME from the location of its class. It then sets the activemath.home and tomcat.home system properties accordingly.

This class's setup() has to be called before any call to the Manager class.


Constructor Summary
Basics()
           
 
Method Summary
static void main(String[] args)
          Simple test method: set's up and launches the init of the Manager.
static void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Basics

public Basics()
Method Detail

setup

public static void setup()
                  throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Simple test method: set's up and launches the init of the Manager.

Throws:
Exception