*Index
*News
*Status
*Changelog
*Contributors
Downloads
*Releases
*Nightly
Resources
*Build Status
*Source
*Mailing Lists
*CVS
*Library
User's Guide
*Installation
*Configuration
*FAQ
*Examples
*Tomcat Howto
*Avalon Howto
*JDBC Stores Howto
Programmer's Corner
*Architecture
*Domain
*Namespace
Slide API
*Structure
*Security
*Lock
*Content
*Macro
*Index
*Process
WebDAV
*General Info
*Clients
API Reference
*UML
*JavaDoc
*WebDAV Client Javadoc
     Installation
 Dependencies
Compiling Slide
Slide
WebDAV Servlet

Dependencies

Slide has dependencies to some external function libraries. Some of these dependencies are both compile-time and runtime dependencies, while some are only runtime dependencies. Some build options also require additional external libraries.

Slide depends on the following software libraries at build time :
*Jakarta Ant 1.2 or later
*Sun JAXP 1.0 or later (JAXP 1.1ea2 recommended)
*DOM level 2 API (org.w3c.dom package)
*SAX 2 API (org.xml.* packages)
*Sun Servlet API 2.2 or later
*Sun Java Transaction API 1.0
*JDK 1.1 or later

Slide depends on the following software libraries at run time :
*Sun JAXP 1.0 or later (JAXP 1.1ea2 recommended)
*A JAXP-compliant XML parser (DOM level 2 support recommended)
*Sun Servlet API 2.2 or later
*Sun Java Transaction API 1.0
*JRE 1.1 or later (1.3 recommended)

As said above, the requirements for the various build options can vary. Some might require :
*Tomcat 4.0
*Apache Avalon
*Ant optional package
*An Ant supported XSLT processor (Xalan or XSL:P)
*A JMX MBean server, and the JMX libraries
*JUnit 3.5

Compiling Slide

Here is a compilation check list for Slide :
*Define an ANT_HOME environment variable to point to your Ant distribution, or add ant.jar to your system classpath. If ANT_HOME is undefined, it will default to "../jakarta-ant".
*Define a JAXP_HOME environment variable pointing to your JAXP distribution directory, or add the JAXP library and a JAXP compliant parser to your system classpath (note that sometimes the JAXP library is included in the parser JAR file, as it is the case for Apache Xerces 1.x).
*Define a SERVLETAPI_HOME environment variable to point to your servlet API (2.2 and up) distribution, or add servlet.jar to your system classpath. If SERVLETAPI_HOME is undefined, it will default to "../jakarta-servletapi".
*Copy jta.jar from the Java Transaction API package to the "lib" directory in the Slide source repository.
*You should now be able to use the build script to start the compilation process. If Ant is successfully loaded, the environment used to build Slide will be displayed, and can be used to debug the compilation process if something goes wrong.

Slide

If you want to build an application which uses the Slide API, just add the slide.jar to your classpath. Then, be sure to put the domain configuration file in the appropriate directory. By default, it is a file called "Domain.xml" placed in the directory from which the JVM is started.

WebDAV Servlet

The WebDAV servlet requires a servlet container which supports at least the 2.2 API. The easiest solution is to use the web application archive which is included in the slide distribution (webapp/slide.war) and deploy it in your servlet container. The WAR file contains a "Domain.xml" file which should be modified to configure the domain.


 
$Revision$ $Author$ $Date$
 

Java, JDBC, JNDI, JTA, JMS, Sun, Sun Microsystems are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and in other countries. All other product names mentioned herein are trademarks of their respective owners.
 

The Apache Software Foundation. (C) 2000-2001. All rights reserved