/[SQLSession]/trunk/schemaSpy/update.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/schemaSpy/update.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110 - (show annotations)
Mon Apr 9 21:54:06 2007 UTC (17 years, 1 month ago) by dpavlin
File MIME type: application/x-sh
File size: 553 byte(s)
create spy directory if needed
1
2 dir=../share/web/static
3
4 test -e $dir || exit 1
5
6 test -d $dir/spy || mkdir $dir/spy
7
8 cat dbs.txt | xargs -i java -jar schemaSpy_3.1.1.jar -cp /usr/share/java/postgresql.jar -t pgsql -host localhost -u dpavlin -db {} -s public -o $dir/spy/{} -desc '<a href\="/">back to SQLSession</a>'
9
10 # remove extra links to sourcefourge.net which seem to confuse my students :-)
11 perl -p -i -n -e 's/<(a|li|td|tr|span).+sourceforge.net.+\1>//ig' $dir/spy/*/*.html $dir/spy/*/*/*.html
12 perl -p -i -n -e 's/Please.+this project//i' $dir/spy/*/*.html $dir/spy/*/*/*.html

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26