Interactive interface for browsing global, full-resolution satellite imagery
WV-26: The download-deps bash script has been removed and replaced with ant tasks. These have now been broken up into separate files in the src/ant/depend directories to keep down the size of the build.xml
Mike McGann54052fd278fe
diff --git a/.gitignore b/.gitignoreindex ba1084f31..6dd05da7d 100644--- a/.gitignore+++ b/.gitignore@@ -1,3 +1,7 @@+build+dist+lib+# Ignore the Eclipse files for now.project.settingsdiff --git a/build.xml b/build.xmlindex 63eb1db54..dddb078b0 100644--- a/build.xml+++ b/build.xml@@ -1,223 +1,175 @@-<project name="WorldView" default="web" basedir=".">- <description><![CDATA[-WorldView build script-]]>+<project name="Worldview" default="web" basedir=".">++ <description>+ Worldview build script</description>- <property name="build" location="${basedir}/build"/>- <property name="dist" location="${basedir}/dist"/>- <property name="web" location="${build}/worldview"/>- <property name="web.debug" location="${build}/worldview-debug"/>- <property name="doc" location="${build}/worldview-doc"/>- <property name="src.js" location="${basedir}/js"/>+ <property file="build.properties"/>+ <property file="${src.ant.dir}/depend.properties"/>+ <property file="${src.ant.dir}/deploy.properties"/>- <property name="jsdoc.home"- location="${user.home}/local/packages/jsdoc-3.0.1"/>- <property name="jsdoc.ant.home"- location="${user.home}/local/packages/jsdoc3-ant-task"/>- <property name="yui-compressor.home"- location="${user.home}/local/packages/yuicompressor-2.4.7"/>- <property name="yui-compressor.ant.home"- location="${user.home}/local/packages/yui-compressor-ant-task-0.5"/>+ <include>+ <fileset dir="${src.depend.dir}" includes="${build.depends}"/>+ </include>+ <include file="${src.ant.dir}/css.build.xml"/>+ <include file="${src.ant.dir}/js.build.xml"/>++ <target name="init">+ <mkdir dir="${build.dir}"/>+ <mkdir dir="${dist.dir}"/>+ <mkdir dir="${lib.artifacts.dir}"/>+ <mkdir dir="${lib.packages.dir}"/>+ </target>- <taskdef name="jsdoc"- classname="net.jannon.ant.tasks.JsDoc3"- classpath="${jsdoc.ant.home}/jsdoc3-ant-task-1.0.jar:${jsdoc.home}/lib/js.jar"/>+ <target name="clean" description="Removes the build and dist directories">+ <delete dir="${build.dir}"/>+ <delete dir="${dist.dir}"/>+ </target>- <taskdef name="yui-compressor"- classname="net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask"- classpath="${yui-compressor.home}/build/yuicompressor-2.4.7.jar:${yui-compressor.ant.home}/bin/yui-compressor-ant-task-0.5.jar"/>+ <target name="distclean" depends="clean"+ description="Cleans and also removes the lib directory">+ <delete dir="${lib.dir}"/>+ </target>++ <target name="deps" depends="init">+ <subant target="resolve" inheritall="true" failonerror="true">+ <fileset dir="${src.depend.dir}" includes="${build.depends}"/>+ <property name="basedir" value="${basedir}"/>+ </subant>++ <taskdef name="jsdoc"+ classname="uk.co.darrenhurley.ant.tasks.JsDocToolkit"+ classpath="${jsdoc-ant.jar.path}:${jsdoc.home.dir}/java/classes/js.jar"/>++ <echo message="classpath: ${yui-compressor.jar.path}:${yui-compressor-ant.jar.path}"/>++ <taskdef name="yui-compressor"+ classname="net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask"+ classpath="${yui-compressor.jar.path}:${yui-compressor-ant.jar.path}"/>++ </target>- <target name="clean" description="deletes build and dist directories">- <delete dir="${build}"/>- <delete dir="${dist}"/>- </target>-- <target name="web" description="builds minified web site">- <delete dir="${web}"/>- <delete dir="${build}/minify"/>- <mkdir dir="${web}"/>- <mkdir dir="${build}/minify"/>+ <target name="doc" depends="deps"+ description="Generates documentation in the build directory">++ <!-- Depth = 1: Don't document the external libraries -->+ <jsdoc jsdochome="${jsdoc.home.dir}" template="jsdoc"+ outputdir="${build.doc.dir}" inputdir="${src.web.js.dir}"+ depth="1"/>+ </target>+ <target name="web" depends="init,deps" description="Builds minified web site">+ <delete dir="${build.web.dir}"/>+ <mkdir dir="${build.web.dir}"/>++ <!-- Construct temporary output of the minification here -->+ <delete dir="${build.dir}/minify"/>+ <mkdir dir="${build.dir}/minify"/>+<!-- Create a copy of all web resources.TODO: This would be easier if all files were contained under a'src' directory -->- <copy todir="${web}/css">- <fileset dir="${basedir}/css"/>+ <copy todir="${build.web.dir}/css">+ <fileset dir="css"/></copy>- <copy todir="${web}/data">- <fileset dir="${basedir}/data"/>+ <copy todir="${build.web.dir}/data">+ <fileset dir="data"/></copy>- <copy todir="${web}/images">- <fileset dir="${basedir}/images"/>+ <copy todir="${build.web.dir}/images">+ <fileset dir="images"/></copy>- <copy todir="${web}/js">- <fileset dir="${basedir}/js"/>+ <copy todir="${build.web.dir}/js">+ <fileset dir="js"/></copy>- <copy todir="${web}">+ <copy todir="${build.web.dir}"><fileset dir="${basedir}"><include name="index.html"/>+ <include name=".htaccess"/>+ <include name="release_notes.txt"/></fileset></copy><!-- Debug version that is not minified -->- <delete dir="${web.debug}"/>- <mkdir dir="${web.debug}"/>- <copy todir="${web.debug}">- <fileset dir="${web}"/>+ <delete dir="${build.web-debug.dir}"/>+ <mkdir dir="${build.web-debug.dir}"/>+ <copy todir="${build.web-debug.dir}">+ <fileset dir="${build.web.dir}"/></copy>-- <!-- WorldView stylesheet files to minify -->- <echo message="Concatenating Stylesheet Files"/>- <concat destfile="${build}/minify/worldview.css" force="no">-- <!-- JQuery -->- <fileset dir="${web}/css/ext"- includes="jquery/jquery.mobile-1.0rc2.css"/>-- <!-- Combo-handled YUI files -->- <fileset dir="${web}/css/ext"- includes="yui/combo-container-min.css"/>-- <!-- OpenLayers styles -->- <fileset dir="${web}/css/ext"- includes="openlayers-2.12/openlayers.defaulttheme.style.css"/>- <fileset dir="${web}/css/ext"- includes="openlayers-2.12/openlayers.example.style.css"/>- <fileset dir="${web}/css/ext"- includes="openlayers-2.12/openlayers.style.mobile-jq.css"/>-- <!-- SOTE styles -->- <fileset dir="${web}/css" includes="map.css"/>- <fileset dir="${web}/css" includes="dateSpan.css"/>- <fileset dir="${web}/css" includes="menuPicker.css"/>- <fileset dir="${web}/css" includes="accordionPicker.css"/>- <fileset dir="${web}/css" includes="bank.css"/>- <fileset dir="${web}/css" includes="selector.css"/>- <fileset dir="${web}/css" includes="sote.css"/>- <fileset dir="${web}/css" includes="ext/jcrop/jcrop.css"/>++ <!-- Combine all css and js files into one file -->+ <concat destfile="${build.dir}/minify/worldview.css" force="no">+ <filelist refid="css.files"/></concat>-- <!-- WorldView JavaScript files to minifiy -->- <echo message="Concatenating JavaScript Files"/>- <concat destfile="${build}/minify/worldview.js" force="no">-- <!-- Dependency -->- <fileset dir="${web}/js/ext"- includes="yui/yahoo-min.js"/>-- <!-- Event source file -->- <fileset dir="${web}/js/ext"- includes="yui/event-min.js"/>-- <!-- JQuery -->- <fileset dir="${web}/js/ext"- includes="jquery/jquery-1.6.4.js"/>- <fileset dir="${web}/js/ext"- includes="jqueryui-1.8.16/jquery-ui.min.js"/>- <fileset dir="${web}/js/ext"- includes="jquery/jquery.mobile-1.0rc2.js"/>-- <!-- Combo handled YUI files -->- <fileset dir="${web}/js/ext"- includes="yui/combo-event-dragdrop-container-min.js"/>-- <!-- External Javascript includes -->- <fileset dir="${web}/js/ext"- includes="openlayers-2.12/OpenLayers.js"/>- <fileset dir="${web}/js/ext"- includes="datejs/date.js"/>- <fileset dir="${web}/js/ext"- includes="jcrop/jcrop.js"/>-- <!-- SOTE component includes -->- <fileset dir="${web}/js" includes="component.js"/>- <fileset dir="${web}/js" includes="registry.js"/>- <fileset dir="${web}/js" includes="util.js"/>- <fileset dir="${web}/js" includes="map.js"/>- <fileset dir="${web}/js" includes="mapSote.js"/>- <fileset dir="${web}/js" includes="dateSpan.js"/>- <fileset dir="${web}/js" includes="rubberBand.js"/>- <fileset dir="${web}/js" includes="imageDownload.js"/>- <fileset dir="${web}/js" includes="menuPicker.js"/>- <fileset dir="${web}/js" includes="accordionPicker.js"/>- <fileset dir="${web}/js" includes="bank.js"/>- <fileset dir="${web}/js" includes="switch.js"/>- <fileset dir="${web}/js" includes="selector.js"/>- <fileset dir="${web}/js" includes="sote.js"/>+ <concat destfile="${build.dir}/minify/worldview.js" force="no">+ <filelist refid="js.files"/></concat>-+<!-- Build in a separate directory. Non-minified versions need to bedeleted, so do that first before copying in the minified files --><yui-compressor warn="false" charset="UTF-8"- fromdir="${build}/minify"- todir="${build}/minify">+ fromdir="${build.dir}/minify"+ todir="${build.dir}/minify"><include name="worldview.css"/><include name="worldview.js"/></yui-compressor><delete>- <fileset dir="${web}/css">- <include name="*.css"/>- </fileset>- <!-- Explicit until all files have been minified -->- <fileset dir="${web}/css/ext/jcrop">- <include name="jcrop.css"/>+ <fileset dir="${build.web.css.dir}">+ <include name="**/*.css"/></fileset>- <fileset dir="${web}/js">- <include name="*.js"/>+ <fileset dir="${build.web.js.dir}">+ <include name="**/*.js"/></fileset></delete>- <move file="${build}/minify/worldview-min.css" todir="${web}/css"/>- <move file="${build}/minify/worldview-min.js" todir="${web}/js"/>+ <move file="${build.dir}/minify/worldview-min.css" todir="${build.web.css.dir}"/>+ <move file="${build.dir}/minify/worldview-min.js" todir="${build.web.js.dir}"/><!-- Uncomment the references to the minified versions inthe index.html file --><replaceregexp- file="${web}/index.html"+ file="${build.web.dir}/index.html"match=".!--(.*worldview-min.css.*)--."replace="\1"/><replaceregexp- file="${web}/index.html"+ file="${build.web.dir}/index.html"match=".!--(.*worldview-min.js.*)--."replace="\1"/><!-- Remove references to the non-minified versions. Those linesshould contain the text "js.dev" or "css.dev" --><replaceregexp- file="${web}/index.html"+ file="${build.web.dir}/index.html"match="^.*css.dev.*$"replace=""byline="true"/><replaceregexp- file="${web}/index.html"+ file="${build.web.dir}/index.html"match="^.*js.dev.*$"replace=""byline="true"/>- </target>-- <target name="doc" description="builds documentation">- <delete dir="${doc}"/>- <mkdir dir="${doc}"/>- <jsdoc jsdochome="${jsdoc.home}" to="${doc}" dir="${src.js}"/>+ <!-- Move the jQuery images to a location where it can be found+ in the minified form -->+ <move todir="${build.web.dir}/images">+ <fileset dir="${build.web.css.dir}/ext/jquery/images">+ <include name="*"/>+ </fileset>+ </move>+</target>-+<target name="dist" depends="clean,web,doc"- description="generates distribution artifacts">- <tar destfile="${dist}/worldview.tar.bz2"- basedir="${build}" includes="worldview/**"+ description="Generates distribution artifacts">+ <tar destfile="${dist.dir}/worldview.tar.bz2"+ basedir="${build.dir}" includes="worldview/**"compression="bzip2"/>- <tar destfile="${dist}/worldview-debug.tar.bz2"- basedir="${build}" includes="worldview-debug/**"+ <tar destfile="${dist.dir}/worldview-debug.tar.bz2"+ basedir="${build.dir}" includes="worldview-debug/**"compression="bzip2"/>-- <tar destfile="${dist}/worldview-doc.tar.bz2"- basedir="${build}" includes="worldview-doc/**"+ <tar destfile="${dist.dir}/worldview-doc.tar.bz2"+ basedir="${build.dir}" includes="worldview-doc/**"compression="bzip2"/></target>---</project>\ No newline at end of file+</project>\ No newline at end of filediff --git a/download-deps b/download-depsdeleted file mode 100644index e9652af2d..000000000--- a/download-deps+++ /dev/null@@ -1,75 +0,0 @@-#!/bin/bash--set -e--VERSION_YUI_COMPRESSOR="2.4.7"-VERSION_YUI_COMPRESSOR_ANT="0.5"-VERSION_JSDOC="3.0.1"--PACKAGES=~/local/packages-ARTIFACTS=~/local/artifacts-TMP=~/local/tmp--RELEASE_YUI_COMPRESSOR="yuicompressor-$VERSION_YUI_COMPRESSOR"-ARTIFACT_YUI_COMPRESSOR="$RELEASE_YUI_COMPRESSOR.zip"-DIST_YUI_COMPRESSOR="https://github.com/downloads/yui/yuicompressor/$ARTIFACT_YUI_COMPRESSOR"--RELEASE_YUI_COMPRESSOR_ANT="yui-compressor-ant-task-$VERSION_YUI_COMPRESSOR_ANT"-ARTIFACT_YUI_COMPRESSOR_ANT="$RELEASE_YUI_COMPRESSOR_ANT.zip"-DIST_YUI_COMPRESSOR_ANT="http://javaflight-code.googlecode.com/files/yui-compressor-ant-task-0.5.zip"--RELEASE_JSDOC="jsdoc-$VERSION_JSDOC"-ARTIFACT_JSDOC="$RELEASE_JSDOC.tar.gz"-DIST_JSDOC="https://github.com/jsdoc3/jsdoc/archive/v${VERSION_JSDOC}.tar.gz"--RELEASE_JSDOC_ANT="jsdoc3-ant-task"-GIT_JSDOC_ANT="https://github.com/jannon/jsdoc3-ant-task"--mkdir -p "$PACKAGES"-mkdir -p "$ARTIFACTS"-mkdir -p "$TMP"--if [ ! -e "$ARTIFACTS/$ARTIFACT_YUI_COMPRESSOR" ] ; then- echo "Downloading $RELEASE_YUI_COMPRESSOR"- ( cd "$ARTIFACTS"; curl -O -L "$DIST_YUI_COMPRESSOR" )-fi--if [ ! -e "$PACKAGES/$RELEASE_YUI_COMPRESSOR" ] ; then- echo "Unpacking $RELEASE_YUI_COMPRESSOR"- ( cd "$PACKAGES"; unzip "$ARTIFACTS/$ARTIFACT_YUI_COMPRESSOR" > /dev/null )-fi--if [ ! -e "$ARTIFACTS/$ARTIFACT_YUI_COMPRESSOR_ANT" ] ; then- echo "Downloading $RELEASE_YUI_COMPRESSOR_ANT"- ( cd "$ARTIFACTS"; curl -O -L "$DIST_YUI_COMPRESSOR_ANT" )-fi--if [ ! -e "$PACKAGES/$RELEASE_YUI_COMPRESSOR_ANT" ] ; then- echo "Unpacking $RELEASE_YUI_COMPRESSOR_ANT"- mkdir -p "$PACKAGES/yui-compressor-ant-task-0.5"- ( cd "$PACKAGES/yui-compressor-ant-task-0.5"; \- unzip "$ARTIFACTS/$ARTIFACT_YUI_COMPRESSOR_ANT" > /dev/null )-fi--if [ ! -e "$ARTIFACTS/$ARTIFACT_JSDOC" ] ; then- echo "Downloading $RELEASE_JSDOC"- ( cd "$ARTIFACTS"; curl -o $ARTIFACT_JSDOC -L "$DIST_JSDOC" )-fi--if [ ! -e "$PACKAGES/$RELEASE_JSDOC" ] ; then- echo "Unpacking $RELEASE_JSDOC"- ( cd "$PACKAGES"; tar xf "$ARTIFACTS/$ARTIFACT_JSDOC" > /dev/null )-fi--if [ ! -e "$PACKAGES/$RELEASE_JSDOC_ANT" ] ; then- echo "Cloning $RELEASE_JSDOC_ANT"- rm -rf "$TMP/$RELEASE_JSDOC_ANT"- ( cd $TMP ; git clone "$GIT_JSDOC_ANT" )- echo "Building $RELEASE_JSDOC_ANT"- ant -f "$TMP"/$RELEASE_JSDOC_ANT/build.xml dist- echo "Copying artifact"- mkdir -p "$PACKAGES/$RELEASE_JSDOC_ANT"- cp "$TMP/$RELEASE_JSDOC_ANT/build/jar"/*.jar "$PACKAGES/$RELEASE_JSDOC_ANT"-fi--rm -rf "$TMP"diff --git a/src/ant/css.build.xml b/src/ant/css.build.xmlnew file mode 100644index 000000000..1f6db6926--- /dev/null+++ b/src/ant/css.build.xml@@ -0,0 +1,19 @@+<project name="css" basedir=".">++ <filelist id="css.files" dir="${src.web.css.dir}">+ <file name="ext/jquery/jquery.mobile-1.0rc2.css"/>+ <file name="ext/yui/combo-container-min.css"/>+ <file name="ext/openlayers-2.12/openlayers.defaulttheme.style.css"/>+ <file name="ext/openlayers-2.12/openlayers.example.style.css"/>+ <file name="ext/openlayers-2.12/openlayers.style.mobile-jq.css"/>+ <file name="map.css"/>+ <file name="dateSpan.css"/>+ <file name="menuPicker.css"/>+ <file name="accordionPicker.css"/>+ <file name="bank.css"/>+ <file name="selector.css"/>+ <file name="sote.css"/>+ <file name="ext/jcrop/jcrop.css"/>+ </filelist>++</project>\ No newline at end of filediff --git a/src/ant/depend.properties b/src/ant/depend.propertiesnew file mode 100644index 000000000..bab360858--- /dev/null+++ b/src/ant/depend.properties@@ -0,0 +1,6 @@+build.depends=\+ jsdoc/jsdoc.build.xml \+ jsdoc-ant/jsdoc-ant.build.xml \+ yui-compressor/yui-compressor.build.xml \+ yui-compressor-ant/yui-compressor-ant.build.xml+diff --git a/src/ant/depend/jsdoc-ant/jsdoc-ant.build.xml b/src/ant/depend/jsdoc-ant/jsdoc-ant.build.xmlnew file mode 100644index 000000000..50a52f9df--- /dev/null+++ b/src/ant/depend/jsdoc-ant/jsdoc-ant.build.xml@@ -0,0 +1,32 @@+<?xml version="1.0"?>+<project name="jsdoc-ant" basedir="." default="resolve">++ <dirname property="jsdoc-ant.basedir" file="${ant.file.jsdoc-ant}"/>+ <property file="${jsdoc-ant.basedir}/build.properties"/>++ <target name="resolve" depends="build"/>++ <target name="check-package">+ <available file="${jsdoc-ant.jar.path}" property="available"/>+ </target>++ <target name="build" depends="check-package" unless="available">+ <delete dir="${jsdoc-ant.repository}"/>++ <!-- Don't pull history, just get the latest -->+ <exec executable="git" dir="${lib.artifacts.dir}">+ <arg value="clone"/>+ <arg value="--depth"/>+ <arg value="1"/>+ <arg value="${jsdoc-ant.url}"/>+ </exec>++ <exec executable="ant" dir="${jsdoc-ant.repository}">+ <arg value="package"/>+ </exec>++ <copy file="${jsdoc-ant.repository}/build/jar/${jsdoc-ant.jar}"+ todir="${lib.packages.dir}"/>+ </target>++</project>diff --git a/src/ant/depend/jsdoc-ant/register-task.build.xml b/src/ant/depend/jsdoc-ant/register-task.build.xmlnew file mode 100644index 000000000..fbce5b377--- /dev/null+++ b/src/ant/depend/jsdoc-ant/register-task.build.xml@@ -0,0 +1,11 @@+<?xml version="1.0"?>+<project name="jsdoc-ant" basedir="." default="resolve">++ <dirname property="jsdoc-ant.basedir" file="${ant.file.jsdoc-ant}"/>+ <property file="${jsdoc-ant.basedir}/build.properties"/>++ <taskdef name="jsdoc"+ classname="uk.co.darrenhurley.ant.tasks.JsDocToolkit"+ classpath="${jsdoc-ant.jar.path}:${jsdoc.home.dir}/java/classes/js.jar"/>++</project>\ No newline at end of filediff --git a/src/ant/depend/jsdoc/jsdoc.build.xml b/src/ant/depend/jsdoc/jsdoc.build.xmlnew file mode 100644index 000000000..dbb8f3de3--- /dev/null+++ b/src/ant/depend/jsdoc/jsdoc.build.xml@@ -0,0 +1,33 @@+<?xml version="1.0"?>+<project name="jsdoc" basedir="." default="resolve">++ <dirname property="jsdoc.basedir" file="${ant.file.jsdoc}"/>+ <property file="${jsdoc.basedir}/build.properties"/>++ <target name="resolve" depends="download,unpack"/>++ <target name="download">+ <get src="${jsdoc.url}" dest="${lib.artifacts.dir}"+ skipexisting="true"/>+ </target>++ <target name="check-package">+ <available file="${jsdoc.package.dir}" property="available"/>+ </target>++ <target name="unpack" unless="available">+ <unzip src="${lib.artifacts.dir}/${jsdoc.artifact}"+ dest="${lib.packages.dir}"/>++ <!-- Ant task assumes different directory locations than what exists+ in the distribution at the moment. Simply copy the directories+ to where the task needs them -->+ <copy todir="${jsdoc.home.dir}/../jsdoc-toolkitapp">+ <fileset dir="${jsdoc.home.dir}/app"/>+ </copy>+ <copy todir="${jsdoc.home.dir}/../jsdoc-toolkittemplates">+ <fileset dir="${jsdoc.home.dir}/templates"/>+ </copy>+ </target>++</project>\ No newline at end of filediff --git a/src/ant/depend/yui-compressor-ant/yui-compressor-ant.build.xml b/src/ant/depend/yui-compressor-ant/yui-compressor-ant.build.xmlnew file mode 100644index 000000000..3480eeb66--- /dev/null+++ b/src/ant/depend/yui-compressor-ant/yui-compressor-ant.build.xml@@ -0,0 +1,23 @@+<?xml version="1.0"?>+<project name="yui-compressor-ant" basedir="." default="resolve">++ <dirname property="yui-compressor-ant.basedir" file="${ant.file.yui-compressor-ant}"/>+ <property file="${yui-compressor-ant.basedir}/build.properties"/>++ <target name="resolve" depends="download,unpack"/>++ <target name="download">+ <get src="${yui-compressor-ant.url}" dest="${lib.artifacts.dir}"+ skipexisting="true"/>+ </target>++ <target name="check-package">+ <available file="${yui-compressor-ant.package.dir}" property="available"/>+ </target>++ <target name="unpack" unless="available">+ <unzip src="${lib.artifacts.dir}/${yui-compressor-ant.artifact}"+ dest="${lib.packages.dir}/${yui-compressor-ant.package}"/>+ </target>++</project>\ No newline at end of filediff --git a/src/ant/depend/yui-compressor/yui-compressor.build.xml b/src/ant/depend/yui-compressor/yui-compressor.build.xmlnew file mode 100644index 000000000..79359b669--- /dev/null+++ b/src/ant/depend/yui-compressor/yui-compressor.build.xml@@ -0,0 +1,23 @@+<?xml version="1.0"?>+<project name="yui-compressor" basedir="." default="resolve">++ <dirname property="yui-compressor.basedir" file="${ant.file.yui-compressor}"/>+ <property file="${yui-compressor.basedir}/build.properties"/>++ <target name="resolve" depends="download,unpack"/>++ <target name="download">+ <get src="${yui-compressor.url}" dest="${lib.artifacts.dir}"+ skipexisting="true"/>+ </target>++ <target name="check-package">+ <available file="${yui-compressor.package.dir}" property="available"/>+ </target>++ <target name="unpack" unless="available">+ <unzip src="${lib.artifacts.dir}/${yui-compressor.artifact}"+ dest="${lib.packages.dir}"/>+ </target>++</project>\ No newline at end of filediff --git a/src/ant/js.build.xml b/src/ant/js.build.xmlnew file mode 100644index 000000000..d33df1ffd--- /dev/null+++ b/src/ant/js.build.xml@@ -0,0 +1,29 @@+<project name="js" basedir=".">++ <filelist id="js.files" dir="${src.web.js.dir}">+ <file name="ext/yui/yahoo-min.js"/>+ <file name="ext/yui/event-min.js"/>+ <file name="ext/jquery/jquery-1.6.4.js"/>+ <file name="ext/jqueryui-1.8.16/jquery-ui.min.js"/>+ <file name="ext/jquery/jquery.mobile-1.0rc2.js"/>+ <file name="ext/yui/combo-event-dragdrop-container-min.js"/>+ <file name="ext/openlayers-2.12/OpenLayers.js"/>+ <file name="ext/datejs/date.js"/>+ <file name="ext/jcrop/jcrop.js"/>+ <file name="component.js"/>+ <file name="registry.js"/>+ <file name="util.js"/>+ <file name="map.js"/>+ <file name="mapSote.js"/>+ <file name="dateSpan.js"/>+ <file name="rubberBand.js"/>+ <file name="imageDownload.js"/>+ <file name="menuPicker.js"/>+ <file name="accordionPicker.js"/>+ <file name="bank.js"/>+ <file name="switch.js"/>+ <file name="selector.js"/>+ <file name="sote.js"/>+ </filelist>++</project>\ No newline at end of file