Info.plist at wrong position building an Eclipse RCP MacOS bundle via tycho -
we have eclipse rcp product migrated use eclipse tycho/maven build distributions. have read tycho since 0.24 able include whole product distribution inside standard macos application bundle wanted use too.
however, turns out info.plist @ wrong position inside created macos bundle. structure created is:
- ourapp.app
- contents
- eclipse
- the whole eclipse distribution
- eclipse.app
- contents
- info.plist
- contents
- macos
- the native launcher
- eclipse
- contents
as understand discussions around feature should be:
- ourapp.app
- contents
- info.plist
- eclipse
- the whole eclipse distribution
- macos
- the native laucher
- contents
so info.plist somehow put bogus "eclipse.app/contents" folder structure, , have no idea why.
the tycho config inside our pom.xml:
<plugin> <groupid>org.eclipse.tycho</groupid> <artifactid>tycho-p2-director-plugin</artifactid> <version>${tycho.version}</version> <executions> <execution> <id>materialize-products</id> <goals> <goal>materialize-products</goal> </goals> </execution> <execution> <id>archive-products</id> <goals> <goal>archive-products</goal> </goals> </execution> <execution> <id>create-product-distributions</id> <goals> <goal>materialize-products</goal> <goal>archive-products</goal> </goals> </execution> </executions> <configuration> <includealldependencies>true</includealldependencies> <profileproperties> <macosx-bundled>true</macosx-bundled> </profileproperties> <formats> <win32>zip</win32> <linux>tar.gz</linux> <macosx>tar.gz</macosx> </formats> <products> <product> <id>ourapp</id> <archivefilename>our-app-${unqualifiedversion}-${buildqualifier}</archivefilename> <rootfolders> <macosx>ourapp.app</macosx> </rootfolders> </product> </products> </configuration> </plugin>
anybody got idea make tycho this? thanks!
ok, think figured out.
my myapp.product file had wrong paths icon files of distribution. these raise exceptions somewhere in build process nevertheless continues provide distribution files.
once corrected paths distribution layout expected.
i assume wrong paths had killed task of assembling distribution somewhere mid-process, unfinished state packaged.
Comments
Post a Comment