hi jian, that doesn't work for some other environments. the current approach isn't compatible with all environments. (we know that we have to re-write the scanner completely.)
regards, gerhard 2012/5/8 Jian Ouyang <[email protected]> > OWB developers, > > For class AnnotationDB in package org.apache.webbeans.corespi.scanner: > The following method implementation > > private String ensureCorrectUrlFormat(String url) > { > //fix for wls > if(!url.startsWith("file:/")) > { > url = "file:/" + url; > } > return url; > } > > should be updated to (double forward slash instead single forward slash): > > private String ensureCorrectUrlFormat(String url) > { > //fix for wls > if(!url.startsWith("file:/")) > { > url = "file://" + url; > } > return url; > } > > Jian > > >
