What should I do if I have multiple iocs under the same top directory,
and they all use a common .db file? Is there a similar Db directory to
put them in that is not specific to one application?
Thank you,
Patrick
Mark Rivers wrote:
You can put entries in the xxxApp/Db/Makefile, and then make will copy the .db files to the TOP/db directory. But you don't have to do this if you don't want to, you can have the IOC directly load the .db files out of the xxxApp/Db directory. The latter is what I do, because I deploy EPICS on sites where they don't have a build system, and so can't run make. So we just use the .db files in the Db/ directory.
Mark
________________________________
From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 5:38 PM
To: Andrew Johnson
Cc: [email protected]
Subject: Re: db folder
I'm sorry, I don't quite follow, where do I put the .db files that will
be loaded by the ioc? Do I have to put something in one of the Makefiles?
Andrew Johnson wrote:
On Wednesday 23 September 2009 16:23:54 Patrick Thomas wrote:
Does makeBaseApp -t ioc normally create a db folder in the top
directory, or does that get made by the user?
Neither; directories such bin, db, dbd, doc, html, include, and lib will get
created at build time when make has something that needs to be installed in
the relevant directory. Note that if you do a 'make distclean' at the top
level, these directories *and their contents* will be deleted, so it is a bad
idea to add files to them manually as they might not have a very long life.
HTH,
- Andrew
- Replies:
- Re: db folder Eric Norum
- Re: db folder Jason Tiller
- Re: db folder Tim Mooney
- References:
- db folder Patrick Thomas
- Re: db folder Andrew Johnson
- Re: db folder Patrick Thomas
- RE: db folder Mark Rivers
- Navigate by Date:
- Prev:
Re: alarm handler on base 3-14-11 Matthieu Bec
- Next:
Re: db folder Eric Norum
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: db folder Mark Rivers
- Next:
Re: db folder Eric Norum
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|