1 #MODULES=$(sed -n 's|.*module.*/plugins/[^/]*/\([^/]*\)\.iml.*|\1|p' .idea/modules.xml |sort |uniq)
2 #MODULES=$(sed -n 's|.*module.*/plugins/.*/\([^/]*\)\.iml.*|\1|p' .idea/modules.xml |sort |uniq)
3 #MODULES="jetgroovy jetgroovy-tests" # groovy too new?
4 #MODULES="$MODULES IntelliLangJava" # depends on groovy
5 #MODULES="$MODULES cvs-core cvs-plugin" # patched trilead
6 #MODULES="$MODULES svn4idea svn4idea-tests" # patched svnkit
7 MODULES
="$MODULES maven" # dependencies
11 sed -i "s|<\(module.*/plugins/.*/$M.iml.*\)>|<!-- \1 -->|" .idea
/modules.xml
12 sed -i "s|<\([^!].*module-name=\"$M\".*\)>|<!-- \1 -->|" community-main.iml
16 awk '/^ }/ {if (plugins) plugins--}
18 /dir\("plugins"\)/ {plugins++}' <build
/scripts
/layouts.gant
>build
/scripts
/layouts.gant.new
19 mv build
/scripts
/layouts.gant.new build
/scripts
/layouts.gant