Skip to main content

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

Looks like you got mixture of incompatible Tycho 0.13.0-SNAPSHOT
artifacts. Re-run the build with -U to force snapshot update or clean
org/eclipse/tycho subdirectory of your maven local repository.

--
Regards,
Igor

On 11-06-17 9:51 AM, Greg Amerson wrote:
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 <mailto: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 <mailto: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=DefaultProfile,
            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=org.eclip
            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>
            <mailto:eric.jain@xxxxxxxxx <mailto:eric.jain@xxxxxxxxx>>>
            wrote:

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

                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 <mailto:tycho-user@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/tycho-user
        <https://dev.eclipse.org/mailman/listinfo/tycho-user>




    --
    Greg Amerson (@greg_amerson <http://twitter.com/greg_amerson>)
    Liferay, Inc. (#liferay <http://twitter.com/#!/search/%23liferay>)




--
Greg Amerson (@greg_amerson <http://twitter.com/greg_amerson>)
Liferay, Inc. (#liferay <http://twitter.com/#!/search/%23liferay>)



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top