[jbosstools-issues] [JBoss JIRA] (JBDS-3191) Improve the way we switch between development and GA

Mickael Istria (JIRA) issues at jboss.org
Mon Nov 24 02:48:39 EST 2014


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

Mickael Istria commented on JBDS-3191:
--------------------------------------

{code}How does the code that builds the p2.inf or feature.xml or .product file know to insert ONE or TWO URLs in there? How are you going to programmatically toggle the inclusion of the 8.0-development site based on BUILD_ALIAS=GA ?{code}
This is indeed tricky to implement as build configuration/build steps/p2 inf directive.
What I have in mind is that this become controlled via a plugin directly, such as com.jboss.devstudio.core. This plugin would have an IStartup extension that would start a background job when starting the product, and that would run some basic checks by introspecting the runtime directly.

> Improve the way we switch between development and GA
> ----------------------------------------------------
>
>                 Key: JBDS-3191
>                 URL: https://issues.jboss.org/browse/JBDS-3191
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Enhancement
>          Components: build
>            Reporter: Mickael Istria
>             Fix For: 8.0.1.GA
>
>
> JBDS-3190 has shown that there are too many changes to perform when willing to create a GA candidate, and it's almost certain that we'll forever forget to change one or some of them when switching between GA and development stream.
> We need to improve that.
> Changes are necessary in:
> * features/com.jboss.devstudio.core/feature/p2.inf
> * site/associate.properties
> * results/pom.xml
> As an alternative, I suggest that the final site be ALWAYS added to the referenced site, even if it's empty. This has no cost for build nor user, and this would simplify a few things here and there.
> Also, instead of a p2.inf, we could think a a "startup" extension that would add reference to development site in case qualifier for the feature doesn't contain GA.
> The property to the "current site" (GA or development) could be factorized in JBDS parent pom. so that both results/pom.xml and site/pom.xml could use it (instead of associateSites.properties).
> CC [~nickboldt] [~maxandersen]



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list