[jbosstools-issues] [JBoss JIRA] (JBIDE-19756) jbosstools-src.zip has incomplete/misleading version info in folder names/structure

Nick Boldt (JIRA) issues at jboss.org
Mon May 4 16:27:45 EDT 2015


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

Nick Boldt commented on JBIDE-19756:
------------------------------------

a) Do you mean you want a root folder called  jbosstools-source, and then under that all the individual repo folders? Or just mush everything into the same root folder? (Also, how about just using `unzip -d /path/to/destination/folder`?) Also, since the zip is mandated to be called "jbosstools-src", do you actually want a root folder called "jbosstools-src" with the matching name, or are you intentionally requesting a different folder name?

b) The zip, once released, will have the fully-qualified version of JBoss Tools (or JBDS) on it, eg., *jbosstools-4.3.0.Beta1-src.zip*, but the qualifiers _INSIDE_ the zip reflect the version of the _individual projects' versions_. This is why you should see `jbosstools-portlet_Final` and `jbosstools-freemarker_Final` (they're not being built (yet) for 4.3.0.x, so we use their 4.2.x.Final versions). 

So I guess you want the x.y.z.qualifier versions here, not the 4.3.0.Beta1 version. But what do we do when there are more than one version in a project? For example, jbosstools-server has sources versioned to 1.2.0, 4.3.0, 1.7.0, 3.1.0, ... Would you like me to use the largest number? 

(This is why I've only used the BUILD_ALIAS and not the pom.xml version(s) for the source folders within the zip. The BUILD_ALIAS is useful, IMHO, and provides information; using the same version as the zip (4.3.0.Beta1) provides no more information than simply using Beta1. And if we use the projects' versions, then as noted above... which one do we use?)



> jbosstools-src.zip has incomplete/misleading version info in folder names/structure
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-19756
>                 URL: https://issues.jboss.org/browse/JBIDE-19756
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Max Rydahl Andersen
>            Assignee: Nick Boldt
>             Fix For: 4.3.0.Beta1
>
>
> Downloading latest jbosstools-src.zip from http://download.jboss.org/jbosstools/mars/snapshots/builds/jbosstools-build-sites.aggregate.site_master/latest/all/jbosstools-src.zip I see multiple files in root named:
> <componentname>_<buildqualifier>_<sha1>
> example: 
> jbosstools-javaee_Beta1-v20150501-0413-B767_149f9a46d5c676fd7119515e8b6aa796859955ad
> A few issues with this:
> a) it would have been nice unzipping would not create multiple root level folders. Maybe have a jbosstools-source folder as root ? 
> b) the buildqualifier is there but the version string for the component is not. Either put the full version string for that component (not overall jbosstools version) or just leave it as <component>-<sha> and have the root folder state the full version of jbosstools. since non-indulged user would not know this one had to do with 4.3.0.Beta1 or 4.2.3.Beta1 (for example).



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


More information about the jbosstools-issues mailing list