You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2007/09/09 20:19:38 UTC

svn commit: r574047 - in /incubator/tuscany/sandbox/slaws/antbuild: ./ createClasspath.sh

Author: slaws
Date: Sun Sep  9 11:19:36 2007
New Revision: 574047

URL: http://svn.apache.org/viewvc?rev=574047&view=rev
Log:
script to calculate the ant classpath from mvn

Added:
    incubator/tuscany/sandbox/slaws/antbuild/
    incubator/tuscany/sandbox/slaws/antbuild/createClasspath.sh

Added: incubator/tuscany/sandbox/slaws/antbuild/createClasspath.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/slaws/antbuild/createClasspath.sh?rev=574047&view=auto
==============================================================================
--- incubator/tuscany/sandbox/slaws/antbuild/createClasspath.sh (added)
+++ incubator/tuscany/sandbox/slaws/antbuild/createClasspath.sh Sun Sep  9 11:19:36 2007
@@ -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
+



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org