Thanks, Igor !

If anyone else is trying to do this here is more info...

ONE)
i downloaded from these links to make it build : 

http://download.eclipse.org/eclipse/downloads/drops/R-3.4.1-200809111700/download.php?dropFile=eclipse-SDK-3.4.1-linux-gtk.tar.gz
http://download.eclipse.org/eclipse/downloads/drops/R-3.4.1-200809111700/download.php?dropFile=eclipse-3.4.1-delta-pack.zip

TWO)

I had some  hard-to-diagnose problems when i messed up my target platform
setting.  
when i specified a nonexistent directory for my ECLIPSE_HOME  the build
didn't catch that... 
instead it failed in strange ways...

I think it might be useful to put in a step in the validation phase of this
build that verifies targetPlatform
setting and fails fast if the directory is not valid.

  i could do this and send u a patch if you'd like....

    pls let me know.  and thanks again..



*************

Igor Fedorenko-4 wrote:
> 
> Currently, tycho build target platform should be set to eclipse 3.4.1 
> with rcp delta pack. You can download both from [1].
> 
> In case you are interested, it is also possible to bootstrap tycho build 
> with plain maven 2.0.9, i.e. without pre-built tycho. I should probably 
> document all this ;-)
> 
> http://download.eclipse.org/eclipse/downloads/drops/R-3.4.1-200809111700/index.php
> 
> --
> Regards,
> Igor
> 
> 
> buildmaster-x wrote:
>> Hi, 
>> 
>> Here's a Summary of my  Problem:
>> 
>> I tried building tycho on linux and it failed on the  Tycho P2 Runtime
>> module
>> 
>> The top of the stack looked like this >
>> 
>>      at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>> execution
>> failed.
>>      at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:645)
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>>      ... 15 more
>> Caused by: org.apache.maven.plugin.MojoExecutionException: RPC delta
>> feature
>> not found!
>>      at
>> org.codehaus.tycho.eclipsepackaging.ProductExportMojo.copyExecutable(ProductExportMojo.java:444)
>>      at
>> org.codehaus.tycho.eclipsepackaging.ProductExportMojo.execute(ProductExportMojo.java:121)
>>      at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:623)
>> 
>> 
>> i looked at line 444 of ProductExportMojo.java, and i gathered that the
>> problem was that the 'copyExecutable' method
>> was unable to find the feature named org.eclipse.equinox.executable.
>> 
>> i looked in my target platforms features folder and i could not find that
>> feature.. i also did some google searching, and i 
>> found that the feature went into eclipse in 3.3..  but i could find
>> nowhere
>> to download it.
>> 
>> If anyone can advise me on where i could get this feature  (or how else i
>> can get past this issue)  i'd be most grateful.
>> 
>> please note, the full stack trace, together with other details is given
>> below...
>> thanks very much ! 
>> 
>> 
>> DETAILS
>> 
>> 
>> i pulled revision 1785 and 1819   from svn and tried this with both (same
>> result).
>> 
>> i downloaded  tycho prebuilt version from 
>> http://repository.sonatype.org/content/repositories/tycho-pseudo-releases/org/codehaus/tycho/tycho-distribution/0.3.0-DEV-1785/
>> 
>> then i downloaded eclipse 3.4 classic (for my targetPlatform) from here:
>> http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4.1-200809111700/eclipse-SDK-3.4.1-linux-gtk.tar.gz
>> 
>> i ran this command > 
>>  $M2_HOME/bin/mvn  -Dmaven.repo.local=/tmp/repo   -e -X clean install
>> -Dtycho.targetPlatform=/tmp/eclipse/eclipse/
>> 
>> 
>> got the following failure and Stack trace : 
>> 
>> 
>> [INFO] Tycho P2 Runtime ...................................... FAILED
>> [0.715s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] 
>> Internal error in the plugin manager executing goal
>> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-1785:product-export':
>> Mojo execution failed.
>> 
>> While building project with id:
>> org.codehaus.tycho:tycho-p2-runtime:eclipse-application:0.3.0-SNAPSHOT
>> Project File: /tmp/new.tycho/again/trunk/tycho-p2-runtime/pom.xml
>> 
>> Error stacktrace:
>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
>> the plugin manager executing goal
>> 'org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-DEV-1785:product-export':
>> Mojo execution failed.
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:528)
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:288)
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:214)
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:172)
>>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218)
>>      at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:899)
>>      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>      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:289)
>>      at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>      at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>      at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>> execution
>> failed.
>>      at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:645)
>>      at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:521)
>>      ... 15 more
>> Caused by: org.apache.maven.plugin.MojoExecutionException: RPC delta
>> feature
>> not found!
>>      at
>> org.codehaus.tycho.eclipsepackaging.ProductExportMojo.copyExecutable(ProductExportMojo.java:444)
>>      at
>> org.codehaus.tycho.eclipsepackaging.ProductExportMojo.execute(ProductExportMojo.java:121)
>>      at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:623)
>>      ... 16 more
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILED
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%28linux%29-build-of-Tycho-P2-Runtime-module-failed.---can%27t-find--org.eclipse.equinox.executable-feature.----tp20574246p20588200.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to