nbextras.org is down

Several people have pinged me about this so I thought I would post a blog entry on it:

The machine which was running nbextras.org is down because of hardware failure. It's at home with Trung now who's fixing it. Not sure when it will go back to the ISP and be back online.

The Ruby IDE Installation Instructions refer to kits from deadlock.nbextras.org. You'll have to use the other option for now - the Daily Update Center. It's lagging a bit behind the most recently integrated changes, which unfortunately means it doesn't have the latest and greatest.

I've uploaded a custom build of version 0.45 here (9.3 Mb). It's the contents within the ruby1 cluster. This means that you unzip this content in your user directory (if you've been installing the Ruby support from the update center in the past), or inside the ruby1 cluster in your IDE installation (if you've been downloading full kits from nbextras.org), or inside the extra/ cluster (if you're using an older version of the IDE where ruby1 isn't in the included clusters list, or if you were installing into a separate cluster directory referenced from your netbeans.conf). (By the time you reach this, the Daily Update center may have caught up, so check that option first. The version number on the update center is displayed in the dialog when you select the Ruby feature module.)

One of the new features you'll find (added yesterday) is an enhancement to the occurrences highlighting. Now, if you place the cursor on the declaration line for a method, the exit points for the method are highlighted: the last statement, any return statements, any yield statements, and any raise or fail calls.

Comments:

Hi Tor
There is currently support for auto-highlighting, given a variable is selected, of all other occurances of the variable in that method, which is great.

Is there support for 1 step beyond this (like JBuilder had/has) where you can say I want to RENAME this variable after which you can rename it then and there inline, with all the other occurances being renamed at the same time? (in general for NetBeans, but particularly I'm interested in the Ruby skew)

Cheers Greg

Posted by GregH on March 24, 2007 at 10:40 AM PDT #

Yes - that's "instant rename" and is available on parameters and local variables. It's there in the editor context menu, and on the Mac it's Command-R (might be Ctrl-R on Windows, check the context menu to see the keyboard shortcut). (And yes, this is available for Java as well as of NetBeans 6.0.)

FYI, the various Ruby editor features are described here: http://wiki.netbeans.org/wiki/view/RubyEditing.

Posted by Tor Norbye on March 25, 2007 at 07:52 AM PDT #

Tor (let me know if this isn't the right forum for this)

I get the following when opening my first ruby file from an existing Ruby project I opened in NetBeans:

org.tigris.subversion.svnclientadapter.SVNClientException: NetBeans Subversion support requires Subversion executable! Install Subversion 1.3 (http://subversion.tigris.org) or later, add it to PATH, test by running 'svn --version' from command line, and finally restart the IDE, please. at org.netbeans.modules.subversion.client.UnsupportedSvnClientAdapter.unsupported(UnsupportedSvnClientAdapter.java:43) at org.netbeans.modules.subversion.client.UnsupportedSvnClientAdapter.setConfigDirectory(UnsupportedSvnClientAdapter.java:390) at org.netbeans.modules.subversion.client.SvnClientFactory$ClientAdapterFactory.setupAdapter(SvnClientFactory.java:250) at org.netbeans.modules.subversion.client.SvnClientFactory$ClientAdapterFactory.createSvnClient(SvnClientFactory.java:212) at org.netbeans.modules.subversion.client.SvnClientFactory.createSvnClient(SvnClientFactory.java:98) at org.netbeans.modules.subversion.Subversion.getClient(Subversion.java:276) at org.netbeans.modules.subversion.Subversion.getClient(Subversion.java:246) at org.netbeans.modules.subversion.Subversion.getClient(Subversion.java:239) at org.netbeans.modules.subversion.VersionsCache.getFileRevision(VersionsCache.java:70) at org.netbeans.modules.subversion.Subversion$SubversionOriginalContent.getOriginalFiles(Subversion.java:506) at org.netbeans.modules.versioning.spi.OriginalContent.getText(OriginalContent.java:78) [catch] at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.fetchOriginalContent(DiffSidebar.java:602) at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.computeDiff(DiffSidebar.java:575) at org.netbeans.modules.versioning.diff.DiffSidebar$RefreshDiffTask.run(DiffSidebar.java:565) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:541) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)

Posted by GregH on March 25, 2007 at 10:32 PM PDT #

That message is unrelated to the Ruby support - it's coming from the Subversion support in NetBeans, and is printed at startup if you system "svn" executable is too old. I used to get the same on my OSX box until I installed Subversion on it. If you don't plan on using Subversion at all, you can disable the Subversion support in the Tools | Module Manager (or jsut ignore the exception, it doesn't affect anything else).

Posted by Tor Norbye on March 25, 2007 at 11:02 PM PDT #

Hi Tor, What is the reason that WEBrick is being used an internal server instead of Mongrel ? Rails script/server command starts now mongrel where netbeans-rails starts WEBrick; will this be configurable? how to achieve the start of mongrel at this moment?

Posted by Klaasjan Tukker on March 27, 2007 at 09:57 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Tor Norbye

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today