Results of a quick debug check:

On windows the arquillian-junit.jar is pushed to temp and renamed to:

[temp]/arquillian-junit-1163337363386056329.jar <-- The number is just a
timestamp

The app then compares the URI directly to:

[lib]/arquillian-junit.jar

Obviously it does not find it and adds it the urls list - We then have two
jars in the same classloader.

I guess this is the same for 'any' temp jar.

I don't know if we have any helper methods to check this, but modifying the
'addIfNotExist' method to check for this is a quick fix.

--
View this message in context: 
http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-4-0-0-beta-2-TomEE-1-0-0-beta-2-tp4274468p4285702.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to