On Thursday 26 October 2006 20:00, Robert Hicks wrote:

> > 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.

I think you misunderstood. That's exactly what you can do.
If your components are in /home/foo/mason/lib then set your component path 
to "/home/foo/mason/lib" and just call the component by name. 

You can even specify multiple component roots, so if you have components 
in "/home/foo/mason/lib/app" and "/home/foo/mason/lib/common" then you can 
either specify components as "app/comp.mas" or add "/home/foo/mason/lib/app" 
to your component roots and just call "comp.mas".

cf. http://www.masonbook.com/book/chapter-5.mhtml#TOC-ANCHOR-12 for more on 
component roots.

-------------------------------------------------------------------------
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

Reply via email to