Latest update: 2007-12-21
A step-by-step guide on building the Pipeline core.
Note: In the following guide {DATE} is the date of the date of the release in YYYYMMDD format.
Make sure the project is updated to the latest svn version.
org.daisy.pipeline.test.TestDriver (using the main method of TestDriver) in the IDE.If you are making an official release, modify the date in org/daisy/util/Version.java and org/daisy/pipeline/Version.java. Commit.
Make sure the build-core.xml is updated, i.e. the JARs defined in the <fileset> with id="fileset.utilJars" are correct.
Excluding a certain transformer:
If you are making an official build, make sure the UserAgreement.txt file lists the corrent libraries.
If you are making an official build, create a tag:
Or from the command line: svn copy https://daisymfc.svn.sourceforge.net/svnroot/daisymfc/trunk/dmfc https://daisymfc.svn.sourceforge.net/svnroot/daisymfc/tags/v{DATE} -m "Tagging the v{DATE} release."
Make sure the following is run on a clean pipeline checkout:
Run the "all" target in the build script. The generated files are:
Test the generated build!
org.daisy.pipeline.test.TestDriver (using the main method of TestDriver).Upload to sf.net
Create a release named "pipeline-{ISO-DATE}" (where {ISO-DATE} is the release date in YYYY-MM-DD format) in the "pipeline" package and upload the generated zip files.
Make sure to update edit the download page (using the "Create/Edit Download Page" link) to point to pipeline-${DATE}.zip.
Change the download link on the Pipeline sourceforge website download section to http://downloads.sourceforge.net/daisymfc/pipeline-{DATE}.zip
Rebuild the documentation suite using org.daisy.pipeline.util.DocIndexGenerator to regenerate indices, and then upload the whole /doc directory on the Pipeline sourceforge website.
Note: make sure write acces is given to both user and group, if not run from the sf shell:
$ cd /home/groups/d/da/daisymfc
$ chgrp daisymfc . -R
$ find . -type f -exec chmod 664 {} \;
$ find . -type d -exec chmod 775 {} \;