Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Webster2013-02-26 08:26:21 -0500
committerPaul Webster2013-02-26 08:29:27 -0500
commit1efe2b77210c255cbae1977642f972bf3588e618 (patch)
treeea5ad8435f80dffef70c18914d3b9b0dee188511 /scripts
parent1b881a1e1fa7b88db9cad6c72ba97f48556ea17d (diff)
downloadeclipse.platform.releng.aggregator-1efe2b77210c255cbae1977642f972bf3588e618.tar.gz
eclipse.platform.releng.aggregator-1efe2b77210c255cbae1977642f972bf3588e618.tar.xz
eclipse.platform.releng.aggregator-1efe2b77210c255cbae1977642f972bf3588e618.zip
Update to include eclipse-test-plugin POMs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xsl/groupId.sh12
-rwxr-xr-xscripts/xsl/xgroupId.sh31
2 files changed, 43 insertions, 0 deletions
diff --git a/scripts/xsl/groupId.sh b/scripts/xsl/groupId.sh
index 9d8d3e14..4c126881 100755
--- a/scripts/xsl/groupId.sh
+++ b/scripts/xsl/groupId.sh
@@ -33,3 +33,15 @@ rm "${POM}.out"
done
+find * -name pom.xml -print0 | xargs -0 grep eclipse-test-plugin | cut -f1 -d: | sort -u >/tmp/t1_$$.txt
+
+for POM in $( cat /tmp/t1_$$.txt ); do
+$ECLIPSE -noSplash \
+-application org.eclipse.ant.core.antRunner -v \
+-buildfile run-xsl.xml \
+-Dfile.sheet="fix-pom.xsl" \
+-Dfile.in="$(pwd)/$POM" \
+-Dfile.out="$(pwd)/${POM}.out"
+xmllint --format "${POM}.out" >"${POM}"
+rm "${POM}.out"
+done
diff --git a/scripts/xsl/xgroupId.sh b/scripts/xsl/xgroupId.sh
new file mode 100755
index 00000000..db0bf7f8
--- /dev/null
+++ b/scripts/xsl/xgroupId.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+ECLIPSE=/opt/local/e4-self/R421/eclipse/eclipse
+
+if [ $# -gt 0 ]; then
+ ECLIPSE="$1" ; shift
+fi
+
+find * -name pom.xml -print0 | xargs -0 grep eclipse-plugin | cut -f1 -d: | sort -u >/tmp/t1_$$.txt
+
+for POM in $( cat /tmp/t1_$$.txt ); do
+xsltproc -o "${POM}.out" fix-pom.xsl "${POM}"
+mv "${POM}.out" "${POM}"
+done
+
+find * -name pom.xml -print0 | xargs -0 grep eclipse-feature | cut -f1 -d: | sort -u >/tmp/t1_$$.txt
+
+for POM in $( cat /tmp/t1_$$.txt ); do
+xsltproc -o "${POM}.out" fix-feature-pom.xsl "${POM}"
+mv "${POM}.out" "${POM}"
+done
+
+
+find * -name pom.xml -print0 | xargs -0 grep eclipse-test-plugin | cut -f1 -d: | sort -u >/tmp/t1_$$.txt
+
+for POM in $( cat /tmp/t1_$$.txt ); do
+xsltproc -o "${POM}.out" fix-pom.xsl "${POM}"
+mv "${POM}.out" "${POM}"
+done
+
+

Back to the top