- changed status to resolved
Tikal : %20 bug in getAppRootDirectory, problem loading plugins
Original [issue 162](https://code.google.com/p/okapi/issues/detail?id=162) created by bach2k%gazeta...@gtempaccount.com on 2011-02-02T10:52:57.000Z:
What steps will reproduce the problem? 1. Run tikal with pugins in any path that has space in name for ex. "Program Files/tikal" 2. 3.
What is the expected output? What do you see instead?
Plugins should be loaded from "Program Files/tikal/dropins". Instead tikal searches "Program%20Files/tikal".
What version of the product are you using? On what operating system?
0.9, WinXP
Please provide any additional information below.
The error is in method Main:getAppRootDirectory in line
return Util.getDirectoryName(Util.getDirectoryName(url.getPath()));
use URI instead for ex. this should be fine:
new File(url.toURI()).getCanonicalFile()
best regards
Comments (1)
-
Account Deleted - Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=162#c1) originally posted by @ysavourel on 2011-02-02T12:32:50.000Z:
Fixed. Should be in next snapshot. Thanks.