[jbosstools-issues] [JBoss JIRA] (JBIDE-20030) when publishing target platforms and update sites that replace themselves, use --del to remove IUs that are no longer in the repo

Nick Boldt (JIRA) issues at jboss.org
Wed Jun 10 17:04:01 EDT 2015


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

Nick Boldt commented on JBIDE-20030:
------------------------------------

FWIW, I've verified that pushing into *an existing update site folder* works w/ the addition of a --del flag. SHOULD NOT BE USED for pushing a NEW build folder, however. 

{code:title=http://download.jboss.org/jbosstools/targetplatforms/jbtearlyaccesstarget/4.50.0.Beta2-SNAPSHOT/REPO/features/}
[ ]	angularjs-eclipse-feature_0.10.0.201506020622.jar	10-Jun-2015 16:46 	14K
{code}

as built here: 

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-centraltarget_master/210/console}
+ rsync -aPrz --rsh=ssh --protocol=28 --del /mnt/hudson_workspace/workspace/jbosstools-centraltarget_master/sources/jbtearlyaccesstarget/multiple/target/jbtearlyaccess-multiple.target.repo/artifacts.jar /mnt/hudson_workspace/workspace/jbosstools-centraltarget_master/sources/jbtearlyaccesstarget/multiple/target/jbtearlyaccess-multiple.target.repo/content.jar /mnt/hudson_workspace/workspace/jbosstools-centraltarget_master/sources/jbtearlyaccesstarget/multiple/target/jbtearlyaccess-multiple.target.repo/features /mnt/hudson_workspace/workspace/jbosstools-centraltarget_master/sources/jbtearlyaccesstarget/multiple/target/jbtearlyaccess-multiple.target.repo/plugins tools at filemgmt.jboss.org:/downloads_htdocs/tools/targetplatforms/jbtearlyaccesstarget/4.50.0.Beta2-SNAPSHOT/REPO/
7 files to consider
artifacts.jar
content.jar
features/
deleting features/angularjs-eclipse-feature_0.9.0.201504121519.jar
features/angularjs-eclipse-feature_0.10.0.201506020622.jar
plugins/
deleting plugins/org.eclipse.angularjs.ui_0.9.0.201504121519.jar
deleting plugins/org.eclipse.angularjs.core_0.9.0.201504121519.jar
plugins/org.eclipse.angularjs.core_0.10.0.201506020622.jar
plugins/org.eclipse.angularjs.ui_0.10.0.201506020622.jar
sent 5778 bytes  received 2174 bytes  3180.80 bytes/sec
total size is 238461  speedup is 29.99{code}

> when publishing target platforms and update sites that replace themselves, use --del to remove IUs that are no longer in the repo
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20030
>                 URL: https://issues.jboss.org/browse/JBIDE-20030
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, target-platform, updatesite
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>             Fix For: 4.3.0.Beta2
>
>
> Just pushed an update to JBT EA site, and it includes:
> {code}
> [ ]	angularjs-eclipse-feature_0.9.0.201504121519.jar	04-Jun-2015 16:12 	14K
> [ ]	angularjs-eclipse-feature_0.10.0.201506020622.jar	10-Jun-2015 16:25 	14K
> {code}
> instead of just the new 0.10.0 feature.
> Solution:
> either delete the whole target folder BEFORE rsyncing, or pass in -del to rsync to CAREFULLY remove target files as we push.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list