I made a groovy script to slim JBoss EWP. It can be executed on windows and linux.
It comes with a config file to choose the components to remove :
It create a slimmed profile from another profile. A backup is created if slimmed profile already exists. An installed Groovy environment is a prerequisite.
Execute "groovy SlimmingJBossEWP51.groovy" without args for help.