| Summary: | Installing rh-eclipse46-base does not add eclipse to the user's path | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Len DiMaggio <ldimaggi> |
| Component: | eclipse | Assignee: | Mat Booth <mat.booth> |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-tools-bugs |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rh-eclipse46 | CC: | ldimaggi, mat.booth, mbenitez, mcermak, mprchlik, vkadlcik |
| Target Milestone: | rc | Flags: | vkadlcik:
needinfo?
(ldimaggi) |
| Target Release: | 2.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | RHT | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-01 13:25:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Len DiMaggio
2016-08-17 19:50:53 UTC
Hi Len, It seems to me you skipped the scl mechanism. rh-eclipse46 is part of Software Collections which use the mechanism to allow users pick only specific collections for a specific task. rh-eclipse46-base works for me as expected: $ rpm -qa | grep rh-eclipse46 # nothing of rh-eclipse46 installed $ sudo yum -y install rh-eclipse46-base ... # Installed. # Eclipse not available in a not-scl-ized environment $ type eclipse -bash: type: eclipse: not found # Create a scl-ized shell: $ scl enable rh-eclipse46 bash $ echo $PATH /opt/rh/rh-eclipse46/root/usr/bin:/opt/rh/rh-eclipse46/root/usr/lib/jvm/java/bin:/opt/rh/rh-java-common/root/usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/jouda/.local/bin:/home/jouda/bin $ type eclipse eclipse is /opt/rh/rh-eclipse46/root/usr/bin/eclipse $ exit # Back in the default environment. scl-ize just one command: $ scl enable rh-eclipse46 'type eclipse' eclipse is /opt/rh/rh-eclipse46/root/usr/bin/eclipse Does it work for you the same way? If yes then it is as designed and not a bug. FWIW, how to start Eclipse from the command line is documented here: https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2-Beta/html/2.3_Release_Notes/chap-Individual_Collections.html#sect-Eclipse-Use Hmm, I just noticed how old this bug is... I think we can just close it NOTABUG. Feel free to re-open if anyone disagrees. |