It’s just data

RadRails/Eclipse on Breezy - take 1

Short version: don’t install Eclipse via apt-get on breezy just yet...

Longer version: in accordance with these directions:

Add Universe.

sudo apt-get install eclipse-sdk rails subversion

Applications => Programming => Eclipse (OK)

Help => Software Updates => Find and install =>

Problem Occurred Error creating feature “file:/usr/lib/eclipse/features/org.eclipse.rcp.source_3.1.1/”.  [/usr/lib/eclipse/features/org.eclipse.rcp.source_3.1.1/feature.xml (No such file or directory)]

OK, OK, File => Exit

sudo apt-get install eclipse-source

Applications => Programming => Eclipse (OK)

Help => Software Updates => Find and install =>
Search for new features to install => Next
New Remote Site => Subclipse; http://subclipse.tigris.org/update; OK
Finish
Check Subclipse => Next => Accept => Next => Finish => Install

Problem Occurred Unable to complete action for feature “Version Control with Subversion” due to errors

Details >>

Unable to complete action for feature “Version Control with Subversion” due to errors. Unable to create file “/usr/local/lib/eclipse/plugins/org.tigris.subversion.book_1.1.1/about.properties”. [/usr/local/lib/eclipse/plugins/org.tigris.subversion.book_1.1.1/about.properties (No such file or directory)] Unable to create file “/usr/local/lib/eclipse/plugins/org.tigris.subversion.book_1.1.1/about.properties”. [/usr/local/lib/eclipse/plugins/org.tigris.subversion.book_1.1.1/about.properties (No such file or directory)]

sudo mkdir /usr/local/lib/eclipse/plugins
sudo mkdir /usr/local/lib/eclipse/features
sudo chown `id -un`:`id -gn` /usr/local/lib/eclipse/*

Help => Software Updates => Find and install =>
Search for new features to install => Next
Check Subclipse => Next => Accept => Next => Finish => Install => Install
Yes => Ok

Help => Software Updates => Find and install =>
Search for new features to install => Next
New Remote Site => RDT; http://rubyeclipse.sf.net/updatesite; OK
Finish
Check RDT => Next => Accept => Next => Finish => Install => Install
Yes => Ok

Window => Open Perspective => Other => SVN Repository Exploring
Right click in the SVN Repository view
New => Repository Location; http://dev.radrails.org/svn; Finish
Expand the tree node for the http://dev.radrails.org/svn location
Expand the trunk node

JVM terminated. Exit code=1 /usr/lib/jvm/java-gcj/bin/java -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db -Dosgi.locking=none -jar /usr/lib/eclipse/startup.jar -os linux -ws gtk -arch x86 -launcher /usr/lib/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 16c001c -install /usr/lib/eclipse -vm /usr/lib/jvm/java-gcj/bin/java -vmargs -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.0/classmap.db -Dosgi.locking=none -jar /usr/lib/eclipse/startup.jar


I am one of the project owners for Subclipse.  If you happened to do this yesterday and installed Subclipse 0.9.35 then you should grab the 0.9.36 release that was posted today.  We found a couple of nasties in 0.9.35 and issued a new release.

Posted by Mark Phippard at

Mark - I just tried it again, and got the same results.

rubys@rubypad:~$ ls -l /usr/local/lib/eclipse/features
total 16
drwxr-xr-x  3 rubys rubys 4096 2005-10-26 15:27 org.rubypeople.rdt_0.6.0
drwxr-xr-x  3 rubys rubys 4096 2005-10-26 15:27 org.rubypeople.rdt.source_0.6.0
drwxr-xr-x  2 rubys rubys 4096 2005-10-26 15:27 org.tigris.subversion.book_1.1.1
drwxr-xr-x  4 rubys rubys 4096 2005-10-26 15:27 org.tigris.subversion.subclipse_0.9.36
Posted by Sam Ruby at

w/r/t the JVM melting there at the end, you might try running something besides gcj.  Just today I installed the Sun 1.5 JDK on Breezy, and it seemed to run SwingSet2 fine.  I plan to try Eclipse out on it in the next few days.  I haven’t tracked gcj in a while, and wasn’t sure I was up for experimenting with it.  Though it’s certainly nice that it’s actually included in Ubuntu!

Posted by Patrick Mueller at

You know I didn’t even notice the details of your error the first time.  I just wanted to make sure you had the latest version.

I think the other poster is correct.  I have seen references before that GCJ has problems running Eclipse.  Try using a different JDK.  I have had success with Blackdown and Sun on Hoary.

Posted by Mark Phippard at

Just an update.  I think this is the post from our mailing list about GCJ that I was thinking of.  It doesn’t look like the same problem.

[link]

Check your Team -> SVN preferences and see which adapter you are using.  Maybe JavaSVN or JavaHL would work better.

Posted by Mark Phippard at

Sam Ruby: RadRails/Eclipse on Breezy - take 1

[link]...

Excerpt from del.icio.us/tag/ruby at

Hi — has anyone been able to get Eclipse to work with Breezy? I’m getting the same error. Is it a Java version issue? I looked on Synaptic and couldn’t find Java 1.5. I’m such a total noob on Linux!

Posted by aral at

I had the same problem when running then GCJ Java VM. The problem went away when I used the Sun VM. Note that even though I set up the Sun VM as the default, Eclipse still ran with the GCJ one until I explicitly used the -vm command line option:

/usr/bin/eclipse -vm /usr/lib/j2sdk1.5-sun

Posted by johnu at

How to install Eclipse/RadRails in Ubuntu 5.10 "Breezy"

Another quick “how to” for Ubuntu: Sam Ruby posted enough information to make Eclipse work under Ubuntu “Breezy” (the default installation, via System -> Administration -> Synaptic Package Manager has problems when using the "Help / Software...

Excerpt from Tech at

Here is a quick fix for running Eclipse as it is installed by apt-get. This issue seems to be that the feature.xml file is in an unexpected directory.  I went to /usr/lib/eclipse/features and typed:
  sudo ln -s org.eclipse.rcp.source_3.1.  1 org.eclipse.rcp_3.1.1

After this, I was able to run the updates successfully.

Posted by Robert Folkerts at

breezy on rails

Sam Ruby: RadRails/Eclipse on Breezy - take 1 I can see me doing this over the weekend… Technorati Tags: rails, ubuntu, eclipse, radrails...

Excerpt from danseagrave at

Sam Ruby: RadRails/Eclipse on Breezy - take 1

Sam Ruby: RadRails/Eclipse on Breezy - take 1 : "Here is a quick fix for running Eclipse as it is installed by apt-get. This issue seems to be that the feature.xml file is in an unexpected directory. I went to /usr/lib/eclipse/features and typed:...

Excerpt from The human linux blog at

Add your comment