This content has been marked as final.
Show 2 replies
-
1. Re: NotUnpackedRARDeploymentUnitTestCase test
adrian.brock Nov 23, 2007 8:23 AM (in response to alesj)"alesj" wrote:
Since FileStructure 'recognises' all top level files, and as such DeploymentContext is created for underlying deployment. As such, I checked if there were no children.
Which looks like a wrong way od checking, if we allow the upper use case to be valid.
This test is out-of-date.
But, it's the JARStructure not the FileStructure that recognises it.
That's because in JBoss5 we don't require you have the correct extension
for top level deployments. We look at the structure instead.
In this case, there is a META-INF sub-folder so it is a jar. -
2. Re: NotUnpackedRARDeploymentUnitTestCase test
alesj Nov 23, 2007 8:29 AM (in response to alesj)"adrian@jboss.org" wrote:
But, it's the JARStructure not the FileStructure that recognises it."alesj" wrote:
As being recognised by JARStructure:17:19:26,484 TRACE [JARStructure] Recognised: unpacked-mcf1-not.arar 17:19:26,484 TRACE [VFSStructuralDeployersImpl] unpacked-mcf1-not.arar recognised by org.jboss.deplo yers.vfs.plugins.structure.jar.JARStructure@e31e33
;-)
The FileStructure recognision was only meant for the last part of my post - where I mention replacing NotDeployed with NoChildContexts. And how this is probably not a generic solution. ;-)