Chapter 4. Building xmlwebgui from source code
Requirements for building from source
-
The sources. The sources can be obtained at the
xmlwebgui website.
-
A Java Software Development Kit (SDK). Most common the the Sun Java Software Development Kit, look at java.sun.com for further information.
-
servlet.jar
this java archive contains all classes and interfaces needed for
compiling the servlet-specific part of xmlwebgui. It is included in your
servlet engine.
-
xalan.jar
and
xercesImpl.jar
and
xml-apis.jar
and
xmlParserAPIs.jar
This files are needed for the xml-specific part of xmlwebgui They are
included in the source release of xmlwebgui, but it is useful to download
Apache Xalan from the Apache
Software Foundtaion because you will also need a xslt engine
for transforming the documentation.
For transforming the documentation you can use any other XSLT-engine.
A very good engine is Saxon by
Michael Kay.
-
Apache Ant. This build tool from the Apache Software Foundtaion can be
found at the Jakarta Project
Site.
-
For transforming the documentation you will also need to download the
docbook xslt stylesheets from The Docbook Open Repository.
Building XML Web GUI.
-
Download the lastest source distribution from the XML Web GUI homepage
-
Unpack the distribution to a directory and enter this directory on the command line
-
Then type ant war for building the web-archive for JDK1.3 or
type ant war_le for building the web-archive for Java 1.4
-
continue the installation as described here: Chapter 1
Building the documentation.
-
download and unpack the documentation source files.
-
Use your favorite XSLT-emgine to transform documentation.xml
using the docbook sytlesheets to HTML or XSL:FO.
FIXME