muh6mm3d / patterncoder

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

Windows: error on starting patternCoder when BlueJ is installed in Program Files #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. BlueJ installed in Program Files (or folder with space in name)
2. Start patternCoder
3.

What is the expected output? What do you see instead?
Expect to start normally
But get 'catch-all' error dialogue
malformedURLException thrown
error message: unknown protocol c

Original issue reported on code.google.com by jhpater...@googlemail.com on 24 Aug 2007 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by jhpater...@googlemail.com on 14 Nov 2007 at 6:23

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 0.5.1.002 (revision 11 in SVN)

Replace spaces with %20 in source file PatternFileValidatorDOM before 
validating:

    public void validateFile(String sourcefile) throws SAXException, IOException{
        sourcefile = replaceSpaces(sourcefile);   
        validator.validate(new StreamSource(sourcefile));
    }

All other references to path needed to be left untouched otherwise files are 
not found

Original comment by jhpater...@googlemail.com on 26 Nov 2007 at 3:41