source: main/trunk/greenstone3/JAVA-ONLY.sh@ 23972

Last change on this file since 23972 was 22975, checked in by davidb, 14 years ago

Running this file moves MG, MGPP and GDBM related files to one side. In doing so, the compiled runtime is 100% and will work with collections built using Lucene for indexing and JDBM for the database.

  • Property svn:executable set to *
File size: 483 bytes
Line 
1#!/bin/bash
2
3echo "Renaming MG and GDBM related source code to 'java..tmp' file names"
4
5pushd src/java/org/greenstone/gsdl3
6
7cd service
8echo " Processing 'service' directory"
9
10for f in *MG*java PhindPhraseBrowse.java ; do
11 if [ -e $f ] ; then
12 echo " $f -> $f.tmp"
13 /bin/mv $f $f.tmp
14 fi
15done
16
17cd ..
18
19
20cd util
21echo " Processing 'util' directory"
22
23for f in *GDBM*java ; do
24 if [ -e $f ] ; then
25 echo " $f -> $f.tmp"
26 /bin/mv $f $f.tmp
27 fi
28done
29cd ..
30
31popd
32
33
34
Note: See TracBrowser for help on using the repository browser.