Changeset 8415


Ignore:
Timestamp:
2004-10-22T16:08:41+13:00 (20 years ago)
Author:
schweer
Message:

don't drop the database before a rebuild: it is needed to detect changes

Location:
branches/alerting-branch/gsdl3/bin/script
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/alerting-branch/gsdl3/bin/script/gs3-build.bat

    r8082 r8415  
    1919:run
    2020
    21 :: first we need to drop the database if it exists
    22 echo trying to drop the database
    23 "%GSDL3HOME%\packages\mysql\bin\mysql" --user=root --execute="drop database %1_%2;"
    2421java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser  org.greenstone.gsdl3.gs3build.Build -site %1 -collect %2
    2522
  • branches/alerting-branch/gsdl3/bin/script/gs3-build.sh

    r7814 r8415  
    1515collectionname=$2
    1616
    17 # first we need to drop the database if it exists
    18 echo "trying to drop the database"
    19 $GSDL3HOME/packages/mysql/bin/mysql --user=root --execute="drop database ${sitename}_${collectionname};"
    2017# we need to stop here if the database isn't running - how can we tell??
    2118java -DGSDL3HOME=$GSDL3HOME -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site $sitename -collect $collectionname
Note: See TracChangeset for help on using the changeset viewer.