It looks like extensions don't work in webapps because LauncherImpl getInstallDirectory is returning a bad File. The URL obtained for the LauncherImpl class is:
jar:jndi:/localhost/scriptWebapp/WEB-INF/tuscany/boot/core- 1.0-incubator-M2-SNAPSHOT.jar!/org/apache/tuscany/core/launcher/LauncherImpl.class so the FIle that ends up being returned is: jndi:\localhost\scriptWebapp\WEB-INF\tuscany so later in DirectoryScanExtender init the test for if the extensionDir.isDirectory returns false. An ideas what the correct thing for getInstallDirectory to be doing? ...ant
