Revision: 15121
http://gate.svn.sourceforge.net/gate/?rev=15121&view=rev
Author: markagreenwood
Date: 2012-01-18 22:43:34 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
removed a db script now we have removed the db stuff from gate
Removed Paths:
-------------
gate/trunk/build/checkSql.sh
Deleted: gate/trunk/build/checkSql.sh
===================================================================
--- gate/trunk/build/checkSql.sh 2012-01-18 22:42:14 UTC (rev 15120)
+++ gate/trunk/build/checkSql.sh 2012-01-18 22:43:34 UTC (rev 15121)
@@ -1,33 +0,0 @@
-#!/bin/sh
-# checkSql.sh
-# $Id$
-
-# find instances of constants in sql and java (disregard case)
-#
-# looks at all .sql and .spc files in ../src and all .java
-# files in ../src/gate/persist
-#
-# if you use -debug flag, then it prints out the whole matches that
-# it is using to figure out the constants
-
-CONSTANTS=\
-"invalid_user_pass incomplete_data"
-
-DEBUG=n
-[ x$1 = x-debug ] && DEBUG=y
-
-JAVA=`find ../src/gate/persist -name '*.java' -print`
-SQL=\
-"`find ../src -name '*.sql' -print` `find ../src -name '*.spc' -print`"
-
-for c in $CONSTANTS
-do
- echo looking for $c...
- SQL_E=`grep -i "$c,.*[0-9]" $SQL |sed 's,.*\(-[0-9]*\)).*,\1,`
- JAVA_E=`grep -i "$c.*=" $JAVA |sed 's,.*=\(.*\);,\1,`
- [ $DEBUG = y ] && SQL_E=`grep -i "$c,.*[0-9]" $SQL`
- [ $DEBUG = y ] && JAVA_E=`grep -i "$c.*=" $JAVA`
- echo SQL constant value = $SQL_E
- echo JAVA constant value = $JAVA_E
- echo
-done
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs