would like it for mid april but nothing official until today. - Romain
2012/3/2 Borislav Kapukaranov <[email protected]> > Thank you! :) > > Offtopic: Any idea when beta-3 will be available? > > On Fri, Mar 2, 2012 at 12:39 PM, Romain Manni-Bucau > <[email protected]>wrote: > > > our deployment is clearly based on unpack directory, however to discrover > > module type we don't unpack before (to avoid to unpack jar for instance). > > > > so we maybe have an issue here. > > > > I'll try to push a fix in the day within the following hour on the trunk. > > > > - Romain > > > > > > 2012/3/2 Borislav Kapukaranov <[email protected]> > > > > > Hello folks, > > > > > > Since last I wrote you I had success in making openEjb run on Equinox > and > > > got some examples up and running. > > > While testing I noticed that openEjb works fine when I deploy > unarchived > > > web apps, but fails to identify the WebModule when the app is archived. > > > This is due to this piece of code in * > > > org.apache.openejb.config.DeploymentLoader* (line 1419): > > > > > > if (!entry.isDirectory() && entryName.startsWith("WEB-INF/") && > > > entryName.indexOf('/', "WEB-INF/".length()) > 0) { > > > descriptors.put(entryName, new URL(jarURL, entry.getName())); > > > } > > > > > > Here *entryName="WEB-INF/web.xml"* and *entryName.indexOf('/', > "WEB-INF/" > > > .length())* returns -1, effectively ignoring the web.xml and not > > including > > > it in the descriptors collection. > > > Is this intentionally done? I'm new to openEjb so I could be missing > > > something fundamental. > > > > > > I'm using beta-2. > > > > > > In the unarchived case it works fine because the code just takes the > > > WEB-INF directory and adds all files under it that are not directories > in > > > the collection. > > > > > > Thanks, > > > Borislav > > > > > >
