-
Notifications
You must be signed in to change notification settings - Fork 48
Dev guide
Type ant to build scriptella.jar
Type ant test to run jUnit tests, you may need to add jUnit to Ant's classpath.
Sometimes you may get JVM crashes during unit testing, like EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc= This bug is caused by a default client JVM, as a workaround use -server JVM ,e.g. -Xmx256m -Xms64m - XX:MaxPermSize=128m -server
-
Checkout into a separate folder
-
Create
custom.build.propertiesin the root folder and update as appropriate.dtddoc.dir/forrest.dirrequired to be set. (Both forrest and DTDDoc can be downloaded from Scriptella's Google Drive scriptella-forrest-dependencies.zip.) -
Type
ant distto produce source/binary artifacts -
Type
ant -f build-docs.xml siteto generate site -
Type
ant -f build-docs.xml site_postprocessto apply customization to site, like stats, ads etc.
TODO: Use maven release plugin.
Follow Installing Forrest
Add env variables:
export FORREST_HOME=/full/path/to/forrest
PATH=$PATH:$FORREST_HOME/bin
Install DTDDoc.
Note: Both forrest and DTDDoc can be downloaded from Scriptella's Google Drive scriptella-forrest-dependencies.zip. Forrest was combined from 2 tar files - sources and dependencies.