2011-12-06 07:50:25 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Version: $Id: build.xml 495 2011-07-07 20:14:37Z chth $ -->
|
|
|
|
<project name="openseadragon"
|
2013-01-17 23:31:14 +04:00
|
|
|
default="build">
|
2011-12-06 07:50:25 +04:00
|
|
|
|
|
|
|
<tstamp/>
|
|
|
|
|
2011-12-13 02:22:01 +04:00
|
|
|
<description>
|
2011-12-06 07:50:25 +04:00
|
|
|
Build file for Zoomable User Interface HTML5 project OpenSeadragon.
|
|
|
|
</description>
|
|
|
|
|
2011-12-13 02:22:01 +04:00
|
|
|
<!-- YOU CAN OVERRIDE PROPERTIES PER YOUR NEED IN local.properties -->
|
|
|
|
<property file="local.properties" />
|
|
|
|
|
2011-12-06 07:50:25 +04:00
|
|
|
<!-- BASIC PROJECT PROPERTIES TO HELP TRACK VERSION -->
|
|
|
|
<property file="build.properties" />
|
|
|
|
|
|
|
|
<target name="build">
|
|
|
|
<echo>| OpenSeadragon </echo>
|
|
|
|
<filelist id="openseadragon.javascript"
|
|
|
|
dir=".">
|
|
|
|
<file name="src/openseadragon.js" />
|
2011-12-15 03:22:02 +04:00
|
|
|
<file name="src/eventhandler.js" />
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/mousetracker.js" />
|
|
|
|
<file name="src/control.js" />
|
2012-03-09 20:04:28 +04:00
|
|
|
<file name="src/controldock.js" />
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/viewer.js" />
|
2012-03-07 07:20:00 +04:00
|
|
|
<file name="src/navigator.js" />
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/strings.js" />
|
|
|
|
<file name="src/point.js" />
|
2012-01-25 23:14:02 +04:00
|
|
|
<!--file name="src/profiler.js" /-->
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/tilesource.js" />
|
|
|
|
<file name="src/dzitilesource.js" />
|
2013-02-08 18:21:28 +04:00
|
|
|
<file name="src/iiiftilesource.js" />
|
|
|
|
<file name="src/osmtilesource.js" />
|
|
|
|
<file name="src/tmstilesource.js" />
|
2012-02-23 08:02:54 +04:00
|
|
|
<file name="src/legacytilesource.js" />
|
2013-01-24 08:00:11 +04:00
|
|
|
<file name="src/tilesourcecollection.js" />
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/button.js" />
|
|
|
|
<file name="src/buttongroup.js" />
|
|
|
|
<file name="src/rectangle.js" />
|
2012-08-29 22:46:34 +04:00
|
|
|
<file name="src/referencestrip.js" />
|
2011-12-06 07:50:25 +04:00
|
|
|
<file name="src/displayrectangle.js" />
|
|
|
|
<file name="src/spring.js" />
|
|
|
|
<file name="src/tile.js" />
|
|
|
|
<file name="src/overlay.js" />
|
|
|
|
<file name="src/drawer.js" />
|
|
|
|
<file name="src/viewport.js" />
|
|
|
|
</filelist>
|
|
|
|
|
|
|
|
<echo>| Building OpenSeadragon Javascript </echo>
|
|
|
|
<concat destFile="openseadragon.js">
|
|
|
|
<filterchain>
|
|
|
|
<replacetokens>
|
|
|
|
<token key="VERSION" value="${VERSION}"/>
|
|
|
|
</replacetokens>
|
|
|
|
</filterchain>
|
|
|
|
<filelist refid="openseadragon.javascript" />
|
|
|
|
</concat>
|
2012-06-05 15:52:00 +04:00
|
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
<target name='www' depends='build'>
|
|
|
|
<echo>| Compiling OpenSeadragon Web Site </echo>
|
|
|
|
|
|
|
|
<publish page='tilesource-custom' title='Custom Tile Source | '/>
|
|
|
|
<publish page='tilesource-dzi' title='DZI Tile Source | '/>
|
2013-02-08 18:21:28 +04:00
|
|
|
<publish page='tilesource-osm' title='Open Street Maps Tile Source | '/>
|
|
|
|
<publish page='tilesource-tms' title='Tiled Map Service Tile Source | '/>
|
2012-06-05 15:52:00 +04:00
|
|
|
<publish page='tilesource-iiif' title='IIIF Tile Source | '/>
|
|
|
|
<publish page='tilesource-legacy' title='Legacy Tile Sources | '/>
|
2013-02-11 07:53:51 +04:00
|
|
|
<publish page='tilesource-zoomit' title='Zoom.it Tile Sources | '/>
|
2012-06-05 15:52:00 +04:00
|
|
|
<publish page='tilesource-sequence' title='Tile Source Sequence | '/>
|
2013-01-24 08:00:11 +04:00
|
|
|
<publish page='tilesource-collection' title='Tile Source Collections | '/>
|
2012-06-05 15:52:00 +04:00
|
|
|
|
|
|
|
<publish page='ui-binding-custom-buttons' title='Binding Custom Buttons | '/>
|
2013-01-24 08:00:11 +04:00
|
|
|
<publish page='ui-reference-strip' title='Image Reference Strip | '/>
|
2012-06-05 15:52:00 +04:00
|
|
|
<publish page='ui-toolbar' title='Toolbar | '/>
|
|
|
|
<publish page='ui-viewport-navigator' title='Viewport Navigator | '/>
|
2013-02-06 06:26:40 +04:00
|
|
|
<publish page='ui-zoom-and-pan' title='Viewport Zoom and Pan | '/>
|
2013-02-11 07:53:51 +04:00
|
|
|
<publish page='ui-overlays' title='Overlays |'/>
|
2011-12-13 02:22:01 +04:00
|
|
|
|
2013-01-24 08:00:11 +04:00
|
|
|
<publish page='developer-debug-mode' title='Developer Tools - Debug Mode | '/>
|
|
|
|
|
2011-12-13 02:22:01 +04:00
|
|
|
<copy todir='${WWW}' file='openseadragon.js' />
|
2011-12-06 07:50:25 +04:00
|
|
|
</target>
|
|
|
|
|
2012-01-25 23:14:02 +04:00
|
|
|
|
|
|
|
<target name='doc'
|
|
|
|
depends='build'>
|
|
|
|
<echo>| Generating Public API Documentation </echo>
|
|
|
|
<java jar="../jsdoc-toolkit/jsrun.jar"
|
|
|
|
fork="true">
|
|
|
|
<arg value="bin/jsdoc/run.js"/>
|
|
|
|
<arg value="openseadragon.js"/>
|
|
|
|
<arg value="--template=bin/jsdoc/templates"/>
|
|
|
|
<arg value="--directory=${WWW_DOCS}"/>
|
|
|
|
<arg value="--verbose"/>
|
|
|
|
</java>
|
|
|
|
</target>
|
|
|
|
|
2012-06-05 15:52:00 +04:00
|
|
|
|
|
|
|
<macrodef name='publish'>
|
|
|
|
<attribute name='page'/>
|
|
|
|
<attribute name='title'/>
|
|
|
|
<sequential>
|
|
|
|
<loadfile property='@{page}.html' srcfile='www/@{page}.html' />
|
|
|
|
<mkdir dir='${WWW}/examples/@{page}'/>
|
|
|
|
<copy file='www/base.html'
|
|
|
|
tofile="${WWW}/examples/@{page}/index.html"
|
|
|
|
overwrite='true'>
|
|
|
|
<filterchain>
|
|
|
|
<replacetokens>
|
|
|
|
<token key="EXAMPLE" value='${@{page}.html}'/>
|
|
|
|
<token key="TITLE" value='@{title}'/>
|
2013-01-24 08:00:11 +04:00
|
|
|
<token key="VERSION" value="${VERSION}"/>
|
2012-06-05 15:52:00 +04:00
|
|
|
</replacetokens>
|
|
|
|
</filterchain>
|
|
|
|
</copy>
|
|
|
|
<loadfile property='index.html' srcfile='www/index.html' />
|
|
|
|
<copy file='www/base.html' tofile="${WWW}/index.html" overwrite='true'>
|
|
|
|
<filterchain>
|
|
|
|
<replacetokens>
|
|
|
|
<token key="EXAMPLE" value='${index.html}'/>
|
|
|
|
<token key="TITLE" value=''/>
|
2013-01-24 08:00:11 +04:00
|
|
|
<token key="VERSION" value="${VERSION}"/>
|
2012-06-05 15:52:00 +04:00
|
|
|
</replacetokens>
|
|
|
|
</filterchain>
|
|
|
|
</copy>
|
|
|
|
</sequential>
|
|
|
|
</macrodef>
|
|
|
|
|
2013-01-24 08:03:00 +04:00
|
|
|
</project>
|