Dimitris, I have tried adding the '.' to each of the suffixes in the 
SuffixOrderHelper and that does correct the issues identified in 'JBAS-1517'

I did originally try adding the '.' to the suffixes in the DeploymentSorter but 
these were overiden by the suffixes in the SuffixOrderHelper.

The two deployers that are registered later will also need their suffixes 
ammending, I think they were the BeanShell deployer and the Hibernate deployer.

Regarding the multiple deployers for the same deployment type, yes each 
deployment type can only be deployed by one deployer - however the file 
extension is not the only mechanism used to identify the deployment type.

The JARDepoyer, EJBDeployer and ClientDeployer all deploy files with the suffix 
'jar', their accepts method then checks the contents of the archive to see if 
it is for that deployer.

The first issue here is that the relative order is something specified by the 
deployer itself, however the ordering is based on the suffix so if multiple 
deployers can deploy archives with the same suffix their deployments must all 
have the same relative order.  Here you might like to be able to say that all 
EJB archives should be deployed before all Client archives.

If each deployer is updated to specify it's own suffix's and relative order 
there is also an issue regarding registering and unregistering the deployers as 
the list of suffixes is automatically updated.  You wouldn't want the 
undepoyment of a deployer that supports the 'jar' suffix to remove the 'jar' 
suffix from the list as other deployers can still deploy it.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870996#3870996

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870996


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to