-
1. Re: scanning jars in classpath
nickarls May 25, 2009 1:55 PM (in response to mikewse)Hmm, I can't directly find a spec-reference but one would think it could be problematic if every single JAR in the classpath would be scanned and have the classes converted to Beans.
But it would probably be handy for a way of listing a set of JARs to include.
Pete is the bootstrap-wizard so he can probably give more insight...
-
2. Re: scanning jars in classpath
mikewse May 25, 2009 3:33 PM (in response to mikewse)Ah, just found the definition in the
spec:Section 12.1 says that I must have a META-INF/beans.xml file in every archive to be scanned. I'll go ahead and try that!
-
3. Re: scanning jars in classpath
mikewse May 25, 2009 4:47 PM (in response to mikewse)Unfortunately that didn't seem to work. Any comments on when this will be supported in the RI?
-
4. Re: scanning jars in classpath
mikewse May 26, 2009 10:14 PM (in response to mikewse)I had a look in the source which seems to confirm that this is not implemented. (side note: OpenWebBeans does, using the scannotation lib)
I added WBRI-272 to JIRA and hope for the next release ;-).