summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/old
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-11-12 11:38:46 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-11-12 11:38:46 +0000
commit4c68d70660cd03471fe96327ec64f520afec8614 (patch)
tree5640ee22f6eb6abaf9b4be0b73cb60f8e3922b33 /sandbox/slaws/old
parentd4e21265da73a99ba17c05c4a30b5fcc86e78e7c (diff)
move antbuild to old
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835346 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/slaws/old')
-rw-r--r--sandbox/slaws/old/antbuild/createClasspath.sh8
-rw-r--r--sandbox/slaws/old/antbuild/createWarContents.sh3
2 files changed, 11 insertions, 0 deletions
diff --git a/sandbox/slaws/old/antbuild/createClasspath.sh b/sandbox/slaws/old/antbuild/createClasspath.sh
new file mode 100644
index 0000000000..faad4b903c
--- /dev/null
+++ b/sandbox/slaws/old/antbuild/createClasspath.sh
@@ -0,0 +1,8 @@
+# mvn -X > tmp1
+# awk /C:/ tmp1 | sed 's/C:\\Documents and Settings\\slaws\\.m2\\repository/\<include name="/g' | sed 's/\.jar/\.jar"\/\>/g' | sed 's/\:/\n/g' | sed 's/\\*.*\\//g' | sed 's/^/\<include name="/' > tmp2
+#awk /\\[DEBUG\\].Test.Classpath/,/\\[DEBUG\\].Setting.system.property/ tmp1
+
+mvn -X > tmp1
+awk /\\[DEBUG\\]...C:/ tmp1 > tmp2
+awk /[DEBUG]/ tmp2 | sed 's/\[DEBUG\] C:\\Documents and Settings\\slaws\\.m2\\repository/\<pathelement location="\$\{m2\.repo\}/g' | sed 's/\.jar/\.jar"\/\>/g' | sed 's/\:/\n/g' > tmp2
+
diff --git a/sandbox/slaws/old/antbuild/createWarContents.sh b/sandbox/slaws/old/antbuild/createWarContents.sh
new file mode 100644
index 0000000000..8effe43eae
--- /dev/null
+++ b/sandbox/slaws/old/antbuild/createWarContents.sh
@@ -0,0 +1,3 @@
+jar tvf sample-helloworld-ws-sdo-webapp.war | grep .jar | awk '{ printf "%s\n", $8 }' | sed -e "s/WEB-INF\/lib\///" | awk '{ printf "<include name=\"%s\"/>\n", $1 }' | grep tuscany
+
+jar tvf sample-helloworld-ws-sdo-webapp.war | grep .jar | awk '{ printf "%s\n", $8 }' | sed -e "s/WEB-INF\/lib\///" | awk '{ printf "<include name=\"%s\"/>\n", $1 }' | grep -v tuscany