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> 2025 | 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> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: how is envPaths built? |
From: | Han Lee via Tech-talk <tech-talk at aps.anl.gov> |
To: | Timo Korhonen <Timo.Korhonen at ess.eu> |
Cc: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Thu, 29 Aug 2024 11:01:21 -0700 |
Hi Abdalla,Here are some works which I did for the spring EPICS coderathon.HTH,HanOn Thu, Aug 29, 2024 at 4:54 AM Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:Hello Ralph
How can I provide a custom IOC application template and have makeBaseApp identify it?
Best Regards,Abdalla.
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, August 28, 2024 4:35 PM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: how is envPaths built?On Wed, 28 Aug 2024 at 14:03, Marco Filho via Tech-talk <tech-talk at aps.anl.gov> wrote:
For some reason my emails aren't going to tech-talk... Re-sending it here
Depends on your mail application. For me, "Reply all" works.
I don't know perl but it seems it gets the name from the directory and the directory itself is created from another mechanism from makeBaseApp?
I tried changing the directory name and recompiling and it really changes the IOC variable name in envPaths. I'm not sure where is the part of makeBaseApp that creates the directory though.
The makeBaseApp script is blowing up templates. Add a template application with a different structure or files or names, and makeBaseApp will happily create application instances from it.
Cheers,
~Ralph
--Jeong Han Lee, Dr.rer.nat.Lawrence Berkeley National Laboratory