summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/antbuild/createClasspath.sh
blob: faad4b903cf0af73e0a34106df056521352302d3 (plain)
1
2
3
4
5
6
7
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