Enclojure NBM file turns out to be a folder
I'm trying to install Enclojure. I've downloaded the latest zip 开发者_如何学运维file from GitHub (http://github.com/EricThorsen/enclojure/downloads), but when I unzip it, I get a folder ending in .nbm, not a file. The install directions say to point NetBeans to a .nbm file, not a folder, and NetBeans won't let me select the folder, either. The folder contains files and folders appropriate to a Java plugin, but I think it needs to be compressed into a single file, like a CAB in Windows. I tried downloading another NBM file from the NetBeans plugin repository, and it downloaded as one file, but for some reason it's not working with Enclojure. I don't know whether it matters, but I'm using Mac OS X Leopard.
Any help is much appreciated.
Thanks,
Daniel
I successfully installed Enclojure on Mac OS X 10.5.8 + NetBeans 6.8 like this:
- sudo port install wget
- wget http://cloud.github.com/downloads/EricThorsen/enclojure/enclojure-plugin-2010-jan.nbm
- launch NetBeans, click "Install Plugins", select "Downloaded" tab, "Add Plugins..." button and find your downloaded enclojure-plugin-2010-jan.nbm file
Don't download any of the files provided in .zip format. Download the latest release's .nbm file (enclojure-plugin-2010-jan.nbm
currently) by clicking on its name in the table with a couple .nbm entries and a couple of .zips (which you should be able just to ignore). Then follow the rest of the instructions from here.
As a side note, .nbm files are themselves just .zip archives renamed .nbm to mark them for their purpose... Perhaps if you zipped up the contents of your .nbm folder and renamed the archive to whatever.nbm, you'd have a working Enclojure (though I haven't checked). But anyway, don't do it, just grab the .nbm file straight from the source.
精彩评论