Menu

Plugin conflicts: RadRails

2008-02-16
2013-04-30
  • Linux Linux

    Linux Linux - 2008-02-16

    Hi,

    Just installed Version: 1.2.2.2, and, like you said, it was easy :-).

    Having a problem installing a new plugin. I did Help / Updates / Find and Install / New / Next / Select a site / Finish. This opens the Updates dialog and under Select Features to Install I select what I want (I am installing the Perforce plugin, but that is not important.) As soon as I select anything to install, a message pops up which says "RadRails (0.8.0.200707021211) requires plug-in "com.aptana.ide.core"." I am stuck here and my only option is Cancel.

    Next I tried Manage Configuration and like a fool I tried to disable RadRails. That totally broke everything, even the perl perspective would not even open. So, I went back in to enable RadRails, and eclipse doesn't let me!!!! It says that would be an invalid configuration and does not allow me to enable it. I poked around some but could not find any back door to enable RadRails, so had to reinstall EasyEclipse.

    So, I guess the real question is, how do I satisfy the com.aptana.ide.core dependency so that the plugin mechanism will work again?

    Larry

     
    • Bastian Krol

      Bastian Krol - 2008-06-13

      I have the same problem, on 1.2.2.2 of the RadRails distro. When trying to install a new plug-in in the update manager, as soon as I select any plug-in from any update site (doesn't seem to matter), a notice is shown that says <<RadRails (0.8.0.200707021211) requires plug-in "com.aptana.ide.core".>>

      This basically stops me from installing any plug-ins into the EasyEclipse distro, which is annoying, because the possibility to install all the stuff you need is one of the main features of Eclipse.

      Regards
        Bastian

       
      • Philippe Ombredanne

        Bastian:
        The version from radrails we ship does not have that dependency yet normally, and there are issues with radrails in general that we are addressing.
        And yes atm, the radrails shipped with EasyEclipse 1.2.x is borked a bit.

        Also Radrails code base was "acquired" by aptana, which turned it into a commercial product of sorts.
        The way we are addressing it is by forking the original open source radrails into a new real open source project called
        http://cocorails.org
        Some of the needed bits that Aptana injected in radrails are being forked too in an open source project called:
        http://bananapeel.org

        (for now they both point to the same sf.net project where both original open source source are stored and being worked on.)

        Stay tuned as we should fix those issue shortly, we are working on a new rev and update of all the distros.
        If I have a earlier fix, I will ping you on the list or the forum.

        Thanks for the help btw... you think you would want to help to fix the packaging issue directly here in EasyEclipse ?

        --
        Cheers
        Philippe

        philippe ombredanne | 1 650 799 0949 | pombredanne at nexb.com
        nexB - Open by Design (tm) - http://www.nexb.com
        http://easyeclipse.org - http://phpeclipse.net - http://eclipse.org/atf -
        http://eclipse.org/vep - http://labs.jboss.org/drools/ - http://developer.mozilla.org/en/docs/XULRunner

         
    • Bastian Krol

      Bastian Krol - 2008-06-13

      After posting the message above, I thought let's see, maybe I can fix this problem myself and it turned out that there is a very easy solution:

      Open <Path-to-your-EasyEclipse-installation>features/org.nexb.easyeclipse.radrails_0.8.0.200707021211/feature.xml and comment out the block beginning with <import plugin="com.aptana.ide.core"/> and ending with <import plugin="com.aptana.ide.core.ui"/>. (I appended the resulting feature.xml at the end of this post.) Restart Eclipse. Then everything should be working fine again. At least it worked for me.

      My impression is that the EasyEclipse team forgot to take these (unused?) dependencies out of the feature.xml. The plug-ins are not in the distro, but the distro apparently works fine without them.

      That said, thanks to the EasyEclipse-team for providing this distro! Very good work. Being a veteran Eclipse / JDT user I once gave the Aptana Studio plug-ins a try but I didn't like at all how they visually messed up my Eclipse with their stuff (I really hated this news-feed thingy that comes with these plug-ins...).

      Cheers
        Bastian

      ===

      <?xml version="1.0" encoding="UTF-8"?>
      <feature
            id="org.nexb.easyeclipse.radrails"
            label="RadRails"
            version="0.8.0.200707021211"
            provider-name="Kyle Shank, Marc Baumbach, Matt Kent">

         <description>
            Create, test and deploy Ruby on Rails applications
         </description>

         <copyright>
            (c)2007 Marc Baumbach, Matt Kent, Kyle Shank, Christopher Williams, Aptana, Inc.
         </copyright>

         <license>
            This plugin is licensed under the Common Public License 1.0 license,
      see http://www.easyeclipse.org/site/licenses/standards/cpl-1.0.html.
         </license>

         <url>
            <update label="EasyEclipse update site" url="http://easyeclipse.org/update"/>
         </url>

         <requires>
            <import plugin="org.eclipse.ui"/>
            <import plugin="org.eclipse.core.runtime"/>
            <import plugin="org.eclipse.core.resources"/>
            <import plugin="org.eclipse.debug.core"/>
            <import plugin="org.eclipse.ui.ide"/>
            <import plugin="org.eclipse.ui.workbench.texteditor"/>
            <import plugin="org.eclipse.ui.editors"/>
            <import plugin="org.eclipse.ui.views"/>
            <import plugin="org.eclipse.jface.text"/>
      <!--     
            <import plugin="com.aptana.ide.core"/>
            <import plugin="com.aptana.ide.editors"/>
            <import plugin="com.aptana.ide.lexer"/>
            <import plugin="com.aptana.ide.parsing"/>
            <import plugin="com.aptana.ide.editor.html"/>
            <import plugin="com.aptana.ide.core.ui"/>
      -->
            <import plugin="org.rubypeople.rdt.core"/>
            <import plugin="org.rubypeople.rdt.debug.core"/>
            <import plugin="org.rubypeople.rdt.ui"/>
            <import plugin="org.eclipse.jface"/>
            <import plugin="org.eclipse.ui.workbench"/>
            <import plugin="org.eclipse.update.core"/>
            <import plugin="org.eclipse.update.ui"/>
            <import plugin="org.rubypeople.rdt.launching"/>
            <import plugin="com.aptana.rdt"/>
            <import plugin="org.eclipse.debug.ui"/>
            <import plugin="org.eclipse.ui.console"/>
            <import plugin="org.rubypeople.rdt.debug.ui"/>
            <import plugin="org.rubypeople.rdt.testunit"/>
            <import plugin="org.eclipse.help"/>
         </requires>

         <plugin
               id="com.aptana.ide.editor.erb"
               download-size="69"
               install-size="69"
               version="0.2.8.200707021211"
               unpack="false"/>

         <plugin
               id="com.ibmdb2.driver"
               download-size="1007"
               install-size="1007"
               version="0.3.1"
               unpack="false"/>

         <plugin
               id="com.mysql.driver"
               download-size="437"
               install-size="437"
               version="0.5.1"
               unpack="false"/>

         <plugin
               id="com.oracle.driver"
               download-size="1491"
               install-size="1491"
               version="0.3.1"
               unpack="false"/>

         <plugin
               id="com.sqlserver.driver"
               download-size="399"
               install-size="399"
               version="0.3.1"
               unpack="false"/>

         <plugin
               id="org.jruby"
               download-size="2360"
               install-size="2360"
               version="1.0.0.3788"
               unpack="false"/>

         <plugin
               id="org.postgresql.driver"
               download-size="348"
               install-size="348"
               version="0.3.1"
               unpack="false"/>

         <plugin
               id="org.radrails.db.core"
               download-size="28"
               install-size="28"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.db.ui"
               download-size="116"
               install-size="116"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.ide.ui"
               download-size="1515"
               install-size="1515"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.rails.core"
               download-size="42"
               install-size="42"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.rails.ui"
               download-size="275"
               install-size="275"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.server.core"
               download-size="26"
               install-size="26"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.radrails.server.ui"
               download-size="64"
               install-size="64"
               version="0.8.0.200707021211"
               unpack="false"/>

         <plugin
               id="org.sqlite.driver"
               download-size="41"
               install-size="41"
               version="0.3.1"
               unpack="false"/>

         <plugin
               id="org.epic.regexp"
               download-size="51"
               install-size="51"
               version="0.1.4"/>

         <plugin
               id="org.kxml2"
               download-size="32"
               install-size="32"
               version="2.1.4"/>

         <plugin
               id="org.radrails.doc"
               download-size="1328"
               install-size="1656"
               version="0.8.0.200707021211"/>

      </feature>

       
    • Philippe Ombredanne

      Note that like you said, mosts of those Aptana injected deps (if not all) are absolutely not needed at all.

       

Log in to post a comment.