Skip to main content

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

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.html

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/Momentics.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.


Back to the top