Community
Participate
Working Groups
Build Identifier: 3.5.2.M20100211-1343 When trying to mirror the Helios p2 repository with p2 mirroring application I am getting [Fatal Error]:30542:6: Premature end of file. I am running: /opt/eclipse35/eclipse -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source http://download.eclipse.org/releases/helios/ -destination file:/usr/local/repos/helios/ Reproducible: Always Steps to Reproduce: Run following command: /opt/eclipse35/eclipse -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source http://download.eclipse.org/releases/helios/ -destination <dest_file>
This worked for me using a linux.gtk.x86 SDK. What are you using?
I am too using linux.gtk.x86 and able to reproduce it. Thanks, Ankush. (In reply to comment #1) > This worked for me using a linux.gtk.x86 SDK. What are you using?
Can you try setting eclipse.p2.mirrors=false as a VM argument when run the mirrorApplication? You might be hitting a wonky mirror.
Are you still seeing this issue if you set eclipse.p2.mirrors=false?
(In reply to comment #4) > Are you still seeing this issue if you set eclipse.p2.mirrors=false? Thanks Kim for looking into it. I tried setting this argument and ran the following command; but the issue is still seen. /opt/eclipse35/eclipse -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source http://download.eclipse.org/releases/helios/ -destination file:/usr/local/repos/helios/ -vmargs -Declipse.p2.mirrors=false I am trying to do the same thing with Ant task, would that make any difference?
I am not sure, if this is (was) the same problem that I just had. Anyway, I'd like to post my problem here for reference. I used the following repository in my maven build: http://download.eclipse.org/releases/helios and maven reported "Premature end of file." when trying to read this repository. It turned out, that I had to remove the ".cache" directory from my local repository and then it worked fine again. Maybe I killed maven during a build? (I cannot reproduce it now)
same problem here [Fatal Error] :3687:29: Premature end of file. Build id: 20110218-0911
Just ran across this old bug. It sounds like we could not reproduce, and did not "fix" anything. Since it is on such an old stream/repo, unlikely we've fix anyway :/ ... but, if anyone sees this on Juno or Kepler sites, please re-open or open new bug. Thanks for reporting.