~nbrinza/zorba/parse-fragment

« back to all changes in this revision

Viewing changes to scripts/zt-wn-get

  • Committer: nbrinza at gmail
  • Date: 2012-05-10 19:51:19 UTC
  • mfrom: (10477.1.357 zorba)
  • Revision ID: nbrinza@gmail.com-20120510195119-avzpd2650etz191g
Merged with Zorba trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
  echo 'Arguments: [--workdir <workdir>] [--builddir <builddir>]'
23
23
  echo '           [--thesaurusurl <thesaurusurl>]'
24
24
  echo '           <zorba_repository>'
25
 
  echo '<zorba_repository> is the top-level SVN working copy.'
 
25
  echo '<zorba_repository> is the top-level BZR working copy.'
26
26
  echo '<workdir> is a temp directory to download and unzip XQTS (default: /tmp).'
27
27
  echo '<builddir> is the directory Zorba has been built in'
28
28
  echo '           (default: <zorba_repository>/build)'
71
71
echo Build dir is at $BUILD
72
72
 
73
73
# Compile thesaurus to binary format
74
 
mkdir -p $BUILD/test/rbkt/thesauri
75
 
THESAURUS_DEST="$BUILD/test/rbkt/thesauri/wordnet-en.zth"
 
74
mkdir -p $BUILD/LIB_PATH/edu/princeton/wordnet
 
75
THESAURUS_DEST="$BUILD/LIB_PATH/edu/princeton/wordnet/wordnet-en.zth"
76
76
echo "Compiling thesaurus to $THESAURUS_DEST..."
77
77
untar_dir=`mktemp -d "$WORK/thesaurus.XXXXXX"`
78
78
cd "$untar_dir"
83
83
rm -rf "$untar_dir"
84
84
 
85
85
echo Done.
86
 
echo Now re-run CMake in the build directory to pick up thesaurus tests.
 
86
 
87
87
# vim:set et sw=2 ts=2: