ops4j / org.ops4j.pax.runner

Multi Framework OSGi Runner
http://team.ops4j.org/wiki/display/paxrunner/
47 stars 39 forks source link

Eclipse plugin broken on Eclipse 3.6 (Helios) [PAXRUNNER-353] #368

Open ops4j-issues opened 14 years ago

ops4j-issues commented 14 years ago

Pieter created PAXRUNNER-353

Apparently internal packages have been reshuffled in the newest Eclipse version, like the org.eclipse.pde.internal.ui packages.
The class org.eclipse.jdt.internal.ui.text.JavaBreakIterator.Run seems to have disappeared.


Votes: 3, Watches: 2

ops4j-issues commented 13 years ago

Christian Baranowski commented

Today I created a Github fork with a fixed pax runner eclipse plugin which runs under Eclipse PDE 3.6.1 (Eclipse Helios). I would be very happy when the fork will be merged back into the pax runner git repo...

see https://github.com/tux2323/org.ops4j.pax.runner/tree/master/pax-runner-eclipse

There is also a tmp Eclipse Update Site to install a snapshot Pax Runner Eclipse Plugin Version into Eclipse Helios Update Site: http://tux2323.github.com/pax-runner-update-site/

ops4j-issues commented 13 years ago

Toni Menzel commented

Great. But, just trying myself, got (on mac):

WARNING Could not read bundle entry /Users/tonit/.m2/repository/p2/osgi/bundle/com.ibm.icu/4.2.1.v20100412/com.ibm.icu-4.2.1.v20100412.jar!/icu-data.jar
INFO Resolving target platform for project MavenProject: org.ops4j.pax.runner:org.ops4j.pax.runner.eclipse.updatesite:1.7.5-SNAPSHOT @ /Users/tonit/devel/oss/org.ops4j.pax.runner/pax-runner-eclipse/pax-runner-eclipse-updatesite/pom.xml
INFO Adding repository (cached) http://download.eclipse.org/releases/helios
INFO Cannot complete the request. Generating details.
INFO

{org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1, osgi.ws=cocoa, osgi.arch=x86_64, osgi.os=macosx, org.eclipse.update.install.features=true, org.osgi.framework.system.packages=}

INFO [Software being installed: org.ops4j.pax.runner.eclipse.updatesite raw:1.7.5.'SNAPSHOT'/format(n[.n=0;[.n=0;-S]]):1.7.5-SNAPSHOT, Missing requirement: org.ops4j.pax.runner.eclipse.updatesite raw:1.7.5.'SNAPSHOT'/format(n[.n=0;[.n=0;-S]]):1.7.5-SNAPSHOT requires 'org.ops4j.pax.runner.eclipse.ui.feature.feature.group 1.7.5,1.7.6)' 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.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the 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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: No solution found because the problem is unsatisfiable.
at org.eclipse.tycho.p2.impl.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:102)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:324)
at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2ResolverImpl.java:293)
at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:389)
at org.eclipse.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:150)
at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:90)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:91)
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 because the problem is unsatisfiable.
... 20 more
ERROR
ERROR To see the full stack trace of the errors, re-run Maven with the -e switch.
ERROR Re-run Maven using the -X switch to enable full debug logging.
ERROR
ERROR For more information about the errors and possible solutions, please read the following articles:
ERROR Help 1 http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
zazu:pax-runner-eclipse tonit$

Looking into it, but i'm a noob in Tycho, yet.

ops4j-issues commented 13 years ago

Christian Baranowski commented

I also build the project on Mac OSX with no build error.

I use Maven Version 3.0.3 with a clean local repository nothing in it. Here my steps how I have build the project successful:

1.) Install the Pax Runner Snapshot Version 1.7.5-SNAPSHOT with
mvn clean install

2.) Run the Maven Build in the eclipse plugin project with (pax-runner-eclipse)
mvn clean install

My Java Version is: 1.6.0_26

I have no idea what went wrong on your mac :slightly_frowning_face:
Did you use maven 3? Tycho need maven version >= 3

ops4j-issues commented 13 years ago

Toni Menzel commented

Sure Maven 3.0.3.
Will give it a fresh run asap.

Thanks for heads up!

ops4j-issues commented 12 years ago

Kostas Giannoutakis commented

Hi, how can I build this version of pax runner within eclipse?