Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'production/miscToolsAndNotes/xslUtilityScripts/xgroupId.sh')
-rwxr-xr-xproduction/miscToolsAndNotes/xslUtilityScripts/xgroupId.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/production/miscToolsAndNotes/xslUtilityScripts/xgroupId.sh b/production/miscToolsAndNotes/xslUtilityScripts/xgroupId.sh
new file mode 100755
index 000000000..9b4ac56a2
--- /dev/null
+++ b/production/miscToolsAndNotes/xslUtilityScripts/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