[jbosstools-issues] [JBoss JIRA] (JBDS-3669) Inject version, timestamp and Jenkins build number into installer to show in installer window
Nick Boldt (JIRA)
issues at jboss.org
Thu Mar 24 16:33:00 EDT 2016
[ https://issues.jboss.org/browse/JBDS-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182236#comment-13182236 ]
Nick Boldt commented on JBDS-3669:
----------------------------------
OK, so managed to make this work:
https://github.com/redhat-developer-tooling/developer-platform-install/pull/58/commits/4894b0f1e0c2259c11efa6708f52836dec4beb9f
in that we can pass in some value of --version to the gulp process to name the .exe whatever we want (rather than having to call `npm version`).
BUT... I can't get the same parameter to flow into browser/pages/account/controller.js such that any value other than the one in package.json appears in account.html 's footer on line 58 as `acctCtrl.pdkVersion`.
So this is the best I can do for now.
> Inject version, timestamp and Jenkins build number into installer to show in installer window
> ---------------------------------------------------------------------------------------------
>
> Key: JBDS-3669
> URL: https://issues.jboss.org/browse/JBDS-3669
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Task
> Components: installer
> Affects Versions: 9.1.0.Beta2
> Reporter: Denis Golovin
> Assignee: Denis Golovin
> Labels: havoc
> Fix For: 9.1.0.CR1
>
>
> Currently this information is not available in installer at execution time, we should create json or js file with this info before executing the build, include it in installer and use during installation to get required data.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list