The Artima Developer Community
Sponsored Link

ScalaTest/ScalaUtils Forum
space a separator for runpath

1 reply on 1 page. Most recent reply: Jan 31, 2008 6:04 AM by Bill Venners

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
David Bernard

Posts: 109
Nickname: davidb31
Registered: Dec, 2007

space a separator for runpath Posted: Jan 29, 2008 7:23 AM
Reply to this message Reply
Advertisement
Why using space as path separator instead of File.pathSeparatorChar like classpath ?

How do you handle space of directory name ?


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: space a separator for runpath Posted: Jan 31, 2008 6:04 AM
Reply to this message Reply
> 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.

Flat View: This topic has 1 reply on 1 page
Topic: doesn't work with scala-2.7.0-RC2 Previous Topic   Next Topic Topic: SUnit vs. ScalaTest

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use