Old web framework
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


To build the org.javapawa library, you need to place the following in
your CLASSPATH environment variable:

  === Jakarta's Element Construction Set ===
The 1.4.1 release has a bug that was corrected in their CVS, but was
not released yet. Therefore, you should downlond the ECS sources from
their CVS repository. For information on how to do that, look at:

Quickly, it looks like this:
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
password: anoncvs
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout jakarta-ecs

From ECS's documentation, the current way to build it to execute
"build/build-ecs.sh". ECS's build also needs Ant, and includes it in their
"build" directory.

One the build is done, place the bin/ecs-something.jar into your CLASSPATH.

  === Jakarta's Ant ===
The build.sh script launches Ant, which will read build.xml and do the actual
build of org.javapawa library.

ECS includes ant-1.3.1.jar in their "build" directory. You may use it instead
of downloading Ant separately.

If you use Tomcat, you probably already have the lib/ant.jar. Just set the
$TOMCAT_HOME, and the build.sh script will see it.

  === Jakarta's Log4j ===
The org.javapawa uses log4j for logging. Log4j ships with two jars and you
have to choose one. While you only need log4j-core.jar, log4j.jar is more
complete. We recommend to put take dist/lib/log4j.jar, as you will have
everything you will ever need ;) So, put the dist/lib/log4j.jar in your
classpath before building org.javapawa.

So, the build process of org.javapawa might look like this:

  cd org.javapawa
  export CLASSPATH=/some/place/ecs.jar:/some/other/place/ant.jar:/and/log4j.jar