EPICS Home

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: Ralph Lange <[email protected]>
To: "[email protected]" <[email protected]>
Date: Fri, 11 May 2012 09:44:09 +0200
Replace "Eclipse" with "Netbeans" in Kay's mail to get the instructions
for Netbeans. More or less.

This is not an endorsement, btw. Personally I am using QtCreator for
EPICS developments, as I find it a lot faster and less heavyweight than
the big Java based IDEs. Kay's instructions would be roughly valid after
replacing "Eclipse" with "Qt Creator" in that case.

~Ralph


On 10.05.2012 22:54, Kasemir, Kay wrote:
> 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
>


References:
Re: Eclipse for EPICS development Kasemir, Kay

Navigate by Date:
Prev: Re: Eclipse for EPICS development Kasemir, Kay
Next: Eclipse for EPICS development Matthias Clausen
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: Re: Eclipse for EPICS development Kasemir, Kay
Next: modbus questions Pierrick Hanlet
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