On 27. okt. 2006, at 02.00, Robert Hicks wrote: > Todd Grimason wrote: >> * Robert Hicks [2006-10-26 11:35]: >>> In reading the online book I see paths being passed like "/lib/ >>> comp.mas" >>> and similar stuff. Since in that example the components are in the >>> "/lib" directory can you not tell Mason where to look so you only >>> have >>> to call "comp.mas"? >>> >> >> The paths are relative to the component root[s] you specify; this may >> help: >> >> http://www.masonbook.com/book/chapter-2.mhtml#TOC-ANCHOR-2 >> > > Yes I get that. That isn't my point though. I was thinking more about > being able to declare somewhere that "MASON_LIBS => 'lib/'" and then I > could just pass the components around like "comp.mas" instead of > "lib/comp.mas". That is all. You probably can set that, I just haven't > found out where it is in the docs. If you can't, no biggie.
And the mason-libs is component root[s], which you may have many of. Just set one to be your libs/ folder, and you have what you want. andreas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users