Re: [kepler-dev] [Fwd: Re: kepler/src/util URLToLocalFile.java]

2006-02-02 Thread Christopher Brooks
Ok, this is fixed. I created a test that creates a URL by calling new URL("http", null, /foo); and then pass the string to ptolemy.util.FileUtilities.nameToURL() and I was getting http:/foo back. I modified the code so I now get http://foo back. The test is: test FileUtilities-8.7 {nameToURL:

Re: [kepler-dev] [Fwd: Re: kepler/src/util URLToLocalFile.java]

2006-02-02 Thread Kevin Ruland
Well, it seems I cannot reproduce the problem Efrat was having. Maybe that was a data problem. However, even with the test workflow, and the previous revision of URLToLocalFile, I cannot reproduce the problem. Kevin Dan, I was talking to Efrat a while ago, and I think this fix actually c

Re:kepler/src/util URLToLocalFile.java

2006-02-02 Thread Kevin Ruland
Dan, I was talking to Efrat a while ago, and I think this fix actually covers up a bug in ptII's ptolemy.util.FileUtilities.nameToURL() which appears to add an extra "/" to the string, which then makes the name look like this: "http:///www";. What this really indicates to Java when converte