Good. Because then you can migrate to Tycho 0.13.0, and it will tell you which file in your local Maven repository is corrupted. Regards Tobias From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of ramesh gunjal Sent: Montag, 9. Januar 2012 13:00 To: Tycho user list Subject: Re: [tycho-user] How to create cross platform repository? -- God bless you and all, Ramesh From: "Oberlies, Tobias" <tobias.oberlies@xxxxxxx> To: Tycho user list <tycho-user@xxxxxxxxxxx> Sent: Monday, 9 January 2012 2:20 PM Subject: Re: [tycho-user] How to create cross platform repository? Did you already say which Tycho version you are using? From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of ramesh gunjal Sent: Freitag, 6. Januar 2012 12:59 To: Tycho user list Subject: Re: [tycho-user] How to create cross platform repository? It also failed after deleteting .cache and .meta. Note - Changing the subject line. From: Cristiano Gavião <cvgaviao@xxxxxxxxx> To: tycho-user@xxxxxxxxxxx Sent: Wednesday, 4 January 2012 9:10 PM Subject: Re: [tycho-user] Getting ZipException on Windows Hi, I had this zip problem once...
It was because a bad download that I interrupt before had finished.
try to delete the .m2/repository/.cache and .m2/repository/.meta directories and run your build again (without -o).
cheers
On 04/01/12 04:19, ramesh gunjal wrote: I have a working build setup on Linux and Mac OS. Both are using same local repository (with offline mode "-o"); which has been put under perforce and used across different machines. Now my question is - Can I use this same local repository for my Windows build? When I try to build with "-o" flag using this repository on Windows I am getting following error [DEBUG] Added p2 repository indigo (http://download.eclipse.org/releases/indigo) [DEBUG] Ignoring Maven repository central (http://repo1.maven.org/maven2) while in offline mode [ERROR] Internal error: java.lang.RuntimeException: Could not download artifacts from any repository [ERROR] osgi.bundle,org.eclipse.swt.win32.win32.x86,3.7.0.v3735b [ERROR] -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not download artifacts from any reposit ory osgi.bundle,org.eclipse.swt.win32.win32.x86,3.7.0.v3735b at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) It also fails without "-o" flag with ZipException error java.util.zip.ZipException: invalid CEN header (bad signature) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(DefaultBundleReader.java:85) at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(DefaultBundleReader.java:54) at org.eclipse.tycho.core.osgitools.EquinoxResolver.loadManifest(EquinoxResolver.java:182) at org.eclipse.tycho.core.osgitools.EquinoxResolver.addBundle(EquinoxResolver.java:162) at org.eclipse.tycho.core.osgitools.EquinoxResolver.newState(EquinoxResolver.java:148) at org.eclipse.tycho.core.osgitools.EquinoxResolver.newResolvedState(EquinoxResolver.java:59) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getResolverState(OsgiBundleProject.java:204) at org.eclipse.tycho.core.osgitools.OsgiBundleProject.resolve(OsgiBundleProject.java:150) at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:101) 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) [ERROR] Internal error: java.lang.NullPointerException -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) But if I remove my current repository and build with "-o" flag it works fine. Does this mean I have to create a separate repository for Windows? _______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user _______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user
|