[OpenLayers-Users] Work around for bug #541 ??

Christopher Schmidt crschmidt at metacarta.com
Mon Apr 2 07:35:01 EDT 2007


On Mon, Apr 02, 2007 at 01:13:58AM -0400, Schuyler Erle wrote:
> On Sun, 2007-04-01 at 22:56 -0400, Stephen Woodbridge wrote:
> > 
> > I ran into a small problem with the trunk build script:
> > 
> > Resolution pass 1...
> > Importing: OpenLayers/Format/JSON.js
> > Traceback (most recent call last):
> >    File "./build.py", line 18, in ?
> >      merged = mergejs.run(sourceDirectory, None, configFilename)
> >    File "../tools/mergejs.py", line 190, in run
> >      content = open(fullpath, "U").read() # TODO: Ensure end of line @ EOF?
> > IOError: [Errno 2] No such file or directory: 
> > '../lib/OpenLayers/Format/JSON.js'
> 
> I've just filed ticket #615 over this, because I can't figure out if the
> references to JSON.js belong and the file is missing, or the references
> are actually extraneous and should be removed. Bueller?

Should be removed. JSON was in a seperate sandbox: it's just a build
'requires' that was clearly copy pasted. I'm going to remove it from
both places -- unfortunately, we still can't build, because jsmin doesn't 
either these two regexes:

 'parenComma': /\)\s*,\s*\(/,
 'doubleParenComma': /\)\s*\)\s*,\s*\(\s*\(/,  // can't use {2} here

The Jsmin c program doesn't complain.

Not sure where to go from here, but #615 is going to be closed: i'll
open a new one for the jsmin problem.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list