"dimitris@jboss.org" wrote:
This is a workaround, right? ;-)
// For non top level directories that don't look like jars // we require a META-INF otherwise each subdirectory would be a subdeployment
It needs to be documented as a change in behavior for sars. The separation of the deployers into a structure and non-structural phase has changed the way sars are handled. To restore the same behavior, we would have to introduce a SARStructure deployer rather than changing the JARStructure behavior. You could not have bsh scripts in an arbitrary jar in 4.x. It was up to the deployer as to whether or not it supported subdeployments.
I can 'hack' this SARStructure for the next release, just assign me a JIRA task. :-)