4

I'm installing EPIC within eclipse but always get an error:

Unable to read repository at http://e-p-i-c.sf.net/updates/testing/content.xml

I tried the second answer in this post which is:

1) add the line in eclipse.ini: -Djava.net.preferIPv4Stack = true

2) delete eclipse/p2/org.eclipse.equinox.p2.repository/cache directory

But still get the error. However I can install CDT correctly.

I'm using Mac OX Lion and Eclipse Classic 4.2.1 the mac os 64bit version. I also tried to switch to 32bit version but didn't work. Any help is appreciated.

Community
  • 1
  • 1
Iam619
  • 795
  • 2
  • 12
  • 28
  • Just encountered this same problem, hope we find an answer :) – vol7ron Oct 23 '12 at 20:13
  • My guess is this is the same as: http://sourceforge.net/projects/e-p-i-c/forums/forum/258687/topic/5424638?message=11660363 -- when I installed epic in the past, I think the problem was that the link is no longer maintained and you have to install it manually – vol7ron Oct 23 '12 at 20:33
  • @vol7ron Maybe we should try install it manually... – Iam619 Oct 23 '12 at 23:54
  • I just tried and wasn't successful. I forget what I did to get it to work on my Ubuntu installation. I guess it serves me right for setting up Emacs first – vol7ron Oct 24 '12 at 03:26
  • please respond to my answer. thanks – null Nov 15 '12 at 13:04
  • Your repository should be: http://e-p-i-c.sf.net/updates OR, http://e-p-i-c.sf.net/updates/testing – Ripon Al Wasim Jun 11 '14 at 11:53

3 Answers3

1

There are 2 ways to install EPIC in Eclipse:

Way One:

  1. Open Eclipse
  2. Go to Help -> Install New Software and click Add button
  3. Enter Name as EPIC and Location as follows:
    http://e-p-i-c.sf.net/updates (for the stable 0.5.x, older version of EPIC)
    http://e-p-i-c.sf.net/updates/testing (for the most recent 0.6.x version)
  4. Follow the instruction of eclipse pop up
  5. After successful installation go to Window -> Preferences and observe the list as "Perl EPIC" at left side panel

Way Two:

  1. Open Eclipse
  2. Go to Help -> Eclipse Marketplace
  3. Type EPIC at Find text box and click Go button
  4. Click Install button at "EPIC - Eclipse Perl Integration" area
  5. Follow the instruction of eclipse pop up
  6. After successful installation go to Window -> Preferences and observe the list as "Perl EPIC" at
    left side panel
Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
1

This is another posible answer, besides the ones already provided.

I just hit this, and it was a firewall rule the issue. In fact the file content.xml doesn't exist on the plugin update (it has instead a site.xml) but that is what the error says when it cannot reach outside world

Solution would be to just open ports 80 and 443 to Eclipse

PS: this happened to me while installing a new version of Eclipse which was not whitelisted in the firewall rules

arhak
  • 2,488
  • 1
  • 24
  • 38
0

Remove the site from your "Available Software Sites".
1) Go to "Help" > "Install New Software" > "Available Software Sites"

Find the URL you mentioned in the list and delete it.

Note: Then install EPIC from marketplace if required.

null
  • 889
  • 1
  • 13
  • 24
  • Yes,I've fixed it. Actually I did nothing. The last try happened a few weeks after I asked this question and it just went ok. I think maybe there is something wrong with the website http://e-p-i-c.sf.net/updates/testing/content.xml previously and they fixed it when I tried the last time and then it is successfully installed. – Iam619 Nov 16 '12 at 22:55
  • That URL gives me a 404. I suspect the URL is old and needs to be replaced with a current EPIC update URL, e.g. from the marketplace. – null Nov 19 '12 at 14:01