Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] Mac Bundle

it's not working for now.
Pascal's patch [1] may be a starting point but it hardcodes the product name.

Jan

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=378021#c11 

-----Original Message-----
From: tycho-dev-bounces@xxxxxxxxxxx [mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Donnerstag, 14. März 2013 16:52
To: Tycho developers list
Subject: Re: [tycho-dev] Mac Bundle

Sorry, I was following the line from his blog: "To obtain the desired
shape you can either call the p2 director as mentioned above", which is
what the snippet below was trying to do, based on the line "Tycho 0.15
(still in snapshot at the time of writing this post) generates the
appropriate metadata and p2 repo" which doesn't appear to be true as far
as I can tell.

The question really is, is anyone generating proper Mac Bundles right now
or am I wasting my time trying. If it's supposed to work, I'll follow up
with a bug.

D

On 13-03-14 11:41 AM, "Sievers, Jan" <jan.sievers@xxxxxxx> wrote:

>this is not supported, hence bug
>https://bugs.eclipse.org/bugs/show_bug.cgi?id=378021 which is also linked
>in Pascal's blog.
>
>Try the workaround
>https://bugs.eclipse.org/bugs/show_bug.cgi?id=378021#c5
>
>without any manual director app invocations or other workarounds first
>and see if that works.
>If not, provide a small sample project and attach it with steps to
>reproduce to a bug report.
>Analysis based on pom snippets are guess work at best.
>
>Regards,
>Jan
>
>
>From: tycho-dev-bounces@xxxxxxxxxxx
>[mailto:tycho-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
>Sent: Donnerstag, 14. März 2013 16:28
>To: tycho-dev@xxxxxxxxxxx
>Subject: [tycho-dev] Mac Bundle
>
>Hey gang, I just joined this list. Since we rely pretty heavily on Tycho,
>I need to get more involved.
>
>I'm trying to build our IDE as a Mac bundle and am having trouble. Is it
>properly supported in 0.16? I'm following Pascal's instructions here but
>am guessing at the details:
>
>    
>http://www.rapicorp.com/2012/05/eclipse-based-applications-as-standard.htm
>l
>
>And I'm using eclipserun to call the director directly since I also want
>to build win32 and linux in the normal way.
>
>I'm using the repository created with tycho-p2-repository-plugin in
>target/repository but it appears to miss the
>*.executable.cocoa.macosx.x86-bundled dependency. Funny though because I
>can see it in the p2content.xml file in the target directory, just not in
>the repo.
>
>
>We are doing something weird staying with 32-bit x86 if that matters.
>
>
>BTW, would be great to have this better documented with examples. I can
>contribute that once I get it working.
>
>
>For reference, here's some of my pom:
>
>
>        <plugin>
>        <groupId>org.eclipse.tycho.extras</groupId>
>        <artifactId>tycho-eclipserun-plugin</artifactId>
>        <version>0.16.0</version>
>        <configuration>
>        <appArgLine>
>        -application org.eclipse.equinox.p2.director \
>        -repository file://${project.build.directory}/repository \
>-installIU com.qnx.tools.bbt.ide.e4 \
>-destination 
>${project.build.directory}/products/com.qnx.tools.bbt.ide.e4/macosx/x86/Mo
>mentics.app \
>-profile DefaultProfile \
>-p2.os macosx \
>-p2.ws cocoa \
>-p2.arch x86 \
>        </appArgLine>
>        </configuration>
>        <executions>
>        <execution>
>        <goals>
>        <goal>eclipse-run</goal>
>        </goals>
>        <phase>package</phase>
>        </execution>
>        </executions>
>        </plugin>
>
>
>Thanks,
>Doug.
>_______________________________________________
>tycho-dev mailing list
>tycho-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/tycho-dev

_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-dev


Back to the top