hg: macosx-port/macosx-port/jdk: Creating .jre sub-bundle inside .jdk bundle. First step towards embedding a .jre inside of self-launching .app bundles.

Henri Gomez henri.gomez at gmail.com
Wed Sep 14 14:10:14 PDT 2011


I made a try and removed jre/bundle symlink to ../.. and packagemaker
succeed to build .pkg.

Hope it will help


2011/9/14 Henri Gomez <henri.gomez at gmail.com>:
> More on this change.
>
> I suspect symlink introduced to broke packagemaker used to build .pkg
> included in .dmg.
> this one fail and core dump.
>
> under ./j2sdk-bundle/1.7.0.jdk/Contents/Home
>
> mbp:Home henri$ ls -l
> total 44592
> drwxr-xr-x   3 henri  staff       102 Sep 14 22:03 1.7.0.jre
> -r--r--r--   1 henri  staff      1503 Sep 14 22:02 ASSEMBLY_EXCEPTION
> -r--r--r--   1 henri  staff     19263 Sep 14 22:02 LICENSE
> -r--r--r--   1 henri  staff    172135 Sep 14 22:02 THIRD_PARTY_README
> drwxr-xr-x  40 henri  staff      1360 Sep 14 22:02 bin
> lrwxr-xr-x   1 henri  staff        10 Sep 14 22:03 bundle -> jre/bundle
> drwxr-xr-x  10 henri  staff       340 Sep 14 22:02 demo
> drwxr-xr-x   9 henri  staff       306 Sep 14 22:02 include
> lrwxr-xr-x   1 henri  staff        23 Sep 14 22:03 jre ->
> 1.7.0.jre/Contents/Home
> drwxr-xr-x   9 henri  staff       306 Sep 14 22:03 lib
> drwxr-xr-x   5 henri  staff       170 Sep 14 22:03 man
> -rw-r--r--   1 henri  staff       218 Sep 14 22:03 release
> drwxr-xr-x   7 henri  staff       238 Sep 14 22:02 sample
> -rw-r--r--   1 henri  staff  22618091 Sep 14 22:02 src.zip
>
> mbp:Home henri$ ls -l jre/bundle
> lrwxr-xr-x  1 henri  staff  5 Sep 14 22:03 jre/bundle -> ../..
>
> mbp:Home henri$ ls -l jre/bundle/../..
> total 16
> drwxr-xr-x  16 henri  staff   544 Sep 14 22:03 Home
> -rw-r--r--   1 henri  staff  1204 Sep 14 22:03 Info.plist
> lrwxr-xr-x   1 henri  staff    29 Sep 14 22:03 MacOS ->
> Home/1.7.0.jre/Contents/MacOS
> mbp:Home henri$
>
> Isn't there a loop somewhere broking packagemaker traversal process ?
>
> Cheers
>
>> 2011/9/13  <swingler at apple.com>:
>>> Changeset: 86d6d9ef0563
>>> Author:    swingler at apple.com
>>> Date:      2011-09-13 00:26 -0700
>>> URL:       http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/86d6d9ef0563
>>>
>>> Creating .jre sub-bundle inside .jdk bundle. First step towards embedding a .jre inside of self-launching .app bundles.
>>>
>>> ! make/common/Release-macosx.gmk
>>> - src/macosx/bundle/Info.plist
>>> + src/macosx/bundle/JDK-Info.plist
>>> + src/macosx/bundle/JRE-Info.plist
>>>
>>>
>>
>


More information about the macosx-port-dev mailing list