You are not logged in.
Since today there appears to be an update to Eclipse in the official repositories. However, the structure of the packages has changed. For some reason, I have to choose between eclipse-java and eclipse-cpp (CDT) since they are both in conflict. However, up till now I was totally fine installing the regular eclipse package together with CDT since I require Eclipse support for java as well as cpp. Does eclipse-cpp include (basic) JAVA support as well? Or should I install eclipse-java and get CDT from the marketplace?
Thanks and best regards,
Karsten
Offline
Trying to ignore eclipse-* and still being needed to select between eclipse-cpp and eclipse-php.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Or should I install eclipse-java and get CDT from the marketplace?
it seems the best solution, install inside eclipse the CDT plugin, no need to have a special package for that,
you can use the "install new software" dialog menu in eclipse, and add this url for the repository :
http://download.eclipse.org/tools/cdt/releases/8.7
https://eclipse.org/cdt/downloads.php
Last edited by Potomac (2015-07-21 22:58:14)
Offline
I'd still like to know, what the difference between the three versions is. Apparently there is no way anymore to install a plain version of eclipse? Or is eclipse-java supposed to be the plain version? And if so, why isn't it labeled that way? Being an eclipse user for its flexibility (with different languages) I find the new packaging very irritating. Especially since there appears to be no explanation whatsoever - even the wiki article appears to have no idea why.
But maybe I'm just spoiled after several years of arch linux...
Offline
Same problem here.
Why are eclipse-java and eclipse-cpp in conflict? It doesn't make sense. Looks like a bug.
The packages don't even declare each other as conflicting.
EDIT: I filed a bug report. https://bugs.archlinux.org/task/45761
Last edited by cro (2015-07-24 14:09:30)
Offline
EDIT: I filed a bug report. https://bugs.archlinux.org/task/45761
And closed. Please do a search before filing bug reports.
Offline
cro wrote:EDIT: I filed a bug report. https://bugs.archlinux.org/task/45761
And closed. Please do a search before filing bug reports.
I searched before filing, obviously the default search setting is "only tasks with open status", so I missed the closed one.
I find your reason ("packages include conflicting files") questionable. Can't this be avoided by building the packages differently and putting common files in the common package?
This makes the eclipse-cpp (and eclipse-php) packages unusable for me. Maybe I will try the workaround from above.
Does it really make sense to offer separate eclipse packages if you can't install them together??
Offline
You my find my reasoning questionable, but it's the way it is. This is how upstream is releasing them, so this is how Arch is packaging them.
Offline
You my find my reasoning questionable, but it's the way it is. This is how upstream is releasing them, so this is how Arch is packaging them.
Well, then give the reason "upstream".
Offline
But why the package 'eclipse' is suggested to be replaced with 'eclipse-java' and not with 'eclipse-common'? Did upstream decide to be "less multilanguage"? Could someone advise please how to upgrade the 'eclipse' package ('4.4.2 Luna') to 'eclipse-common' so that all settings are preserved? (I don't need Java plugins in Eclipse).
bing different
Offline
Well, older version of the Eclipse wiki page said the 'eclipse' package came with support for Java development (and that's how I remember it from using Eclipse for Java a couple of years ago). So maybe you always had the Java plugins installed, but now you get to choose to remove them and use eclipse-common only?
Offline
That's probably as it is. Thanks for the advise. I'll install eclipse-java then, and remove the Java-related content if it's removable.
bing different
Offline
Installing either eclipse-* will automatically install eclipse-common, but would eclipse-cpp include eclipse-java? Eclipse-cpp is the bigger of the two.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
This seems to summarise what is included with each version: https://eclipse.org/downloads/compare.php?release=mars
Looks like neither of eclipse-cpp or eclipse-java is a superset of the other.
Offline
That's why it's better to install C++ or php plugin with the "marketplace way" inside eclipse ( the "install new software" dialog menu in eclipse ), if you want to use both java and C++ languages with eclipse.
Last edited by Potomac (2015-07-31 14:11:59)
Offline
That's why it's better to install C++ or php plugin with the "marketplace way" inside eclipse ( the "install new software" dialog menu in eclipse ), if you want to use both java and C++ languages with eclipse.
This is an unacceptable proposition.
It implies that EVERY USER in the computer needs to perform this operation in order to utilize the IDE with both Java and C/C++ instead of having a global install. Not only this bloats the user's home directory, it also wastes space in /home with duplicate components. Having a global package installed like it was before is a better solution in my opinion.
Cheers.
Last edited by vonPalitroque (2015-08-01 17:09:41)
Offline
Potomac wrote:That's why it's better to install C++ or php plugin with the "marketplace way" inside eclipse ( the "install new software" dialog menu in eclipse ), if you want to use both java and C++ languages with eclipse.
This is an unacceptable proposition.
It implies that EVERY USER in the computer needs to perform this operation in order to utilize the IDE with both Java and C/C++ instead of having a global install. Not only this bloats the user's home directory, it also wastes space in /home with duplicate components. Having a global package installed like it was before is a better solution in my opinion.
Cheers.
This definitely isn't the arch way.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
This definitely isn't the arch way.
Sorry, I do not quite follow.
Packages are only split when compelling advantages exist rather than it being the norm. Splitting is only done to save disk space in particularly bad cases of waste.
It seems to me that my suggestion does follow The Arch Way. With these conflicting packages, every user is forced to install CDT and whatever else they wish in their home directory in order to be able to use Eclipse with C/C++ and any other languages they wish to utilize. I suppose that if you are the unique user of your system, this is acceptable, but it is most definitely not acceptable in multi-user systems, especially if every user has a quota on their home directory.
Cheers.
Last edited by vonPalitroque (2015-08-01 21:15:28)
Offline
nomorewindows wrote:This definitely isn't the arch way.
Sorry, I do not quite follow.
The Arch Way wrote:Packages are only split when compelling advantages exist rather than it being the norm. Splitting is only done to save disk space in particularly bad cases of waste.
It seems to me that my suggestion does follow The Arch Way. With these conflicting packages, every user is forced to install CDT and whatever else they wish in their home directory in order to be able to use Eclipse with C/C++ and any other languages they wish to utilize. I suppose that if you are the unique user of your system, this is acceptable, but it is most definitely not acceptable in multi-user systems, especially if every user has a quota on their home directory.
Cheers.
The marketplace thing isn't the right way, but your'e right on. I should've split the quotes up.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
This definitely isn't the arch way.
That may be, but with some packages (Eclipse, emacs) it works better. Eclipse is an extreme case. Adding things from the Maretplace only impact the user doing it -- not really an anti Arch thing to do. Actually, I always install all of Eclipse as a user to my home directory from sites on the Internet. Always. That is not the un-Arch way either -- just don't go installing things outside of the /home tree...
Of course, I've been known to build and install my own kernel by hand too. but that is a different story....
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I suppose that if you are the unique user of your system, this is acceptable, but it is most definitely not acceptable in multi-user systems, especially if every user has a quota on their home directory.
Cheers.
probably 90% of people who use archlinux are the unique user of the PC, so it's a false problem, marketplace seems the easy way to install a plugin in eclipse
Offline
probably 90% of people who use archlinux are the unique user of the PC, so it's a false problem, marketplace seems the easy way to install a plugin in eclipse
Yeah, and probably 80% of statistics are made up as well. The argument is invalid. In any case, instead of arguing about semantics or what should be done, here is a PKGBUILD that performs a global install of CDT using what is given in the marketplace. At the very least, this works in my system. Whoever is interested, feel free to use it, modify it or whatever.
# Contributor: Orlando Arias <oarias <at> knights <dot> ucf <dot> edu>
pkgname=eclipse-cdt
_basever=8.6
pkgver=${_basever}.0
pkgrel=1
pkgdesc="Eclipse CDT plugin from marketplace"
arch=('any')
url="https://marketplace.eclipse.org/content/eclipse-cdt-cc-development-tooling"
license=('EPL')
depends=('eclipse-java')
provides=('eclipse-cpp')
conflicts=('eclipse-cpp')
replaces=('eclipse-cpp')
source=("http://download.eclipse.org/tools/cdt/releases/${_basever}/cdt-${pkgver}.zip")
sha256sums=('81b7d19d57c4a3009f4761699a72e8d642b5e1d9251d2bb98df438b1e28f8ba9')
package() {
cd "${srcdir}"
install -d \
"${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/"{features,plugins,binary}
install -m644 features/* \
"${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/features/"
install -m644 plugins/* \
"${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/plugins/"
install -m644 binary/* \
"${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/binary/"
}Cheers.
Last edited by vonPalitroque (2015-09-07 17:06:31)
Offline
here is a PKGBUILD that performs a global install of CDT using what is given in the marketplace. At the very least, this works in my system. Whoever is interested, feel free to use it, modify it or whatever.
# Contributor: Orlando Arias <oarias <at> knights <dot> ucf <dot> edu> pkgname=eclipse-cdt _basever=8.6 pkgver=${_basever}.0 pkgrel=1 pkgdesc="Eclipse CDT plugin from marketplace" arch=('any') url="https://marketplace.eclipse.org/content/eclipse-cdt-cc-development-tooling" license=('EPL') depends=('eclipse-java') provides=('eclipse-cpp') conflicts=('eclipse-cpp') replaces=('eclipse-cpp') source=("http://download.eclipse.org/tools/cdt/releases/${_basever}/cdt-${pkgver}.zip") sha256sums=('81b7d19d57c4a3009f4761699a72e8d642b5e1d9251d2bb98df438b1e28f8ba9') package() { cd "${srcdir}" install -d \ "${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/"{features,plugins,binary} install -m644 features/* \ "${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/features/" install -m644 plugins/* \ "${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/plugins/" install -m644 binary/* \ "${pkgdir}/usr/lib/eclipse/dropins/cdt-${pkgver}/eclipse/binary/" }Cheers.
Why don't you upload that pkgbuild to aur? When I saw it, I ran into aur to look for it and have it installed through yaourt.
Please, upload it to aur.
Offline
I tried upload it but aparently someonther already take ounership of eclipse-cdt, so for now I will wait the 24 to see if upload something, else something is wrong here.
Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::
Offline
Why don't you upload that pkgbuild to aur? When I saw it, I ran into aur to look for it and have it installed through yaourt.
Please, upload it to aur.
Since I do not have the time to maintain it, there is no point on me submitting the PKGBUILD to the AUR just for it to be orphaned straight away. Hence Why I listed myself as "Contributor" and not "Maintainer".
I tried upload it but aparently someonther already take ounership of eclipse-cdt, so for now I will wait the 24 to see if upload something, else something is wrong here.
This is likely because eclipse-cdt was the name of the old package, which the new eclipse-cpp aims to replace. It may still be cached somewhere, not sure.
Offline