Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 9b4ac56a209ee95148698f71e04646b228d0f340 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                               
                      




                                                                                                   

                                               




                                                                                                    

                                                       





                                                                                                        

                                               


    
#!/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