[jboss-dev] MC 2.2.x update

Adrian Brock abrock at redhat.com
Tue Jan 12 15:11:45 EST 2010


This is broken for me.

I can't compile the testsuite.

[javac] /home/ejort/development/jboss-6.x/testsuite/src/main/org/jboss/test/profileservice/persistenceformat/test/JBossBeansPersistenceFormatTestCase.java:151: cannot access org.jboss.dependency.spi.dispatch.LifecycleDispatchContext
    [javac] class file for
org.jboss.dependency.spi.dispatch.LifecycleDispatchContext not found
    [javac]       BeanMetaData bmd = ctx.getBeanMetaData();

One problem seems to be it is picking up old org.jboss.microcontainer
dependencies from a number of places, e.g. the seam mc integration.

[testsuite]$ mvn dependency:tree | grep org\.jboss\.microcontainer
[INFO] |  +- org.jboss.microcontainer:jboss-kernel:jar:2.0.9.GA:compile
[INFO] |  \-
org.jboss.microcontainer:jboss-aop-mc-int:jar:2.0.9.GA:compile
[INFO] |  \-
org.jboss.microcontainer:jboss-jmx-mc-int:jar:2.2.0.M2:compile
[INFO] |  +-
org.jboss.microcontainer:jboss-dependency:jar:2.0.5.GA:compile

Although the main problem was that build.xml still referenced
the org.jboss.microcontainer paths which are still generated
in testsuite/output/build-dependencies.xml because of the
spurious transient dependencies.

[testsuite]$ svn diff
Index: build.xml
===================================================================
--- build.xml   (revision 99310)
+++ build.xml   (working copy)
@@ -342,9 +342,9 @@
       <fileset refid="org.jboss.cl:jboss-classloader:jar"/>
       <fileset refid="org.jboss.cl:jboss-classloading:jar"/>
       <fileset refid="org.jboss.cl:jboss-classloading-vfs:jar"/>
-      <fileset refid="org.jboss.microcontainer:jboss-aop-mc-int:jar"/>
-      <fileset refid="org.jboss.microcontainer:jboss-dependency:jar"/>
-      <fileset refid="org.jboss.microcontainer:jboss-kernel:jar"/>
+      <fileset refid="org.jboss.kernel:jboss-aop-mc-int:jar"/>
+      <fileset refid="org.jboss.kernel:jboss-dependency:jar"/>
+      <fileset refid="org.jboss.kernel:jboss-kernel:jar"/>

On Tue, 2010-01-12 at 17:57 +0100, Ales Justin wrote:
> I just updated AS trunk with a bunch of new MC stuff.
> 
> Few issues first:
> (a) new logging-service-metadata is required, using my 
> 1.0.0.CR5-SNAPSHOT atm
> (b) we now differentiate metadata locations in deployers: 
> https://jira.jboss.org/jira/browse/JBDEPLOY-232
> (c) Kernel's lifecycle callbacks are re-written to plain OO
> (d) ugly warning at undeploy wrt QualifiersMdrUtil
> (e) saw NPE at undeploy from Carlo's naming hack
> 
> For (a) I already asked DML to provide a new release.
> Wrt (b) some deployers need updating; e.g. JPA, Tld (I fixed this one), ...
> If somebody was using AOP's pointcuts with (c), they won't work anymore.
> Kabir is looking into (d), at least I hope he is. :-)
> Carlo needs to fix (e) -- if not yet fixed.
> 
> New stuff:
> (a) asynch controller mode in Kernel
> (b) separate Classpool project -- soon to follow Reflect on Javassist
> (c) deployers sorting opt
> (d) annotation plugin matching, less heavy MDR lookup
> (e) optimized ScopeKey in MDR
> (f) MC+Weld integration; define services using Weld
> (g) updated modification synch check -- filtering only known files
> (h) CDI type of injection lookup; qualifiers based, etc
> (i) MC+OSGi-facade service mix will be available on new api
> ...
> 
> I'm sure some issues will pop-up, so bare with me.
> Simply report them on our "AS dev" forum: 
> http://www.jboss.org/index.html?module=bb&op=viewforum&f=208
> and I'll have a look.
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss by Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list