Changeset 22202 for gs3-extensions


Ignore:
Timestamp:
2010-05-31T17:00:40+12:00 (14 years ago)
Author:
sjm84
Message:

Rather than moving greenstone libs to the mat extension folder these files now add the libs to their classpaths in their current location

Location:
gs3-extensions/mat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/mat/trunk/Mat.bat

    r22036 r22202  
     1SET gsdlhome=..\..
    12SET libraryPath=..\..\lib\jni
    2 SET classpath= build\classes
     3SET classpath= build\classes;%gsdlhome%\web\WEB-INF\lib\cp.jar;%gsdlhome%\web\WEB-INF\classes;%gsdlhome%\lib\jni\cp.jar;lib\jfreechart.jar;lib\jcommon.jar
    34java -Djava.library.path=%libraryPath% -Djava.ext.dirs="lib;." -classpath %classpath% org.greenstone.mat.CollectionChooser
  • gs3-extensions/mat/trunk/Mat.sh

    r22034 r22202  
    11check_Java_library(){
    22
    3 if [ -d "$3" -a -d "$4" ]; then
     3if [ -d "$3" ]; then
    44    echo "The environment has been configured correctly."
    55    echo "Metadata Quality Analysis Tool is starting now......."
     
    1919extdirs=$thisdir/lib
    2020
    21 classesdir=$thisdir/build/classes
     21classesdir=$thisdir/build/classes:$gsdlpath/web/WEB-INF/lib/cp.jar:$gsdlpath/web/WEB-INF/classes:$gsdlpath/lib/jni/cp.jar:lib/jfreechart.jar:lib/jcommon.jar
    2222
    2323echo "Metadata Quality Analysis Tool" $thisdir
Note: See TracChangeset for help on using the changeset viewer.