source: main/trunk/greenstone3/NO-JNI.sh@ 23848

Last change on this file since 23848 was 23848, checked in by davidb, 13 years ago

Handy script to knock out the Java files that are not needed when compiling Greenstone3 up without JNI support

  • 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.