|
|
Re: space a separator for runpath
|
Posted: Jan 31, 2008 6:04 AM
|
|
> Why using space as path separator instead of > File.pathSeparatorChar like classpath ? > We allow URLs in the runpath, so that JAR files and class files can be downloaded across a network. SuiteRunner, the Java testing tool on which ScalaTest is based, was originally written to facilitate Jini testing. URLs have a : in them, so : doesn't work as path separator.
> How do you handle space of directory name ? > Currently we don't. We are in the process of making an ant task, and we're checking into how ant deals with spaces in directories, and whether or not ant accepts URLs. I'm also going to ask some folks who used SuiteRunner for Jini testing to what extent they needed URLs in the runpath. I would like to support spaces in directory names, and what we may do is have two ways to specify a runpath, one that uses spaces to separate elements, and one that uses the File.pathSeparatorChar. And I do want to allow spaces in path names as well. This will likely be in the 0.9.2 release.
|
|