Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] macosx product error

I was vague previously when mentioning that I can't seem to use 0.13.0-SNAPSHOT.  here is the error I get when I try to use that tycho version [1].  Could this error be because I have previously built tycho locally from source when I was working on the patch to bug#346926

[1]
Exception in thread "main" java.lang.AbstractMethodError: org.eclipse.tycho.p2.impl.resolver.P2ResolverFactoryImpl.createResolutionContext(Ljava/io/File;ZLorg/eclipse/tycho/core/facade/MavenLogger;)Lorg/eclipse/tycho/p2/resolver/facade/ResolutionContext;
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolvePlatform(P2TargetPlatformResolver.java:151)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:85)
        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)
        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)

On Fri, Jun 17, 2011 at 12:44 AM, Greg Amerson <gregory.amerson@xxxxxxxxxxx> wrote:
I'm using 0.12.0.  When I switch to 0.13.0-SNAPSHOT I get this weird error where there is a method missing in a java stacktrace.  I'm also using Helios, do I have to switch to Indigo p2 runtime to get the fix?


On Fri, Jun 17, 2011 at 12:43 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
This is supposed to be fixed in 0.13.0 as of yesterdat. What tycho
version are you using?

--
Regards,
Igor


On 11-06-17 1:16 AM, Greg Amerson wrote:
Hi Eric,

Just tried my build on linux.  Is this the error you speak of?
 ChmodAction touchpoint failure?



An error occurred while installing the items
 session context was:(profile=""> phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=n
ull -->
[R]com.liferay.studio.eclipse.core.product.executable.cocoa.macosx.x86
1.3.0.v201106161359, action=""> se.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
 The action chmod failed - file
/root/tools/ee/6.0.x/studio/eclipse/releng/com.liferay.studio.eclipse-repository/tar
get/products/com.liferay.studio.eclipse.core.product/macosx/cocoa/x86/Liferay
Developer Studio/eclipse.app/Contents/
MacOS/eclipse does not exist
Application failed, log file location:
/root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.12.0/eclipse/config
uration/1308257076116.log

On Wed, Jun 15, 2011 at 5:18 PM, Eric Jain <eric.jain@xxxxxxxxx
<mailto:eric.jain@xxxxxxxxx>> wrote:

   On Wed, Jun 15, 2011 at 13:14, Greg Amerson
   <gregory.amerson@xxxxxxxxxxx <mailto:gregory.amerson@liferay.com>>

   wrote:
    > Ah I think I found an easy workaround.  Just don't customize the
   launcher
    > name.  If you just use the eclipse default, it doesn't seem to have a
    > problem.

   The build might still not work on Linux, unless another, long-standing
   bug has been fixed.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Greg Amerson (@greg_amerson)
Liferay, Inc. (#liferay)



--
Greg Amerson (@greg_amerson)
Liferay, Inc. (#liferay)

Back to the top