First of all, I tried to build jsolait from scratch a few weeks ago, something that couldn't do, so I gave up for a while, thinking it was some minor bug in the jsolait's source at that time. The symptom was a somehow quiet "Path not found" error message. :-(
Today, I decided to try again. Again, the symptom was the same but the willing to find out why was stronger! :-D
After a few source "sniffing", the problem was isolated: if a build directory didn't exist previously, the script failed. That's because it attempted to create a ../build/jsolait when there was no ../build.
Fixing the problem can be done in several (at least two! :-)) ways:
1. Create a small batch file (my first quick+dirty solution):
cd ..
::mkdir build
cd tools
cscript /nologo "PATH_TO_JSOLAIT\jsolait\trunk\jsolait\jsolait.wsf" "file://PATH_TO_JSOLAIT/jsolait/trunk/tools/build.js"
2. Change the build.js file (second attempt, a little more elegant):
[...]
mod.buildBasePath = '../build';
mod.buildPath = '../build/jsolait';
[...]
mod.__main__=function(){
this.gn = new lang.GlobalNode();
try{
fs.createFolder(mod.buildBasePath);
fs.createFolder(mod.buildPath);
}catch(e){
print("Could not create the build's destination directory!");
}
mod.buildDir(fs.getFolder(mod.sourcePath), fs.getFolder(mod.buildPath));
try{
fs.createFolder(mod.docPath);
}catch(e){
print("Could not create the documentation's destination directory!");
}
[...]
Hope that this may help! ;-)
(Once again) congratulations on the jsolait project,
Helder