[jbosstools-issues] [JBoss JIRA] (JBIDE-19702) installFromCentral.sh should support installing from central site+plugin OR earlyaccess site+plugin
Nick Boldt (JIRA)
issues at jboss.org
Wed Sep 9 12:59:00 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-19702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Boldt updated JBIDE-19702:
-------------------------------
Fix Version/s: 4.4.x
(was: 4.3.0.CR1)
> installFromCentral.sh should support installing from central site+plugin OR earlyaccess site+plugin
> ---------------------------------------------------------------------------------------------------
>
> Key: JBIDE-19702
> URL: https://issues.jboss.org/browse/JBIDE-19702
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, updatesite
> Affects Versions: 4.3.0.Alpha2
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.4.x
>
>
> Today, installFromCentral.sh assumes two incorrect things:
> a) central URL is always different than the JBT/JBDS site URL [no longer true, since JBT/JBDS & Central content are now co-located]
> b) the plugin to parse for IUs is ONLY the central one, not the EA one [we should parse ONE or BOTH, depending on cmdline flag]
> {code}
> # get a list of IUs to install from the Central site (based on the discovery.xml -> plugin.jar -> plugin.xml)
> CENTRAL_URL=${INSTALL_PLAN#*,} # includes discovery.xml # echo CENTRAL_URL = $CENTRAL_URL
> if [[ $CENTRAL_URL != $INSTALL_PLAN ]]; then
> # echo $CENTRAL_URL
> wget ${CENTRAL_URL} -q --no-check-certificate -N -O directory.xml
> PLUGINJAR=`cat ${WORKSPACE}/directory.xml | egrep "org.jboss.tools.central.discovery_|com.jboss.jbds.central.discovery_" | sed "s#.\+url=\"\(.\+\).jar\".\+#\1.jar#"`
> # echo "Got $PLUGINJAR"
> CENTRAL_URL=${SITES#*,} # excludes discovery.xml # echo CENTRAL_URL = $CENTRAL_URL
> wget ${CENTRAL_URL}/${PLUGINJAR} -q --no-check-certificate -N -O plugin.jar
> unzip -oq plugin.jar plugin.xml
> ...
> {code}
> https://github.com/jbosstools/jbosstools-build-ci/blob/4.3.x/util/installFromCentral.sh
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list