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

Subject: RE: Importing cs-studio into eclipse
From: Richard Fearn <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 9 Mar 2015 10:35:00 +0000
Hi,

> My bad for not mentioning that I have read the pdf. And I did clone and
> import https://github.com/ControlSystemStudio/maven-osgi-bundles.git and
> https://github.com/ControlSystemStudio/cs-studio-thirdparty.git as well.

That shouldn't be necessary if you just want to work on the CS-Studio code. The bundles in those two (p2) repos can be used as they are.

> Although I did not clone and import org.csstudio.product.git. I did not
> mention it because I was in a state of total confusion (which I have to
> admit is my usual state whenever I try to build cs-studio).

You should be able to build the CS-Studio 'core' plugins and features, and the 'applications' plugins and features, without this repo. But you'll need it in order to take those plugins/features and create a standalone CS-Studio product.

> I must also admit that I always have tones and tones of errors when I
> import all the plugins into eclipse (3.2.x and eariler).

I would use a newer version of Eclipse - i.e. Luna/4.4 - as that's what CS-Studio is based on these days.

Also it isn't strictly necessary to import *all* the plugins into Eclipse - only those for which you actually want to work on the source code.

> Because there is no way to tell exactly which
> plugins you actually need (and of course those plugins will require other
> plugins, and so on) and it’s too slow to import all the plugins one by
> one.

This seems to be a big weakness using Tycho/Maven compared to using Buckminster for Eclipse development. Buckminster allows you to say "I want to get X into my workspace" and it will automatically import X and all of its dependencies, potentially from multiple git repositories and multiple p2 repositories.

That said, Andrej Babic at Cosylab wrote an Eclipse plugin to assist with this (specifically for CS-Studio). You can find it here:

  https://github.com/ControlSystemStudio/com.cosylab.css.importer

It will import a CS-Studio plugin, including its dependencies.

> So I usually import them all and ignore the errors. With this new
> maven build on master, I have to import all the plugins anyway. Then I end
> up with thousands of errors. Does anyone else have this problem or is it
> just me?

Not just you :-)

Regards,

Richard

--

Richard Fearn
[email protected]



References:
Importing cs-studio into eclipse Xinyu.Wu
Re: Importing cs-studio into eclipse Jani Hakala
Re: Importing cs-studio into eclipse Xinyu.Wu

Navigate by Date:
Prev: EPICS Database Builder Tool michael.abbott
Next: RE: Problem with libhdf5.a when installling areaDetector-2-1 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Importing cs-studio into eclipse Xinyu.Wu
Next: Regarding EPICS EDM-1-12-98 Rahul Jain
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·