perfsonar-dev - perfsonar: r4484 - trunk/geant2_java-xml-ls/ant
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r4484 - trunk/geant2_java-xml-ls/ant
- Date: Fri, 12 Sep 2008 07:35:50 -0400
Author: mac
Date: 2008-09-12 07:35:50 -0400 (Fri, 12 Sep 2008)
New Revision: 4484
Modified:
trunk/geant2_java-xml-ls/ant/package.conf
trunk/geant2_java-xml-ls/ant/package.sh
Log:
packaging scripts
Modified: trunk/geant2_java-xml-ls/ant/package.conf
===================================================================
--- trunk/geant2_java-xml-ls/ant/package.conf 2008-09-12 11:35:17 UTC (rev
4483)
+++ trunk/geant2_java-xml-ls/ant/package.conf 2008-09-12 11:35:50 UTC (rev
4484)
@@ -1,4 +1,6 @@
#
+# Config for package.sh script
+#
VERSION="1.3"
@@ -13,4 +15,4 @@
LIB="$SERVICEDIR/WEB-INF/lib"
CONF="$SERVICEDIR/WEB-INF/classes/perfsonar/conf"
-WARFILE=$SERVICE.zip
\ No newline at end of file
+WARFILE="geant2-java-xml-ls.war"
\ No newline at end of file
Modified: trunk/geant2_java-xml-ls/ant/package.sh
===================================================================
--- trunk/geant2_java-xml-ls/ant/package.sh 2008-09-12 11:35:17 UTC (rev
4483)
+++ trunk/geant2_java-xml-ls/ant/package.sh 2008-09-12 11:35:50 UTC (rev
4484)
@@ -1,3 +1,10 @@
+
+#
+# Packaging script for XML LS
+# Author: Maciej Glowiak, 2008
+# $Id$
+#
+
#!/bin/sh
. package.conf
@@ -58,7 +65,6 @@
cp $BASEDIR/conf/conf-rpm/* $CONF
cp $BASEDIR/samples/requests/LSStore* $CONF
- cp $BASEDIR/samples/requests/LSStore* $CONF
echo "[ ] Remove .svn dirs"
@@ -88,7 +94,29 @@
}
+#
+# -----------------------------------------------------------------------
+# Do WAR file
+# -----------------------------------------------------------------------
+#
+do_deb_struct() {
+
+ echo "[ ] Do DEB struct"
+ echo "[ ] Removing old deb"
+ rm -rfv ../package/deb
+ mkdir -v ../package/deb
+ mkdir -v ../package/deb/debian
+ mkdir -v ../package/deb/build
+
+ echo "[ ] Copying package files"
+ cp ../../packaging/deb/geant2-java-xml-ls/* ../package/deb/debian
+}
+
+
+
+
+
case "$1" in
clean)
do_clean
@@ -99,10 +127,14 @@
war)
do_war
;;
+ deb)
+ do_deb_struct
+ ;;
all)
do_clean
do_structure
do_war
+ do_deb_struct
;;
*)
echo "Usage: $0 clean|structure|war|all" >&2
- perfsonar: r4484 - trunk/geant2_java-xml-ls/ant, svnlog, 09/12/2008
Archive powered by MHonArc 2.6.16.