455330 Multiple Jetty-ContextFilePath entries separated by commas doesn't work
This commit is contained in:
parent
40ae4767d1
commit
89a9aa2472
|
@ -403,7 +403,7 @@ public abstract class AbstractWebAppProvider extends AbstractLifeCycle implement
|
|||
throw new IllegalStateException("Unable to get PackageAdmin reference to locate required Tld bundles");
|
||||
|
||||
StringBuilder paths = new StringBuilder();
|
||||
String[] symbNames = requireTldBundles.split(", ");
|
||||
String[] symbNames = requireTldBundles.split("[, ]");
|
||||
|
||||
for (String symbName : symbNames)
|
||||
{
|
||||
|
@ -452,7 +452,7 @@ public abstract class AbstractWebAppProvider extends AbstractLifeCycle implement
|
|||
String tmp = (String)_properties.get(OSGiWebappConstants.JETTY_CONTEXT_FILE_PATH);
|
||||
if (tmp != null)
|
||||
{
|
||||
String[] filenames = tmp.split(",;");
|
||||
String[] filenames = tmp.split("[,;]");
|
||||
if (filenames != null && filenames.length > 0)
|
||||
{
|
||||
String filename = filenames[0]; //should only be 1 filename in this usage
|
||||
|
|
|
@ -125,7 +125,7 @@ public class BundleContextProvider extends AbstractContextProvider implements Bu
|
|||
//bundle defines JETTY_CONTEXT_FILE_PATH header,
|
||||
//a comma separated list of context xml files that each define a ContextHandler
|
||||
//TODO: (could be WebAppContexts)
|
||||
String[] tmp = contextFiles.split(",;");
|
||||
String[] tmp = contextFiles.split("[,;]");
|
||||
for (String contextFile : tmp)
|
||||
{
|
||||
String originId = bundle.getSymbolicName() + "-" + bundle.getVersion().toString() + "-"+contextFile;
|
||||
|
|
Loading…
Reference in New Issue