[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cbi-dev] Issues with Mac Signing
|
Hi Gunnar,
I think I figured out the problem (see my diff below). I think it's a
Tycho configuration issue. The declaration of "<rootFolders>" as
Gyrex.app made Tycho make that the root directory and then put
everything inside of it which I guess caused the archiving to not look
correct. When I removed it the file structure looked more like what I
would have expected:
gyrex/gyrex.app
gyrex/plugins
gyrex/features
...
etc...
Also I had to update the <signFile> parameter in the macsigner-plugin
due to the extra directory. Finally it seems the bundle that it gets
"gyrex.app" from is lowercase:
Archive:
org.eclipse.gyrex.products.server.executable.cocoa.macosx.x86_64_1.2.1.v20130719-1202
creating: gyrex.app/
creating: gyrex.app/Contents/
creating: gyrex.app/Contents/Resources/
inflating: gyrex.app/Contents/Resources/Eclipse.icns
inflating: gyrex.app/Contents/Info.plist
creating: gyrex.app/Contents/MacOS/
inflating: gyrex.app/Contents/MacOS/gyrex
inflating: gyrex.app/Contents/MacOS/gyrex.ini
Not sure if you had a preference of the first letter being upper or
lower case but it would need to be fixed in whatever package
org.eclipse.gyrex.products.server.executable.cocoa.macosx.x86_64 comes
from. I couldn't find it in any of the repos but maybe I was looking in
the wrong places?
Thanh
diff --git a/products/pom.xml b/products/pom.xml
index ae43b87..5ecd695 100644
--- a/products/pom.xml
+++ b/products/pom.xml
@@ -53,7 +53,7 @@
<phase>package</phase>
<configuration>
<signFiles>
-
<signFile>${project.build.directory}/products/org.eclipse.gyrex.products.server/macosx/cocoa/x86_64/Gyrex.app</signFile>
+
<signFile>${project.build.directory}/products/org.eclipse.gyrex.products.server/macosx/cocoa/x86_64/gyrex/gyrex.app</signFile>
</signFiles>
</configuration>
</execution>
@@ -102,9 +102,6 @@
<id>org.eclipse.gyrex.products.server</id>
<archiveFileName>gyrex-${buildId}</archiveFileName>
<rootFolder>gyrex</rootFolder>
- <rootFolders>
- <macosx>Gyrex.app</macosx>
- </rootFolders>
</product>
</products>
<formats>
On 20/08/13 04:26 AM, Gunnar Wagenknecht wrote:
Hi,
On 2013-08-19 19:57:21 +0000, Thanh Ha said:
In this case Gyrex's Gyrex.app was
almost 20MB in size due to it bundling some jars inside it's Gyrex.app.
That doesn't sound right. It's the vanilla Eclipse executable that's
also used by the Platform SDK but just re-named to Gyrex.app. I'm
wondering why the JARs end up in the app directory? Maybe it's because
of the new Mac layout I'm using or is there something else I might
have configured differently in the Tycho build?
-Gunnar
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cbi-dev