[jbosstools-issues] [JBoss JIRA] (JBIDE-20663) Install grinder and p2 director installer need to be updated to support new mars.N filename conventions

Nick Boldt (JIRA) issues at jboss.org
Sat Sep 12 22:40:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108048#comment-13108048 ] 

Nick Boldt commented on JBIDE-20663:
------------------------------------

Here's some shell script for that. Need to port this to groovy and also fix the composite install jobs.

{code: see http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/jbosstoolstargetplatforms-matrix}
# eclipseBundleVersion = mars.1-RC3
# http://download.eclipse.org/technology/epp/downloads/release/mars/SR1-RC3/eclipse-jee-mars-1-RC3-linux-gtk.tar.gz
 ECLIPSEZIPFILE=eclipse-jee-${eclipseBundleVersion/./-}-linux-gtk.tar.gz
 if [[ `uname -a | grep 64` ]]; then ECLIPSEZIPFILE=eclipse-jee-${eclipseBundleVersion/./-}-linux-gtk-x86_64.tar.gz; fi
 ECLIPSEZIPPATH=${ZIPDIR}/${ECLIPSEZIPFILE}
if [[ ${eclipseBundleVersion/.1/} != ${eclipseBundleVersion} ]] || [[ ${eclipseBundleVersion/.2/} != ${eclipseBundleVersion} ]]; then # .1 / SR1 or .2 / SR2
  ECLIPSEDLPATH=${eclipseBundleVersion/.//SR}/${ECLIPSEZIPFILE}
else
  ECLIPSEDLPATH=${eclipseBundleVersion/.//}/${ECLIPSEZIPFILE}
fi
  wget -q --no-check-certificate -N "http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${ECLIPSEDLPATH}&r=1" -O ${ECLIPSEZIPPATH}
{code}

> Install grinder and p2 director installer need to be updated to support new mars.N filename conventions
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20663
>                 URL: https://issues.jboss.org/browse/JBIDE-20663
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.CR1
>            Reporter: Nick Boldt
>            Priority: Blocker
>
> *Old filename convention:*
> http://download.eclipse.org/technology/epp/downloads/release/mars/R/eclipse-jee-mars-R-linux-gtk-x86_64.tar.gz
> So, we used to be able to pass in versionLabel = R or eclipseBundleVersion = mars.R
> And this could be parsed easily into folder = mars/R with filename mars-R.
> *New filename convension:*
> http://download.eclipse.org/technology/epp/downloads/release/mars/SR1-RC3/eclipse-jee-mars-1-RC3-linux-gtk-x86_64.tar.gz
> But here, we have a mix of "mars/SR1-RC3" and "mars-1-RC3", so we need to include logic to add in the "SR" part that appears ONLY in the folder, but not the filename.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list