Hello,
I've been having trouble with my integration tests using maven and cargo.
It seemed that $ui didn't load the default skin correctly.
After tracing it down, in UIManager it states in init (Object data)
, resourcesDirectory =
stripSlashes(TurbinePull.getResourcesDirectory());
and resourcesDirectory is used in loadSkin () to get the resource reference
to the skin by calling InputStream is =
TurbineServlet.getResourceAsStream(sb.toString());
In my tests getResourceAsStream returns a null, and things start to fail.
The tomcat 5.5 documentation states its parameter should start with a slash
"/" in order to return something, while in init the slashes just got
stripped by stripSlashes.
When I add the first slash manually, everything works fine again.
Anybody has any idea why the slashes are stripped? Could it be removed?
And maybe more interesting: why does it work well in my other deployments?
Then only reason I can think of that I develop with tomcat 5.5.23, while
the tests are being done with 5.5.27...
Regards, Bo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]