[jbosstools-issues] [JBoss JIRA] (JBIDE-15892) Weird code in JBT installation script: install.sh

Pavol Srna (JIRA) jira-events at lists.jboss.org
Thu Nov 7 04:25:02 EST 2013


Pavol Srna created JBIDE-15892:
----------------------------------

             Summary: Weird code in JBT installation script: install.sh 
                 Key: JBIDE-15892
                 URL: https://issues.jboss.org/browse/JBIDE-15892
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: build
    Affects Versions: 4.1.1.Beta1
            Reporter: Pavol Srna
            Assignee: Nick Boldt
             Fix For: 4.1.1.CR1


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.

{code}
#!/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.

{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list