Hi Ivan,
Generally we use jira to track any issue, [1] for more details.
Would you please fill a jira to track this issue?
[1]http://issues.apache.org/activemq/browse/SM
Thanks
Freeman
ivan wrote:
Hi!
I've decided to create new thread. May be it would be better if I use
your bug-trace system.. But I've never done it... So, "bug".
What do I mean under "bug"?
Project:
servicemix-core
Class:
org.apache.servicemix.jbi.framework.AutoDeploymentService
Method: unpackLocation.
In code:
if (location.startsWith(filePrefix)) {
URI uri = new URI(location);
file = new File(uri);
} else {
file = new File(location);
}
URI uri = new URI(location) throws exception because URI can work the
only with slaches ("/"), but location is calculated with backslashes.
See:
Project:
servicemix-core
Class:
org.apache.servicemix.jbi.container.DeploySupport
Method:
getHomeDir()
public String getHomeDir() {
if (homeDir == null) {
homeDir = System.getProperty("user.home", "~");
}
return homeDir;
}
Method returns something like "C:\Documents and Settings\Ivan" (with
bachslashes).
Thanks!
truly yours, Ivan Privalov.