Update of /cvsroot/monetdb/clients/src/java
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14413/src/java

Modified Files:
      Tag: Clients_1-18
        version.sh 
Log Message:

Java related version numbers are not maintained via vertoo (any more),
but via clients/src/java/version.sh;
hence, we extend the latter to also update the Java related version numbers
outside clients/, i.e., in
sql/NT/MonetDB4-SQL/MonetDB4-Installer.vdproj
sql/NT/MonetDB5-SQL/MonetDB5-Installer.vdproj
sql/src/jdbc/tests/Tests/Test_JdbcClient.SQL.bat
sql/src/jdbc/tests/Tests/Test.SQL.bat
pathfinder/NT/MonetDB-XQuery/MonetDB-XQuery.vdproj
pathfinder/NT/MonetDB4-XQuery/MonetDB4-Installer.vdproj
pathfinder/tests/BugTracker/Tests/JDBC_250_results.SF-1730556.XQUERY.bat


Index: version.sh
===================================================================
RCS file: /cvsroot/monetdb/clients/src/java/version.sh,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -d -r1.3.2.1 -r1.3.2.2
--- version.sh  5 Jun 2007 11:31:45 -0000       1.3.2.1
+++ version.sh  5 Jun 2007 18:02:32 -0000       1.3.2.2
@@ -110,14 +110,31 @@
        -e "s|Release date: 20[0-9][0-9]-[01][0-9]-[0-3][0-9]|Release date: 
`date +%F`|" \
        ${file} | ${diff} ${file} - | ${patch}
 
-file="Makefile.ag"
-for f in $FILES ; do
-       fr=${f//XXX/${NEW_MAJOR}.${NEW_MINOR}}
-       fo=${f//XXX/${ESC_MAJOR}.${ESC_MINOR}}
-       fo=${fo//./\\.}
-       sed \
-       -e "s|${fo}|$fr|g" \
-               ${file} | ${diff} ${file} - | ${patch}
+for file in \
+       "Makefile.ag" \
+       "../../../sql/NT/MonetDB4-SQL/MonetDB4-Installer.vdproj" \
+       "../../../sql/NT/MonetDB5-SQL/MonetDB5-Installer.vdproj" \
+       "../../../sql/src/jdbc/tests/Tests/Test_JdbcClient.SQL.bat" \
+       "../../../sql/src/jdbc/tests/Tests/Test.SQL.bat" \
+       "../../../pathfinder/NT/MonetDB-XQuery/MonetDB-XQuery.vdproj" \
+       "../../../pathfinder/NT/MonetDB4-XQuery/MonetDB4-Installer.vdproj" \
+       
"../../../pathfinder/tests/BugTracker/Tests/JDBC_250_results.SF-1730556.XQUERY.bat"
 \
+       ; do
+       if [ -f ${file} ] ; then
+               for f in $FILES ; do
+                       fr=${f//XXX/${NEW_MAJOR}.${NEW_MINOR}}
+                       fo=${f//XXX/${ESC_MAJOR}.${ESC_MINOR}}
+                       fo=${fo//./\\.}
+                       sed \
+                       -e "s|${fo}|$fr|g" \
+                               ${file} | ${diff} ${file} - | ${patch}
+               done
+       else
+               echo
+               echo "'${file}' not found."
+               echo "Please do not forget to replace '${fo}' by '${fr}' in 
'.../${file#*../}'."
+               echo
+       fi
 done
 
 file="build.properties"


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to