Andreas Zieringer wrote: > Hi Marcus, > >>> http://www.mail-archive.com/opensg-users%40lists.sourceforge.net/msg08541.html >> >> That mail said 'ignore this if not using exr' but we had to do something >> about it anyway. > > if you don't use it in OpenSG ;-) I missed the default setting for the > exr lib with the scons build system. But deleting a directory is not > that complicated.
True. It's not that bad, it just took me a while to figure out. I also had to compile OpenSG twice since I got an error at link time. >> Related, would it be possible for scons to compare the timestamp of the >> supportlibs directoy and supportlibs.zip, to ensure that the latest >> version is always unpacked? > > via pythons ZipInfo we could compare the size and crc-32 checksum, not > sure how fast this is. What about adding a VERSION file to the zip file > and just compare this one? I thought a date compare would be fast & simple, if one sets the date of the supportlibs-dir to that of the zip after unpacking. CRC's and checksums could take a while, likewise with unzipping & comparing. Another way is to simply rename the supportlibs every time it's updated, adding a version to the name, then unpack it if it doesnt exist and remove all old versions. We do something similar for our third-party libs in svn. Cheers, /Marcus ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
