Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Monday, January 31, 2011

Where to install Eclipse on Ubuntu

I don't know. I'm not an expert on Linux system at all.
However, I found a nice post and decided to install under /opt folder.

sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`
Then create an eclipse executable in your path
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
With these contents:
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*

http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/
http://flurdy.com/docs/eclipse/install.html

Tuesday, December 21, 2010

SVN client for Eclipse

So I've again started developing android apps seriously.
I haven't used SVN since I moved into Mac OS X.

I'm using Eclipse Helios(Eclipse 3.6) now.
I've decided to go ahead with subclipse svn client since I've used it before.
To install it, go to Help => Eclipse Marketplace...
Then, search for Subclipse, I'm sure you'll find it there.


Here's the subclipse page just for reference.
http://marketplace.eclipse.org/content/subclipse

Ok, here's further notes on how to use svn on Mac OS.
When I tried to upload my source code, it didn't work.
Basically I was missing svn....yes, very embarassing.
So I downloaded and installed MacPorts using binary edition.
Then, I did self update using the following command.
sudo port -v selfupdate

Then, I installed svn client using the following command.
sudo port install subversion

Even after that, I couldn't use subclipse.
I kept on getting some weired JavaHL errors and couldn't proceed to share my project using svn.
The solution was right in subclips wiki page.
http://subclipse.tigris.org/wiki/JavaHL

Basically, I downloaded and installed the OSX package that is provided on openCollabNet.
Then, I modified .profile, just adding one liner (export PATH=/opt/subversion/bin:$PATH) just as instructed on the completion page of the svn installer.

Now, I can finally get down to coding and sharing the project!!! YEAH!!!