add: var dump = function(sql) { retrieve(sql); traverse(function() { var fpath = app.dir + "/../static/" + this.site_name + "/layouts/" + this.name + "/" + this["prototype"]; var file = new java.io.File(fpath); file.mkdirs(); file = new java.io.File(file, this.skin_name.replace(/\ println(file); file["delete"](); var fos = new java.io.FileOutputStream(file); var bos = new java.io.BufferedOutputStream(fos); var writer = new java.io.OutputStreamWriter(bos, "UTF-8"); writer.write(this.SKIN_SOURCE || ""); writer.close(); bos.close(); fos.close(); }); }  dump(sql("skins")); dump("select skin.id, 'www' as site_name, layout.name, " + "skin.name as skin_name, prototype, SKIN_SOURCE from " + "skin, layout where skin.layout_id = layout.id and " + "layout.site_id is null"); 
context: convert.skins = function() {   // FIXME}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/2578fcd36f6afe81c2eb6139fe51d41c496bd131/Global.js/buggy/updater/Global/Global.js