-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse commandlet doesn't install Java #265
Comments
Related to #166, where the java dependency of eclipse - besides other dependencies - was respected in such a way, that a missing So the remaining question is IMHO, why the |
I completely agree with you. From a user point of view, If this logic was implemented because of performance issues, then I propose the following: > devon eclipse
Eclipse has not yet been installed on your computer.
Please run "devon eclipse setup" to install it. |
I do not fully understand what is going on here:
Can you
Please note that |
https://github.com/devonfw/ide/blob/master/documentation/setup.asciidoc |
Hi @hohwille, thanks for your response. Let me explain myself:
I completely agree that running function doSetup() {
if [ -n "${1}" ]
then
doDevonCommand java -q setup
fi
if [ -n "${1}" ] || [ ! -d "${ECLIPSE_HOME}" ]
then
# Now it is going to install Eclipse... As you can see, if function doSetup() {
if [ -n "${1}" ] || [ ! -d "${ECLIPSE_HOME}" ]
then
doDevonCommand java -q setup
# Now it is going to install Eclipse...
Maybe I'm wrong, but I have not found any part in the documentation where it says that you must add |
The more complex a piece of software - and I see it at least two times inside the documentation, that It plays no role, if the user has missed this step, or mix-up the setup with another setup or whatever.
seems far more better to me - since it contains an indication for at least a workaround fix - than the more mystic Eclipse pop-up, that was reported with this issue. |
I am always trying to challenge requirements and feedback to get to the root of the actual problem. So far still I see some missunderstanding here:
So if @jdiazgon has successfully run I am also willing to change devon-ide such that every commandlet will always recursively verify the installation and install whatever is missing. However, this is a decision that needs to be taken with care and with a plan aligned to our roadmap. |
After double-clicking setup.bat. this is the output I get:
Are the missing default settings the ones that force the creation of I was not aware that If you think this is the real problem, I can close this issue and create a new one. |
The above line
inside the ouptut is an indication, that the setup / devon scripts, that run here, still contain the #262 issue. This was such severe (no set of customized environment variables loaded at all) that it causes more severe failures later on. So if scripts >=beta23 are used, the issue discussed here, won't longer appear. (As long as the ide components in $HOME are also new enough - which should be fixed in >=beta24 ) The part, that I am concerned of - and which is related to this issue here - is just, why such a severe side effect ( no environment variable set due to some unforeseen incompatibility between one of several supported runtime environments and the used bashisms) isn't checked later in the scripts and has run into a fatal stop. I'd say, a |
@jajimene thanks for the feedback as it reveals another error: BTW: The last time I tested it worked as my git client seems to follow redirects and github was still redirecting the renamed URL. |
Just checked but it was already fixed:
So all errors derive from an old version that was used. I was predicting that #142 will cause some problems. Fine that we did not have to rename the CLI command, etc. So hopefully all is working from beta24 on. |
It would be great if you @jdiazgon could retest this with the latest beta24 and give feedback. |
Completely fixed! Works like a charm :) |
See #281 for the implications of the change. It is available from version |
Expected behavior
When installing Eclipse by running command
devon eclipse
, it should download the needed JDK so that Eclipse can be installed properly out of the box.Actual behavior
After running
devon eclipse
, Eclipse gets installed successfully. However, when installing the plug-ins I get the following errors:IMHO,
devon eclipse
should calldevon java
so that this error does not occur. Eclipse without Java does not make sense, so anyway we should force the installation of a JDK.Steps to reproduce (bug)
devon java
devon eclipse
Comments
Removing Eclipse, running
devon java
anddevon eclipse
afterward, fixed the issueAffected version:
The text was updated successfully, but these errors were encountered: