Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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.


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

>this is not supported, hence bug
> which is also linked
>in Pascal's blog.
>Try the workaround
>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.
>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:
>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://${}/repository \
>-installIU \
> \
>-profile DefaultProfile \
>-p2.os macosx \
> cocoa \
>-p2.arch x86 \
>        </appArgLine>
>        </configuration>
>        <executions>
>        <execution>
>        <goals>
>        <goal>eclipse-run</goal>
>        </goals>
>        <phase>package</phase>
>        </execution>
>        </executions>
>        </plugin>
>tycho-dev mailing list

Back to the top