EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: EPICS and MEDM with eclipse
From: "Brown, Garth" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 22 Aug 2013 12:18:10 -0700
You asked about MEDM and I have a setup for EDM that you could probably translate. It will launch edm when you double click on an edl file, though you can still right click on the file and open with a text editor. I haven't found a way to make Eclipse pass command line flags to external tools or editors, so I created a script that just adds the flags I want to the basic EDM command:

#! /bin/bash
edm -eolc $1&

Then in Eclipse, I set that script as the editor for *.edl files.
Window -> Preferences -> General -> Editors -> File Associations, Add... File type *.edl, to that Add... Associated editor of your launch script.

Garth

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Kasemir, Kay
Sent: Thursday, August 22, 2013 5:51 AM
To: [email protected]
Subject: Re: EPICS and MEDM with eclipse

Hello:

You can use pretty much any C/C++ IDE for EPICS driver development as long as it supports 'make', as most of them do.

If you like Eclipse, you can use the C/C++ IDE version of Eclipse. Create your EPICS project as described in the EPICS IOC Application developers guide with makeBaseApp.pl, then in the Eclipse IDE create a standard makefile project, using the top directory that you just created with makeBaseApp.pl as the project directory. In the Eclipse IDE you can then add "Make Targets" to invoke the makeBaseApp.pl-generated Makefile with targets like "clean", "all", ... You can now edit and navigate your source code in the IDE, invoke "make", locate compilation errors, ... Eclipse also gives you GUI-based access to CVS, Git, ...

The "EPICS" plugin mentioned by Pete basically adds a project wizard to Eclipse that invokes makeBaseApp.pl for you. Instead of calling it on the command-line, you now get a dialog box to invoke it.
Personally, I am not sure how much you gain from this. When working on a new EPICS project, invoking makeBaseApp.pl is a minuscule task. You will need a good understanding of the makeBaseApp directory structure, the EPICS make files anyway. You have to read and understand the EPICS IOC Application developers guide. If you can't invoke makeBaseApp.pl on the command line, if you don't find your way around the EPICS make files, you will have a very hard time entering anything useful in the "Create a new EPICS project" dialog box, and you'll be totally lost when you first need to add a new *.db file, *.cpp source .. to the Makefiles.

So for me, I've been using the Eclipse C++ IDE for EPICS based projects for years, but never needed the "EPICS" plugin.

Thanks,
Kay

On Aug 22, 2013, at 8:11 AM, Pete Jemian <[email protected]> wrote:
> Vikram:
> 
> There is some help for developing EPICS C and C++ code with Eclipse, 
> using an eclipse plugin called "Eclipse IDE".  The plugin and 
> documentation was created many years ago, about the time eclipse 3 was 
> just released, and is no longer maintained.
> 
> But this might get you started.
> 
> http://www.aps.anl.gov/epics/eclipse/plugins/epicsIde/epicsIde.html
> 
> Pete
> 
> On 8/22/2013 2:52 AM, Vikram Bhagat wrote:
>> Hi,
>>    I am beginner in EPICS,   i want to learn EPICS development. I
>> started with computer serial port driver using standard asyn Driver.  
>> My basic interest is EPICS & linux driver development.  Presently i 
>> am developing linux & EPICS driver development with just command line 
>> compilation.  Linux driver is  in "C & C++".
>> Is there any way integrate EPICS development in eclipse IDE?
>> I mean, do we have EPICS/asyn plugins for eclipse that can make easy 
>> to develop EPICS driver development easy with eclipse IDE like java & 
>> c development in eclipse.
>> 
>> My development system is Fedora.
>> 
>> 
>> Thanks & Regards
>> 
>> Vikram
> 
> --
> ----------------------------------------------------------
> Pete R. Jemian, Ph.D.                <[email protected]>
> Beam line Controls and Data Acquisition, Group Leader
> Advanced Photon Source,   Argonne National Laboratory
> Argonne, IL  60439                   630 - 252 - 3189
> -----------------------------------------------------------
>    Education is the one thing for which people
>       are willing to pay yet not receive.
> -----------------------------------------------------------
> 
> 




Replies:
Re: EPICS and MEDM with eclipse Pete Jemian
References:
EPICS and MEDM with eclipse Vikram Bhagat
Re: EPICS and MEDM with eclipse Pete Jemian
Re: EPICS and MEDM with eclipse Kasemir, Kay

Navigate by Date:
Prev: streamdevice to find the last match Zhang, Dehong
Next: Re: EPICS and MEDM with eclipse Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: EPICS and MEDM with eclipse Brown, Garth
Next: Re: EPICS and MEDM with eclipse Pete Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·