Documentation
- Install information
Usually you will use Polyethylene within a Web Server. I've
test it only with Tomcat, but there is no reason to not work
with others servers.
The main points to make it work are:
- JAVA_HOME must be set to indicate your JDK installation
- CLASSPATH must include "ant" and, if your webserver
don't use "xerces", it must be included as well
You can set this CLASSPATH for your system, as I do, or privately,
within your web deployment directories (WEB-INF\lib)
The JAVA_HOME should be setted as follows:
[unix] JAVA_HOME=/path/to/java/
[win32] SET JAVA_HOME=c:\path\to\java
- Compile
To compile polyethylene you only need ant and JUnit. Just
go to the root of Polyethylene directory (which contains the
build.xml file) and type "ant" (without quotes)
and watch the output. All tests should pass. The "lib"
directory should contain all the libs polyethylene needs to
compile and run successfully.
To re-create the docs type "ant javadoc"
To create a release distribution with zip file type "ant
release". This will create two zip files. One will contains
the source distribution and the other will contain the binary
distribution.
Documentation
home
|