[jbosstools-issues] [JBoss JIRA] (JBIDE-19718) No source zip produced when buildinfo.json can't be resolved

Mickael Istria (JIRA) issues at jboss.org
Tue Apr 28 01:23:52 EDT 2015


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

Mickael Istria commented on JBIDE-19718:
----------------------------------------

Your PR was merged.
I'm also suggested a few improvements, the most valuable one is to set a defaultValue for the property. https://github.com/jbosstools/jbosstools-maven-plugins/pull/40

> No source zip produced when buildinfo.json can't be resolved
> ------------------------------------------------------------
>
>                 Key: JBIDE-19718
>                 URL: https://issues.jboss.org/browse/JBIDE-19718
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.Alpha2
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Blocker
>             Fix For: 4.3.0.Beta1
>
>
> From the latest master build:
> http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-build-sites.aggregate.site_master/2015-04-27_12-45-49-B9759/logs/BUILDLOG.txt
> {code}
> [INFO] --- repository-utils:0.22.1-SNAPSHOT:generate-repository-facade (generate-facade) @ org.jboss.tools.site.core ---
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-base_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-server_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-jst_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-browsersim_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-aerogear_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-hibernate_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-javaee_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-webservices_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/stable/luna/core/portlet/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-vpe_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-arquillian_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-forge_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-livereload_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-central_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/requirements/xulrunner-1.9.2/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/updates/stable/luna/core/freemarker/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-birt_master/buildinfo.json
> [WARNING] Could not access build info at http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.50.0.Beta1-SNAPSHOT/buildinfo.json
> [INFO] Building zip: /mnt/hudson_workspace/workspace/jbosstools-build-sites.aggregate.site_master/sources/aggregate/site/target/org.jboss.tools.site.core-4.3.0-SNAPSHOT.zip
>  {code}
> Seems the problem is twofold:
> a) when no json files are found, we should fall back to another URL. (I think I might have an open PR for this.)
> For example, instead of http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/buildinfo.json we should be looking at http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-openshift_master/latest/all/repo/buildinfo.json
> b) the generated sources zip needs to exist even it's empty (?)



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


More information about the jbosstools-issues mailing list