Details
-
Bug
-
Resolution: Done
-
Major
-
4.3.0.Alpha2
-
None
Description
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]
# 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 ...
https://github.com/jbosstools/jbosstools-build-ci/blob/4.3.x/util/installFromCentral.sh
Attachments
Issue Links
- is related to
-
JBIDE-19449 p2.director install script is finding non-IU IUs to install
- Closed