summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/old/antbuild
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/slaws/old/antbuild')
-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