-
Notifications
You must be signed in to change notification settings - Fork 46
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.properties
in the root folder and update as appropriate.dtddoc.dir
/forrest.dir
required to be set. (Both forrest and DTDDoc can be downloaded from Scriptella's Google Drive scriptella-forrest-dependencies.zip.) -
Type
ant dist
to produce source/binary artifacts -
Type
ant -f build-docs.xml site
to generate site -
Type
ant -f build-docs.xml site_postprocess
to 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.