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  <20122013  2014  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Eclipse for EPICS development
From: "Kasemir, Kay" <[email protected]>
To: "[email protected]" <[email protected]>, "Zhou, Jingchen" <[email protected]>
Date: Thu, 10 May 2012 16:54:42 -0400
Hi:

Since EPICS is just C/C++ code, I have been using the basic Eclipse IDE
for C/C++ developers for EPICS development.

I create EPICS apps with makeBaseApp.pl as usual, it still builds from the
command line, but most of the time I edit it from within Eclipse.

Basic steps:
1. Create the application via makeBaseApp.pl as usual, outside of Eclipse,
or use existing code.
2. In Eclipse, create a new "project" for the application: Select C or C++
"Makefile project", an "Empty Project" for "Linux GCC" or whatever you use
for the EPICS development.
Name the project as you named your makeBaseApp project, for example
"my_app", but do NOT use the "default location"; uncheck that option and
instead browse to the existing makeBaseApp-created directory like
/home/epics/.../my_app.
Ignore the "Directory .. already exists" warning, click "Next",... "Finish"

3. In the "Make Targets" view, you can create new make targets for
"my_app" which invoke "make" with targets like "all", "clean" or maybe
"distclean".

Now you can edit your code with the syntax-highlighting editor in the IDE,
invoke "make" and jump to errors right away, navigate the code to find
definitions of stuff in header files and so on.

You can also use the existing support for CVS, subversion, mercurial, git,
... in Eclipse.


Ken Evans @ APS had once developed a plugin that basically provides an
Eclipse frontend to makeBaseApp:
You configure it in a dialog, then it calls makeBaseApp to create the
project etc.
I don't know if that's still maintained.


DESY has been developing an SNL editor, see
http://sourceforge.net/apps/trac/cs-studio/wiki/SnlEditor, that you could
include in your site-specific CSS product.
 

-Kay


On 5/10/12 16:21 , "Zhou, Jingchen" <[email protected]> wrote:
>Is there any site using Eclipse for EPICS development? I know CSS is
>completely developed with Eclipse in many sites. Here I mean the
>development for EPICS device support, modules, extensions, SNL,  IOC
>applications and etc. It would be great if you can share your experiences
>with us. Also, what are the Eclipse plugin available for the development,
>e.g., plugin for VDCT?
>
>Thank you very much!
>
>Jingchen



Replies:
Re: Eclipse for EPICS development Ralph Lange
References:
Eclipse for EPICS development Zhou, Jingchen

Navigate by Date:
Prev: Eclipse for EPICS development Zhou, Jingchen
Next: Re: Eclipse for EPICS development Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Eclipse for EPICS development Zhou, Jingchen
Next: Re: Eclipse for EPICS development Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·