Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] problem with eclipse indigo

Hi,

you might consider to first try things and then ask - 3 Mails in 9 mins
is quite a lot for a mailing list.

Try using your target platform definition within your Eclipse workspace
(Preferences/Plug-in Development/Target platform). You will most likely
have compile errors then (e.g., missing dependencies), which you can fix
within Eclipse. If all dependencies all resolved correctly within
Eclipse, chances are they are resolved for your build, too.

Hope this helps,
Christian


Am 06.09.2011 16:43, schrieb Luiz E. Kowalski:
> ok, deleted, same error :(
> 
> 2011/9/6 Luiz E. Kowalski <luizeduardokowalski@xxxxxxxxx
> <mailto:luizeduardokowalski@xxxxxxxxx>>
> 
>     found this on my product:
> 
>       <launcherArgs>
>           <vmArgsMac>-XstartOnFirstThread
>     -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
>        </launcherArgs>
> 
>     can i just delete this entry?
> 
> 
>     2011/9/6 Luiz E. Kowalski <luizeduardokowalski@xxxxxxxxx
>     <mailto:luizeduardokowalski@xxxxxxxxx>>
> 
>         hi
>         thanks for your help.
> 
>         i just followed the dzone tutorial, and created a new target
>         platform, poiting to download.eclipse.org./eclipse/updates/3.7
>          and added this to my parent pom.xml
> 
> 
>         <plugin>
>                <groupId>org.eclipse.tycho</groupId>
>                <artifactId>target-platform-configuration</artifactId>
>                <version>0.11.1</version>
>                <configuration>
>                        <resolver>p2</resolver>
>                        <target>
>                                <artifact>
>                                        <groupId>br.com.german</groupId>
>                                       
>         <artifactId>br.com.german.plugin</artifactId>
> 
>                                        <version>0.0.1-SNAPSHOT</version>
>                                       
>         <classifier>br.com.german.plugin</classifier>
> 
>                                </artifact>
>                        </target>
>                       
>         <ignoreTychoRepositories>true</ignoreTychoRepositories>
>                </configuration>
>         </plugin>
> 
> 
>         where br.com.german.plugin is my plugin project, and my target
>         definition file is br.com.german.plugin.target but the error
>         persists.
> 
>         [ERROR] -> [Help 1]
> 
>         org.apache.maven.InternalErrorException: Internal error:
>         java.lang.RuntimeExcept
>         ion: Could not resolve plugin
>         org.eclipse.ui.carbon_4.0.100.I20101109-0800; Path
>          to dependency:
> 
>         something weird: there is no rcp sdk in any update sites :(
> 
> 
>         2011/9/6 Christian Soltenborn <csoltenborn@xxxxxx
>         <mailto:csoltenborn@xxxxxx>>
> 
>             Hi Luiz,
> 
>             the best way probably is to come up with a proper target
>             platform
>             definition, and to use that definition within your build.
> 
>             Here's info on target platform definitions:
> 
>             http://wiki.eclipse.org/PDE/Target_Definitions
>             http://eclipse.dzone.com/articles/creating-eclipse-rcp-target
> 
>             And here's an example on how to integrate that into your
>             tycho build:
> 
>             <plugin>
>                    <groupId>org.eclipse.tycho</groupId>
>                    <artifactId>target-platform-configuration</artifactId>
>                    <version>${tycho-version}</version>
>                    <configuration>
>                            <resolver>p2</resolver>
>                            <target>
>                                    <artifact>
>                                            <groupId>de.upb.dmm</groupId>
>                                          
>              <artifactId>de.upb.dmm.build</artifactId>
>                                            <version>0.1.0-SNAPSHOT</version>
>                                          
>              <classifier>misc/DMM_Indigo</classifier>
>                                    </artifact>
>                            </target>
>                          
>              <ignoreTychoRepositories>true</ignoreTychoRepositories>
>                    </configuration>
>             </plugin>
> 
>             Here, the target platform definition is living in the file
>             misc/DMM_Indigo.target in project de.upb.dmm.build.
> 
>             Hope this helps,
>             Christian
> 
> 
>             Am 06.09.2011 15:38, schrieb Luiz E. Kowalski:
>             > i just added
>             -Dtycho.targetPlatform=C:\Java\indigoRcp\eclipse to the
>             > command, and it worked
>             > but, targetPlatform will be removed. how do i configure it
>             properly?
>             >
>             > 2011/9/6 Luiz E. Kowalski <luizeduardokowalski@xxxxxxxxx
>             <mailto:luizeduardokowalski@xxxxxxxxx>
>             > <mailto:luizeduardokowalski@xxxxxxxxx
>             <mailto:luizeduardokowalski@xxxxxxxxx>>>
>             >
>             >     hi
>             >     i'm following this tutorial:
>             >    
>             http://mattiasholmqvist.se/2010/02/building-with-tycho-part-1-osgi-bundles/
>             >     but instead 3.5, i'm using eclipse 3.7 indigo
>             >
>             >     when i execute 'mvn clean install', i get the
>             following error:
>             >
>             >     [INFO] [Software being installed: testeTycho
>             1.0.0.qualifier,
>             >     Missing requiremen
>             >     t: testeTycho 1.0.0.qualifier requires 'package
>             org.osgi.framework
>             >     1.3.0' but it
>             >      could not be found]
>             >     [ERROR] Internal error: java.lang.RuntimeException:
>             >     org.eclipse.equinox.p2.core.
>             >     ProvisionException: No solution found because the
>             problem is
>             >     unsatisfiable. -> [
>             >     Help 1]
>             >     org.apache.maven.InternalErrorException: Internal error:
>             >     java.lang.RuntimeExcept
>             >     ion: org.eclipse.equinox.p2.core.ProvisionException:
>             No solution
>             >     found because t
>             >     he problem is unsatisfiable.
>             >             at
>             org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
>             >             at
>             org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>             >             at
>             org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>             >             at
>             org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>             >             at
>             sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>             >             at
>             >    
>             sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>             >     java:39)
>             >             at
>             >    
>             sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>             >     sorImpl.java:25)
>             >             at
>             java.lang.reflect.Method.invoke(Method.java:597)
>             >             at
>             >    
>             org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
>             >     cher.java:290)
>             >             at
>             >    
>             org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
>             >     a:230)
>             >             at
>             >    
>             org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
>             >     uncher.java:409)
>             >             at
>             >    
>             org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
>             >     352)
>             >     Caused by: java.lang.RuntimeException:
>             >     org.eclipse.equinox.p2.core.ProvisionExce
>             >     ption: No solution found because the problem is
>             unsatisfiable.
>             >             at
>             >    
>             org.sonatype.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resol
>             >     ve(ProjectorResolutionStrategy.java:100)
>             >             at
>             >    
>             org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
>             >     esolverImpl.java:360)
>             >             at
>             >    
>             org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
>             >     esolverImpl.java:325)
>             >             at
>             >    
>             org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
>             >     rm(P2TargetPlatformResolver.java:472)
>             >             at
>             >    
>             org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
>             >     (P2TargetPlatformResolver.java:151)
>             >             at
>             >    
>             org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
>             >     ject(DefaultTychoDependencyResolver.java:86)
>             >             at
>             >    
>             org.codehaus.tycho.maven.TychoMavenLifecycleParticipant.afterProjects
>             >     Read(TychoMavenLifecycleParticipant.java:94)
>             >             at
>             >    
>             org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:273)
>             >             at
>             org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>             >             ... 11 more
>             >     Caused by:
>             org.eclipse.equinox.p2.core.ProvisionException: No
>             >     solution found bec
>             >     ause the problem is unsatisfiable.
>             >             ... 20 more
>             >     [ERROR]
>             >     [ERROR]
>             >     [ERROR] For more information about the errors and possible
>             >     solutions, please rea
>             >     d the following articles:
>             >     [ERROR] [Help 1]
>             >    
>             http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorE
>             >     xception
>             >
>             >
>             >     here's my parent pom:
>             >     <?xml version="1.0" encoding="UTF-8"?>
>             >     <project
>             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>             >     http://maven.apache.org/xsd/maven-4.0.0.xsd";
>             >     xmlns="http://maven.apache.org/POM/4.0.0";
>             >         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>             >       <modelVersion>4.0.0</modelVersion>
>             >       <groupId>testeTycho</groupId>
>             >       <artifactId>workspaceRcp</artifactId>
>             >       <version>0.0.1-SNAPSHOT</version>
>             >       <packaging>pom</packaging>
>             >       <modules>
>             >         <module>testeTycho</module>
>             >       </modules>
>             >       <build>
>             >         <plugins>
>             >           <plugin>
>             >             <groupId>org.sonatype.tycho</groupId>
>             >             <artifactId>tycho-maven-plugin</artifactId>
>             >             <version>0.11.1</version>
>             >             <extensions>true</extensions>
>             >           </plugin>
>             >           <plugin>
>             >               <groupId>org.sonatype.tycho</groupId>
>             >              
>             <artifactId>target-platform-configuration</artifactId>
>             >               <version>0.11.1</version>
>             >               <configuration>
>             >                 <resolver>p2</resolver>
>             >               </configuration>
>             >         </plugin>
>             >
>             >         </plugins>
>             >       </build>
>             >
>             >     what is this?
>             >     thanks anyway :)
>             >
>             >
>             >
>             >
>             > _______________________________________________
>             > tycho-user mailing list
>             > tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
>             > https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> 
>             --
>             David Letterman: "Sometimes when you look in his eyes you
>             get the
>             feeling that someone else is driving."
>             _______________________________________________
>             tycho-user mailing list
>             tycho-user@xxxxxxxxxxx <mailto:tycho-user@xxxxxxxxxxx>
>             https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> 
> 
> 
> 
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


-- 
Anonymous: "God is not dead but alive and well and working on a much
less ambitious project."


Back to the top