Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] RCP build with tycho crash when start it in macos

Tycho really does nothing special - so there is most likely some problem in your configuration. Still I am surprised that this leads to VM crashes. You should probably talk to the Eclipse Platform or SWT guys about this problem - they may be able to read anything from the dump files. I don't have any experience with these files.

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Cristiano Gavião
> Sent: Samstag, 10. Dezember 2011 00:37
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] RCP build with tycho crash when start it in macos
> 
> Hi guys,
> 
> I'm with a annoying problem here that I couldn't figure out and need a
> help.
> 
> I have a product that is being built with tycho (0.14.0-SNAPSHOT) for
> macosx (native) with java version "1.6.0_29".
> The build seems to be ok and the zip file is created properly. The
> problem is when I try to run the application it crash on splash loading
> bundles phase. I could not see any eclipse log, but the system generates
> one that is attached.
> 
> The most interesting thing is that when I start the application from IDE
> or export it from PDE,  it just run fine !! :(
> 
> This is the pom:
> 
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.eclipse.tycho</groupId>
> > <artifactId>tycho-p2-director-plugin</artifactId>
> > <version>${tycho-version}</version>
> > <executions>
> > <execution>
> > <!-- install the product for all configured os/ws/arch environments
> >                             using p2 director -->
> > <id>materialize-products</id>
> > <goals>
> > <goal>materialize-products</goal>
> > </goals>
> > </execution>
> > <execution>
> > <!-- (optional) create product zips (one per os/ws/arch) -->
> > <id>archive-products</id>
> > <goals>
> > <goal>archive-products</goal>
> > </goals>
> > </execution>
> > </executions>
> > </plugin>
> 
> 
> I've setup configuration on product file using tycho demo 04 as template:
> 
> > <configurations>
> > <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4" />
> > <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2"
> />
> > <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="1" />
> > <plugin id="org.eclipse.equinox.p2.reconciler.dropins"
> > autoStart="true" startLevel="4" />
> > <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true"
> > startLevel="1" />
> > <plugin id="org.eclipse.update.configurator" autoStart="true"
> > startLevel="4" />
> > </configurations>
> and this is the generated config.ini:
> 
> > #This configuration file was written by:
> >
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFilePar
> ser
> > #Fri Dec 09 20:20:32 BRT 2011
> > org.eclipse.update.reconcile=false
> > eclipse.p2.profile=DefaultProfile
> > osgi.framework=file\:plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
> > equinox.use.ds=true
> >
> osgi.bundles=reference\:file\:org.eclipse.equinox.ds_1.2.1.R36x_v20100803.
> jar@1\:start,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.2
> 00.v20100503.jar@1\:start
> >
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox
> .simpleconfigurator/bundles.info
> > eclipse.product=org.eclipse.epf.rcp.ui.composer
> > osgi.splashPath=platform\:/base/plugins/org.eclipse.epf.rcp.ui
> > osgi.framework.extensions=
> > osgi.bundles.defaultStartLevel=4
> > eclipse.p2.data.area=@config.dir/../p2
> > eclipse.application=org.eclipse.epf.rcp.ui.MainApplication
> 
> 
> Could someone give any clue for investigate this?
> 
> thanks
> 
> Cristiano



Back to the top