Experimental Physics and Industrial Control System
|
Hey Angus,
I prefer absolute paths to relative, so I have got the following structure and I always give a full path to epics_base in RELEASE:
/opt/epics/ apps
base modules extensions
On Fri, Sep 7, 2012 at 10:24 AM, Angus Gratton <[email protected]> wrote:
Hi everyone,
I'm curious about how people manage paths in RELEASE, like EPICS_BASE,
ASYN, etc.
I've been using paths relative to the respective TOP, of this kind:
EPICS_BASE=$(TOP)/../../base
But when upgrading to 3.14.12.2 (from 3.14.11), convertRelease.pl
decided these were invalid (3 line patch attached that allows this by
canonicalising any path that exists at check time, any chance of this
please being accepted into base? )
The App Developer's Guide shows RELEASE with absolute paths
arranged under /home/epics, but surely this doesn't scale across
multiple developers or multiple working copies?
So it all made me wonder - how does everyone else do it?
- Angus
Index: base/src/tools/EPICS/Path.pm
===================================================================
--- base/src/tools/EPICS/Path.pm (revision 1268)
+++ base/src/tools/EPICS/Path.pm (revision 1269)
@@ -123,6 +123,9 @@
# Now calculate the absolute path
my $abs = File::Spec->rel2abs($path, abs_path($cwd));
+ if (-e $abs) {
+ $abs = abs_path($abs);
+ }
return LocalPath($abs);
}
-- Best regards,
Pavel Maslov, MS Controls Engineer at Pulsed power Lab Efremov Institute for Electro-Physical Apparatus St. Petersburg, Russia
Mobile: +7 (951) 672 22 19
Landline: +7 (812) 461 01 01
- Replies:
- Re: EPICS build system, RELEASE file, and relative paths Angus Gratton
- References:
- EPICS build system, RELEASE file, and relative paths Angus Gratton
- Navigate by Date:
- Prev:
EPICS build system, RELEASE file, and relative paths Angus Gratton
- Next:
Re: EPICS build system, RELEASE file, and relative paths Angus Gratton
- 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:
EPICS build system, RELEASE file, and relative paths Angus Gratton
- Next:
Re: EPICS build system, RELEASE file, and relative paths Angus Gratton
- 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
|
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|