[jbosstools-issues] [JBoss JIRA] (JBDS-3411) have installer build actually use M6 p2 product build

Denis Golovin (JIRA) issues at jboss.org
Wed Apr 22 12:16:33 EDT 2015


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

Denis Golovin edited comment on JBDS-3411 at 4/22/15 12:15 PM:
---------------------------------------------------------------

yes, using 0.23.0-SNAPSHOT it works for me on Mac.

To force p2.director materialize product in Mac OS X .app package target directory should have .app suffix.
Default location for JBDS on Mac is /Application/jbdevstudio. Then installer adds three more sub-folders:
- runtimes (where runtime detection takes place by default and where EAP installed if included in installer) 
- studio (is used as -destination parameter for p2.director to materialize product)
- Uninstaller (generated by IzPack and contains Uninstaller.jar)

Currently even if installer built with tycho 0.23.0-SNAPSHOT when jbds is installed into /Application/jbdevstudio/studio p2.director falls back to old layout for Mac when jbdevstudio.app is placed into /Application/jbdevstudio/studio/jbdevstudio.app along with features and plugins folders. If we rename studio to studio.app  or jbdevstudio.app then p2.director will create right application package with internal structure the same as Eclipse.app Mars M6 downloaded from Eclipse.



was (Author: dgolovin):
yes, using 0.23.0-SNAPSHOT it works for me on Mac.

To force p2.director materialize product in Mac OS X .app package target directory should have .app suffix.
Default location for JBDS on Mac is /Application/jbdevstudio. Then installer adds three more sub-folders:
- runtimes (where runtime detection takes place by default and where EAP installed if included in installer) 
- studio (is used as -destination parameter for p2.director to materialize product)
- Uninstaller (generated by IzPack and contains Uninstaller.jar)

Currently even if installer built with tycho 0.23.0-SNAPSHOT when jbds is installed into /Application/jbdevstudio/studio p2.director falls back to old layout for Mac when jbdevstudio.app is placed into /Application/jbdevstudio/studio/jbdevstudio.app along with features and plugins folders. If we rename studio to studio.app  or jbdevstudio.app then p2.director will create right application package with internal structure similar to Eclipse.app Mars M6 downloaded from Eclipse.


> have installer build actually use M6 p2 product build
> -----------------------------------------------------
>
>                 Key: JBDS-3411
>                 URL: https://issues.jboss.org/browse/JBDS-3411
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: build, installer, updatesite
>            Reporter: Max Rydahl Andersen
>            Assignee: Denis Golovin
>            Priority: Critical
>             Fix For: 9.0.0.Alpha2
>
>
> talking with [~prapicault] I learned that since M6 the following changes are required for proper working p2 product/osx build:
> {code}
> <products>
>          <product>
>            ...
>            <rootFolders>
>              <macosx>MyProduct.app</macosx>
>            </rootFolders>
>          </product>
> {code}
> And to use tycho 0.23-snapshot



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


More information about the jbosstools-issues mailing list