[ic] Find out where the catalog is installed

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Tue Feb 19 22:46:00 2002


On Tue, Feb 19, 2002 at 07:05:03PM -0800, Jonathan Lee wrote:
> Any already existed system variable that I can use?
> I do not want to put this into the catalog.cfg file,
> since our development emvironment folder structure and
> different with production environment folder
> structure. If I add lot of environment stuff in
> configure file, it will be some difficult to promote
> the code.

#include my_dev.txt    # different for different machine
or
#ifdef this_machine=~/dev/

read the docs, look at the code for examples.


> 
> 
> --- Victor Nolton <ven@pragakhan.com> wrote:
> > just make a variable.
> > 
> > Variable    mycatalog         /usr/data/tools2
> > 
> > Add that to your catalog.cfg
> > 
> > Ven
> > 
> > 
> > >Hello:
> > >Is there any variable in interchange that I can use
> > to
> > >get the base folder of the current catalog?
> > >For example, I have a catalog called tools2, it is
> > >located at /usr/data/tools2
> > >
> > >So, how can I use from method to know current
> > catalog
> > >in at /usr/data/tools2 in interchange?
> > >
> > >
> > >Thanks
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Yahoo! Sports - Coverage of the 2002 Olympic Games
> > >http://sports.yahoo.com
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> >
> >http://interchange.redhat.com/mailman/listinfo/interchange-users
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> >
> http://interchange.redhat.com/mailman/listinfo/interchange-users
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux