Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15892

Weird code in JBT installation script: install.sh

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.1.1.CR1
    • 4.1.1.Beta1
    • build
    • None

      install.sh contains some weird hardcoded stuff. you can download the script from offcial pages: http://www.jboss.org/tools/download/installation/update_4_1.html#fromscript

      nickboldt can you explain how is it meant to be used?

      I don't think it is very straight forward for the user.

      #!/bin/bash
      
      # install all of JBT into Eclipse Standard bundle
      target=${HOME}/eclipse/eclipse43; cd ${target}; rm -fr ${target}/eclipse
      tar xzf /tmp/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
      ${target}/eclipse/eclipse -consolelog -nosplash -data /tmp -application org.eclipse.ant.core.antRunner -f \
        install.xml \
        -DsourceZip=/tmp/jbosstools-Update-4.1.0.Final_2013-07-19_19-47-52-B380.zip \
        -DotherRepos=http://download.jboss.org/jbosstools/updates/stable/kepler/central/core/ \
        -DtargetDir=${target}/eclipse/
      
      # [p2.dir] Installing org.hibernate.eclipse.feature.source.feature.group 3.7.0.Final-v20130717-0715-B84.
      # ...
      # [p2.dir] Installing org.mozilla.xulrunner.feature.feature.group 1.9.218.Final-v20121126-2356-B155.
      # [p2.dir] Operation completed in 212518 ms.
      
      # install JBT Central, including Subclipse w/ SVNKit into Eclipse JEE bundle
      target=${HOME}/eclipse/eclipse43; cd ${target}; rm -fr ${target}/eclipse
      tar xzf /tmp/eclipse-jee-kepler-R-linux-gtk-x86_64.tar.gz
      ${target}/eclipse/eclipse -consolelog -nosplash -data /tmp -application org.eclipse.ant.core.antRunner -f \
        install.xml \
        -DsourceZip=/tmp/jbosstools-Update-4.1.0.Final_2013-07-19_19-47-52-B380.zip \
        -DotherRepos=http://download.jboss.org/jbosstools/updates/stable/kepler/central/core/ \
        -DtargetDir=${target}/eclipse/
        -Dinstall="org.jboss.tools.community.central.feature.feature.group,\
      org.tigris.subversion.subclipse.feature.group,\
      org.tigris.subversion.clientadapter.svnkit.feature.feature.group,\
      com.collabnet.subversion.merge.feature.feature.group,\
      net.java.dev.jna.feature.group,\
      org.tigris.subversion.clientadapter.feature.feature.group,\
      org.tigris.subversion.subclipse.graph.feature.feature.group,\
      org.tmatesoft.svnkit.feature.group"
      
      # [p2.dir] Installing org.jboss.tools.community.central.feature.feature.group 1.2.0.Final-v20130719-2050-B70.
      # [p2.dir] Installing org.tigris.subversion.subclipse.feature.group 1.8.20.
      # [p2.dir] Installing org.tigris.subversion.clientadapter.svnkit.feature.feature.group 1.7.9.1.
      # ...
      # [p2.dir] Operation completed in 55635 ms.
      
      

            nickboldt Nick Boldt
            psrna Pavol Srna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: