Hi Dan,
I studied your log. Two things that look strange to me; both at the end of your log:
[DEBUG] Expanding: D:\m2\repo\p2\osgi\bundle\org.eclipse.equinox.launcher.gtk.linux.x86\1.1.2.R36x_v20101019_1345\org.eclipse.equinox.launcher.gtk.linux.x86-1.1.2.R36x_v20101019_1345.jar into E:\rcp_workspace\org.eclipse.recommenders\org.eclipse.recommenders.tests.rcp.codecompletion.calls\target\work\plugins\org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345
[DEBUG] expand complete
[WARNING] Exception reading bundle manifest
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at org.codehaus.tycho.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:85)
and:
Caused by: java.lang.NullPointerException
at org.codehaus.tycho.osgitools.DefaultBundleReader.toProperties(DefaultBundleReader.java:176)
…
This is just a blind guess, but it might be that something is going wrong with your org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345 Could you check that this zip file can be read by you from command line / is not corrupted?
It's contents should look like this:
#:/var/www/mirrors/helios/plugins# less org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345.jar
Archive: org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345.jar
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
977 Defl:N 518 47% 2010-10-20 10:33 6daf35bf META-INF/MANIFEST.MF
473 Defl:N 325 31% 2010-10-20 10:33 f08697df META-INF/ECLIPSEF.SF
5639 Defl:N 3371 40% 2010-10-20 10:33 8c6be032 META-INF/ECLIPSEF.RSA
0 Defl:N 2 0% 2010-10-20 10:01 00000000 META-INF/
76 Defl:N 65 15% 2010-10-20 10:33 afc6027e META-INF/eclipse.inf
1445 Defl:N 713 51% 2010-10-20 10:01 8e233f73 about.html
165178 Defl:N 66915 60% 2010-10-20 10:01 e11b594a eclipse_1310.so
611 Defl:N 301 51% 2010-10-20 10:01 3aafdd5b launcher.gtk.linux.x86.properties
-------- ------- --- -------
174399 72210 59% 8 files
However, building Code Recommenders in Maven is only required because it downloads a models.zip. We might do this manually once just to get you running.
But lets give this one a try first before doing things manually. The build is running on linux machine and we have around 10 people building Code Recommenders on various platforms including Linux. This makes me think that its more a data corruption issue than a build configuration mistake. However, I would like to solve this before going with a work around. Thanks for reporting and hunting this one down.
Best,
Marcel
On 10.06.2011, at 13:07, dan.zheng wrote:
Hi,Marcel
Thanks for your suggestion
and mvn clean install
but it is still failed
this time I see some additional exceptions are in new_debug.log
please see the attach
Thank you very much
On Thu, Jun 9, 2011 at 6:37 PM, Marcel Bruch
<bruch@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
the maven build fails to resolve the third-party dependencies
in version 0.1.0.201104111031 (read version 0.1.0 from 11th April 2011 10:31 AM). The latest version requires version 0.1.0 from 27th May 2011.
You need to pull the latest changes from the repository at
eclipse.org. Then it should work.
Thanks,
Marcel
--
Eclipse Code Recommenders:
On 09.06.2011, at 11:39, 郑丹 wrote:
I execute "mvn install -X > debug.log"
the attach is the log
On Thu, Jun 9, 2011 at 2:17 AM, Marcel Bruch
<bruch@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
unfortunately we weren't able to reproduce this error neither on Win7 nor on Mac with an empty/clean maven installation. The error message seems to indicate that it failed to resolve some dependencies but it seems to be truncated. Can you:
1. try again (in the case it may just be caused by a network problem) and
2. send the complete build log?
Thanks,
Marcel
--
Eclipse Code Recommenders:
On 08.06.2011, at 02:20, 郑丹 wrote:
hi,everyone,I check out the recommender source code from git repository and execute 'mvn clean install' as README's instruction,but
finally I meet an error from maven3, IMO, this error happens because of not setting the eclipse home so maven cannot put the generated jar files to destination,but I don't know how to deal with it?
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:98)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:335)
at org.sonatype.tycho.p2.impl.resolver.P2ResolverImpl.resolveProject(P2R
esolverImpl.java:300)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.doResolvePlatfo
rm(P2TargetPlatformResolver.java:406)
at org.sonatype.tycho.p2.facade.P2TargetPlatformResolver.resolvePlatform
(P2TargetPlatformResolver.java:105)
at org.codehaus.tycho.resolver.DefaultTychoDependencyResolver.resolvePro
ject(DefaultTychoDependencyResolver.java:68)
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
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev
<debug.log>_______________________________________________
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/recommenders-dev
<new_debug.log>_______________________________________________