10 Replies Latest reply on Mar 27, 2008 10:39 AM by Kabir Khan

    Deployment ClassPath and AOP

    Adrian Brock Master

      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?