5 Replies Latest reply on Jul 20, 2005 1:01 PM by peterj

    upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE M2?

    mikek753

      Hello all,

      Would you write simple steps about how to upgrade from old Eclipse 3.1M5 / JBoss-IDE M1 to new 3.1/M2 set? Please.

      thanks.

        • 1. Re: upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE
          mikek753

          can I just copy Eclipse 3.1 over M5?
          and then copy on top of it JBoss-IDE M2 (ALL)?

          thanks.

          • 2. Re: upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE
            peterj

            Do not copy newer versions of Eclipse over older versions, you could end up with older (unreplaced) jar files present that could cause problems. Always install Eclipse in a new directory, and add your plug-ins into that directory.

            You can then open your old workspace with the new Eclipse version and it should upgrade the settings/projects. Or, start a new workspace and move your settings and projects over to it. (I always do the later since I usually down't want all of my old projects, or maybe its because I also perfer clean installs when upgrading Windows :-)).

            • 3. Re: upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE
              mikek753

              thanks a lot for reply.

              then the steps are:
              1. rename eclipse folder to eclipse.old - just in case
              2. unpack new Eclipse to eclipse folder - that way you don't need to change short-cut and -vmargs for Eclipse ;-)
              3. unpack JBoss-IDE M2 (ALL) to that eclipse folder
              4. run Eclipse and point to the workspace
              5. install "your" plug-in(s) from Help/ ... instal new plug-in by pointering to new remote site.

              Please, correct me where it is needed.

              p.s. hope that saves time to other JBoss-IDE users

              • 4. Re: upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE
                mazz

                See my wiki on how to setup eclipse for easy upgrades and multiple source trees:

                http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpEclipseForMultipleSourceTrees

                I've been doing it that way for a while now and haven't had any problems switching between eclipse versions and workspaces.

                • 5. Re: upgrade from Eclipse 3.1M5 / IDE M1 to Eclipse 3.1 / IDE
                  peterj

                  By the way, you can rename the eclipse directory to anything you want. I append the version number, for example I have direcotries eclipse.302, eclipse.31m5 and eclipse.31. I can then use any version of eclipse. By the way, you have to do this before the first time you run eclipse -- once you run it you cannot change the directory name (well you can, but it won't run, or won't run correctly, its been a while since it did that, so I'm not sure exactly what goes wrong).