I think there is a bug in the initializer for abbot.script.Script, around line 115.
The load() method is called before the relative path is set. As a result, scripts that are located relative to the parent, and are not in the default 'user.dir' directory will not get loaded correctly.
I tried moving the call to setRelativeTo() to be after setFile, and before load(), and it seems to have fixed the this problem. I don't know if it causes others.
Hi Tom. Can you please check up the problem I am having titled "Problem launching script" and confirm whether it is the same which you faced ? So, I will come to know whether I have to do the change you have done forthe script path.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think there is a bug in the initializer for abbot.script.Script, around line 115.
The load() method is called before the relative path is set. As a result, scripts that are located relative to the parent, and are not in the default 'user.dir' directory will not get loaded correctly.
I tried moving the call to setRelativeTo() to be after setFile, and before load(), and it seems to have fixed the this problem. I don't know if it causes others.
setFile(file);
if (parent != null) {
setRelativeTo(parent.getDirectory());
}
try {
load();
}
I looked in the CVS and it seems that this bug was introduced in commint 1.97, Aug 10, 2004.
Hi Tom. Can you please check up the problem I am having titled "Problem launching script" and confirm whether it is the same which you faced ? So, I will come to know whether I have to do the change you have done forthe script path.