Showing posts with label Eclipse. Show all posts
Showing posts with label Eclipse. Show all posts

Sunday, April 4, 2010

Eclipse Re-Installation

Riemann has been offline for the last 24 hours and so I haven't been able to do any work. Thus I finished my taxes, cleaned my room, did laundry and have fixed a bunch of problems with my computer which I had been putting off. One of these problems was an error I was getting in Eclipse (my python editor was closing unexpectedly and it wouldn't update the software). I completely re-installed Eclipse and because this is a little involved and I don't do it very often I thought I'd outline it here so that if I ever need to do it again it will be easier.
  1. Install Eclipse for C/C++ (download here)
  2. In Eclipse go to Help → Install New Software...
  3. Install the Python Extension: http://pydev.org/updates
  4. Install the IDL Extension: http://eclipsecorba.sourceforge.net/update
  5. Install the Subversion Extension: http://subclipse.tigris.org/update_1.6.x
I also had to update my Mac's version of subversion by downloading it here: http://www.open.collab.net/downloads/subversion/

It required me registering which I did with my favorite user name and password.

Eclipse seems to be working great now. No more crashing, and it opens and closes much faster. It automatically updates (before it had errors every time I tried to update). And now riemann is up again, so I can do some actual research.

Wednesday, January 20, 2010

Struggling with Eclipse

I use Eclipse to interface with the SVN repository where Alexia and I share our code. At some point in the last month the repository location at Princeton was moved, and this caused Eclipse to be unhappy. I should be able to change the location of the repository in the following way:

Go to "SVN Repositories" perspective, right click on current repository and "relocate" to new location.

This failed.

So, I had to re-download it manually, transfer files that were newer on my system to the new repository and then update manually, then add the new repository to Eclipse and delete the old one. Annoying!

However, I did discover that there is a way to ignore certain types of files from being checked in using Eclipse. You do this by going to "Pydev Package Explorer" and then right-clicking on a file, and then select "Team" and then "Add to SVN Ignore." This is helpful to not automatically load the large .dat files to the repository.

Now that I have everything working again, time to explore the new crl.py file....