// this is most likely to come from the command line..
if (this.conf) {
var conf = this.conf[0] == '/' ? this.conf : this.baseDir + '/' + this.conf;
- print("loading : " + conf);
- print(JSON.stringify(JSON.parse(File.read(conf)), null,4));
+
XObject.extend(this, JSON.parse(File.read(conf)));;
}
// help ?? -- usage..
var _this= this;
this.src.forEach(function(v, i) {
if (v[0] != '/') {
- this.src[i] = _this.baseDir + '/' + v;
+ _this.src[i] = _this.baseDir + '/' + v;
}
if (File.isDirectory(this.src[i])) {
throw {