husafan / diffable

Automatically exported from code.google.com/p/diffable
0 stars 0 forks source link

ResourceStorePath cannot be set for to an absolute Windows directory path #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set ResourceStorePath to a Windows directory (C:/diffable)
2. Starts the application server
3. As the directory don't start with a "/", Diffable consider the path as a 
relative path.

What is the expected output? What do you see instead?
The expected output would be the use of the directory defined in the 
configuration file.

What version of the product are you using? On what operating system?
Diffable 0.1
OS : Windows XP

Please provide any additional information below.

I would suggest to use a file URI scheme to distinguish an absolute path from a 
relative path.
An absolute path would be defined as :
ResourceStorePath=file://C:/diffable
or 
ResourceStorePath=file:///usr/somepath/

And for relative path it will be :
ResourceStorePath=diffable/

Original issue reported on code.google.com by ichae...@gmail.com on 16 Jul 2010 at 8:51

Attachments:

GoogleCodeExporter commented 9 years ago
Ack!  I like this suggestion and will get this in ASAP.

Original comment by joshharr...@google.com on 16 Jul 2010 at 10:08

GoogleCodeExporter commented 9 years ago
Change issue owner

Original comment by ichae...@gmail.com on 5 Aug 2010 at 7:09

GoogleCodeExporter commented 9 years ago
As suggested, we use a file URI scheme prefix to distinguish an absolute path 
from a relative path.
An absolute path is defined like below :
ResourceStorePath=file://C:/diffable
or 
ResourceStorePath=file:///usr/somepath/

And for relative path it is defined like this :
ResourceStorePath=diffable/

Original comment by ichae...@gmail.com on 6 Aug 2010 at 4:55