[OpenLayers-Dev] svn build problems

Christopher Schmidt crschmidt at metacarta.com
Mon Mar 3 16:46:24 EST 2008


On Mon, Mar 03, 2008 at 04:18:39PM -0500, Stephen Woodbridge wrote:
> Hi all,
> 
> I have been getting the following issue in svn trying to run ./build.py 
> full.cfg
> 
> 
> woodbri at carto:~/work/openlayers/ol-svn/trunk/openlayers/build$ 
> ./build.py full.cfg
> Merging libraries.
> 
> [snip lots of files]
> 
> 
> Resolution pass 1...
> Importing: OpenLayers/Format/XML.js
> Traceback (most recent call last):
>    File "./build.py", line 34, 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/XML.js'
> 
> Does this indicate something needs to be fixed, maybe the user :) in 
> this case.

That seems a rather unusual situation: the default build, for me,
doesn't have any "Importing" after "Resolution pass 1". Perhaps you have
some extra code?

Anyway, it also seems that you don't have an OpenLayers/Format/XML.js
file. There is definitely one of those in trunk, so you're in trouble
here. Try checking out a clean working copy? Perhaps yours got hosed.
'svn status' might help figure out how/why.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list