>> org.jboss.deployment.SARDeployer
>> 
>> method parseXMLClasspath on line 292 
>> This method parses the Classpath element. But it adds each archive to a
>> HashSet.
>> Then iterates over the elements in the HashSet and deploys them. 
>> Changing the HashSet to an java.util.ArrayList or java.util.Vector solves
>> this
>> problem and retains the deployment order given by the archive list.
>> 
>> I wonder is there a particular need for the use of a HashSet.

DJ> A set is nice, avoids duplicates.

BTW, in CMP we are going to implement a so called sequenced set that
will contain unique elements in the order they were added. It
should help here too. But the question is how this fix is nice.

alex




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to