X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=build.xml;h=7db2fcd274905ae433cc388fed466f17e73c848b;hb=9a33358173f08013fdacd02c11f3823352bdae23;hp=30e9c91d9a4bc9fce7fc8033bbd74a99cc6755c3;hpb=f35445729371789b3d496f426d7f87542f8e1a45;p=org.ibex.core.git
diff --git a/build.xml b/build.xml
index 30e9c91..7db2fcd 100644
--- a/build.xml
+++ b/build.xml
@@ -7,12 +7,6 @@
-
-
-
-
-
-
@@ -27,135 +21,43 @@
find . -name \*\~ | xargs rm -f
find . -name \#\*\# | xargs rm -f
- rm -rf bin-* bin xwt/html/dist/
+ rm -rf bin-* bin
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- # throw on the prefix/suffix where needed
- for A in `find www/html -name \*.html_`
- do (cat www/html/prefix.html; cat $A; cat www/html/suffix.html; cat "$A"_ 2>/dev/null; cat www/html/tagline.html) > `echo $A | sed s/_\$//g`
- done
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- find www/html -name \*~ | xargs rm -f
-
- # this is still pretty ugly...
- cp lib/j2ee-javax.jar lib/xmlrpc.jar lib/imap.jar lib/pop3.jar lib/mail.jar lib/mailapi.jar www/webapps/lib/
-
- # throw on the prefix/suffix where needed
- rm -f /tmp/delete-$$
- for A in `find www/html -name \*.html_`
- do (cat www/html/prefix.html; cat $A; cat www/html/suffix.html; cat "$A"_ 2>/dev/null; cat www/html/tagline.html) > `echo $A | sed s/_\$//g`
- echo $A | sed s/_\$//g >> /tmp/delete-$$
- done
-
- # in theory, we should be able to slam a fully-functional
- # copy of the xwt server onto any debian machine with the
- # right packages preinstalled (roughly: bind, apache, libapache-mod-ssl
- # apache-ssl, sshd, rsync, j2sdk, tomcat)
-
- # first, clone the currently running copy of xwt, so we can use rsync to save bandwidth
- ssh root@xwt.org "rm -rf /xwt-new; mkdir -p /xwt; mkdir -p /xwt-new; cd /xwt; tar cf - . | tar xf - -C /xwt-new"
-
- # now, rsync to process our changes
- rsync -Pv --delete -rze ssh www/ root@xwt.org:/xwt-new/www/
-
- # clean up generated html
- cat /tmp/delete-$$ | xargs rm
- rm -f /tmp/delete-$$
-
- # stop services, clean up, transfer control, and restart services
- ssh root@xwt.org "chmod +x /xwt-new/www/bounce.sh; /xwt-new/www/bounce.sh"
-
-
-