Ubuntu 11.10 Installation failed (solved)
solution at bottom of this post
@KEo Thank you for putting the hard work into making Yiiclipse.
I hope to use it:-)
However, after following the instructions on your website and this post's advice,
nothing is working for me. I cannot get Yiiclipse installed on Ubuntu 11.10.
Please see the below "description of the problem".
KEo, on 01 August 2011 - 10:36 AM, said:
Theoretically I could recommend installation on fresh INDIGO release using delivered updatesite. I've just tested this way on Ubuntu 10.04 and seems to work fine. You can start with "Eclipse IDE for JavaScript Web Developers" package. Yiiclipse should automatically install all the dependencies (including PDT).
Nonetheless, for all those who have still problems with installing Yiiclipse in regular way can use dropins feature of eclipse. The drawback is that plugins installed such way cannot be updated with update mechanism and the same I do not recommend you such way, but if there is no other option it should work.
NOT RECOMMENDED: You need download the most recent bundle and put into dropins folder you can found in you eclipse home directory. Note: PDT needs to be already installed!!
For most recent bundle go to
http://yiiclipse.maz...ite/1.0/plugins and pick the last one.
At the moment the url is:
http://yiiclipse.maz...01108011652.jar
"Description of the problem"
First
I followed your websites instructions to install Yiiclipse.
http://yiiclipse.maz...org/#stepByStep
However, the install failed. The install would fail with the
following error message:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.php, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at
http://yiiclipse.maz...1111132221.jar.
Connection reset
Second
After the above failure, I then searched and found this post with your instructions.
So, I downloaded and installed the "Eclipse IDE for JavaScript Web Developers" package
as you recommended. Then, I tried to install Yiiclipse. But, I got the same error message
as before "Unable to read repository at
http://yiiclipse.maziarz.org/updatesite/DEV/plugins/org.maziarz.yiiclipse_1.1.0.201111132221.jar".
Third
I tried to implement your "NOT RECOMMENDED:" option described above.
But, when I tried to download the file I got the below error message:
org.maziarz.yiiclipse_1.1.0.201111132221.jar.part could not be saved,
because the source file could not be read.
Try again later, or contact the server administrator.
So, I cannot download the file: yiiclipse_1.1.0.201111132221.jar
And, according to the error messages, Eclipse cannot get access to it either.
May there be something wrong with the file on your server?
Please advise. I am sure all the Ubuntu users would love to have
Yiiclipse working on their machine :-)
Regards.
Solution:
Installed
eclipse-pde
Ubuntu requires you to install this module.
If you do not install it the Eclipse plug-in installations do not work.
After installing eclipse-pde the Yiiclipse installation worked.
I just made a project in Eclipse and tested Yiiclipse.
The ability to control click on a view name in the controller and then go to the
view file will save me tons of time.
Thank you KEo!