Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-376

Move to the latest Eclipse 3.4 dependencies

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: studio-rcp
    • Labels:
      None

      Description

      Move our RCP dependencies to the latest Eclipse 3.4 dependencies

      1. Studio_1.2.0.txt
        4 kB
        Pierre-Arnaud Marcelot
      2. Eclipse_3.4.0.txt
        4 kB
        Pierre-Arnaud Marcelot
      3. Comparison_Studio_Eclipse.xls
        43 kB
        Pierre-Arnaud Marcelot
      4. create_sdk_artifacts.sh
        2 kB
        Felix Knecht
      5. create_rcp_artifacts.sh
        2 kB
        Felix Knecht

        Issue Links

          Activity

          Hide
          Pierre-Arnaud Marcelot added a comment -

          I managed to get the application working with a manual copy of the Eclipse 3.4 dependencies.

          Almost all of them need to be modified. I'll attach two text files with the plugins names and one excel files with the comparison.

          Show
          Pierre-Arnaud Marcelot added a comment - I managed to get the application working with a manual copy of the Eclipse 3.4 dependencies. Almost all of them need to be modified. I'll attach two text files with the plugins names and one excel files with the comparison.
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Studio 1.2.0 dependencies.

          Show
          Pierre-Arnaud Marcelot added a comment - Studio 1.2.0 dependencies.
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Eclipse 3.4.0 dependencies for Studio.

          Show
          Pierre-Arnaud Marcelot added a comment - Eclipse 3.4.0 dependencies for Studio.
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Comparison between the dependencies.

          Show
          Pierre-Arnaud Marcelot added a comment - Comparison between the dependencies.
          Hide
          Felix Knecht added a comment -

          Please keep care on the poms, md5, ... files when 'deploying' them to the repository submodule
          If you need some help please let me know.

          In eclipse_3.4.0.txt I can't find any org.eclipse.swt.gtk.* nor org.eclipse.swt.win32.* files. They are OS specific (maybe there are others as well). Are you working on a MAC (as only org.eclipse.swt.carbon.macosx_3.4.0.v3448f.jar
          is mentioned) ?

          Regards
          Felix

          Show
          Felix Knecht added a comment - Please keep care on the poms, md5, ... files when 'deploying' them to the repository submodule If you need some help please let me know. In eclipse_3.4.0.txt I can't find any org.eclipse.swt.gtk.* nor org.eclipse.swt.win32.* files. They are OS specific (maybe there are others as well). Are you working on a MAC (as only org.eclipse.swt.carbon.macosx_3.4.0.v3448f.jar is mentioned) ? Regards Felix
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Don't worry Felix. I won't make the same mistake twice and have you generate these files this time...

          Yeah, I'm working on a Mac. This is why the other specific jars are not there. But they will be added of course. Just need to download them for the specific Eclipse distribution.

          Quick question: What is the best option for generating all theses poms, md5, etc. files for a large number of jars?
          Do you have trick ?

          For now I'm doing it by hand...
          For example: mvn install:install-file -Dfile=com.ibm.icu_3.8.1.v20080530.jar -DgroupId=com.ibm -DartifactId=icu -Dversion=3.8.1.v20080530 -Dpackaging=jar -DgeneratePom=true

          Show
          Pierre-Arnaud Marcelot added a comment - Don't worry Felix. I won't make the same mistake twice and have you generate these files this time... Yeah, I'm working on a Mac. This is why the other specific jars are not there. But they will be added of course. Just need to download them for the specific Eclipse distribution. Quick question: What is the best option for generating all theses poms, md5, etc. files for a large number of jars? Do you have trick ? For now I'm doing it by hand... For example: mvn install:install-file -Dfile=com.ibm.icu_3.8.1.v20080530.jar -DgroupId=com.ibm -DartifactId=icu -Dversion=3.8.1.v20080530 -Dpackaging=jar -DgeneratePom=true
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Woooops.

          The complete command line with checksums generation should be: mvn install:install-file -Dfile=com.ibm.icu_3.8.1.v20080530.jar -DgroupId=com.ibm -DartifactId=icu -Dversion=3.8.1.v20080530 -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true

          Show
          Pierre-Arnaud Marcelot added a comment - Woooops. The complete command line with checksums generation should be: mvn install:install-file -Dfile=com.ibm.icu_3.8.1.v20080530.jar -DgroupId=com.ibm -DartifactId=icu -Dversion=3.8.1.v20080530 -Dpackaging=jar -DgeneratePom=true -DcreateChecksum=true
          Hide
          Felix Knecht added a comment -

          I used deploy:deploy-file I think.
          For the initial stuff at that time I wrote a small script doing this for all jars found somewhere in an eclipse unzip. I had it in my sandbox (which I deleted I think). Let me see if I can find it again.

          Show
          Felix Knecht added a comment - I used deploy:deploy-file I think. For the initial stuff at that time I wrote a small script doing this for all jars found somewhere in an eclipse unzip. I had it in my sandbox (which I deleted I think). Let me see if I can find it again.
          Hide
          Felix Knecht added a comment -

          The scripts I used at that time. Feel free to adapt them to your needs.
          Getting smarter in the meantime I would now use mvn deploy:deploy-file instead of install:install-file to get really like they where deploy on a remote repository.
          See also http://maven.apache.org/plugins/maven-deploy-plugin/usage.html for this. ->
          mvn deploy:deploy-file -Durl=file://

          {svn-studio/trunk}

          /repository \
          -Dfile=your-artifact-1.0.jar \
          [-DgroupId=org.some.group] \
          [-DartifactId=your-artifact] \
          [-Dversion=1.0] \
          [-Dpackaging=jar] \
          [-DgeneratePom=true] \
          should do the job.

          In short the scripts unpack an eclipse download (sdk or rpc), try to analyse the extract the artifactid/groupid and deploy it. But it's not 100% working (not without errors).

          OTH the latest updates (the missing poms) I did manually.

          Hope it can give you an idea

          Felix

          Show
          Felix Knecht added a comment - The scripts I used at that time. Feel free to adapt them to your needs. Getting smarter in the meantime I would now use mvn deploy:deploy-file instead of install:install-file to get really like they where deploy on a remote repository. See also http://maven.apache.org/plugins/maven-deploy-plugin/usage.html for this. -> mvn deploy:deploy-file -Durl= file:// {svn-studio/trunk} /repository \ -Dfile=your-artifact-1.0.jar \ [-DgroupId=org.some.group] \ [-DartifactId=your-artifact] \ [-Dversion=1.0] \ [-Dpackaging=jar] \ [-DgeneratePom=true] \ should do the job. In short the scripts unpack an eclipse download (sdk or rpc), try to analyse the extract the artifactid/groupid and deploy it. But it's not 100% working (not without errors). OTH the latest updates (the missing poms) I did manually. Hope it can give you an idea Felix
          Hide
          Pierre-Arnaud Marcelot added a comment -

          Thanks Felix!

          Show
          Pierre-Arnaud Marcelot added a comment - Thanks Felix!
          Hide
          Pierre-Arnaud Marcelot added a comment -

          At last!

          It's fixed...

          Show
          Pierre-Arnaud Marcelot added a comment - At last! It's fixed...

            People

            • Assignee:
              Pierre-Arnaud Marcelot
              Reporter:
              Pierre-Arnaud Marcelot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development