OpenSextant / OpenSextantToolbox

A geotagger and entity extractor
Other
15 stars 7 forks source link

OpenSextantToolbox/LanguageResources/build.xml Unzips without Fetching #2

Closed CraigMiloRogers closed 11 years ago

CraigMiloRogers commented 11 years ago

in the build.xml file for the LanguageResources component of the OpenSextantToolbox repository, the unzip.prebuilt.gaz target doesn't depend upon the fetch.prebuilt.gaz target. This causes a top-level build to fail.

CraigMiloRogers commented 11 years ago

You could address this problem with something like:

    <!-- Have we already fetched the prebuilt gasetter data set? -->
    <target name="test.prebuilt.tgz">
            <available file="${basedir}/resources/geoGazetteer/${prebuilt.gaz.name}" property="prebuilt.tgz.exists" />
    </target>

    <!-- fetch the prebuilt gazetteer data set from opensextant.org -->
    <target name="fetch.prebuilt.gaz" depends = "setProxy,test.prebuilt.tgz" unless="prebuilt.tgz.exists">
dlutz2 commented 11 years ago

Fixed missing dependency