[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Deployment ClassPath and AOP

adrian@jboss.org do-not-reply at jboss.com
Tue Mar 25 14:35:07 EDT 2008


While looking at something else, this occurred to me.

In the updated version of the classloading spi the creation of the in memory
vfs url is now in a deployer so it can be customised
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/main/org/jboss/deployers/vfs/plugins/classloader/InMemoryClassesDeployer.java?revision=70666&view=markup

But it adds the virtual file to the end of the classpath.
I think this should really be at the beginning of the classpath
otherwise it is going to see the unweaved classes before the weaved classes?

Also I don't understand why the deployers are passing you the root url
and then you have to add "classes" onto it. Surely it should just be a case
that the "classes" url is what gets passed to you? You don't care that the classes
go in a directory called classes, it could be called something else?

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

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



More information about the jboss-dev-forums mailing list