I've downloaded the 2 NBM's for JUnit. In Netbeans 8 I'm using the Tools->Plugins->Downloaded window and have added the pertinent NMBs. They are both check-marked and when I press "Install" Netbeans then pops open a dialog that says (approximately) "Installer will download, verify, then install the selected modules". It then does attempt to use the Internet to download - and fails. This machine has no access to the Internet (hence the offline approach).
Have I not downloaded the proper NBMs (they were ZIP files and I renamed them to NBM - read that was the thing to do)? Is there some other piece that I'm missing?
The reason is that the .external file contrains URL to files to be downloaded from an active internet connection.
For example, in my case (netbeans 8.0) org-netbeans-libs-junit4.nbm contains the file
/netbeans/modules/ext/junit-4.10.jar.external
which contents is
CRC:3480621823
SIZE:253160
URL:http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar
URL:m2:/junit:junit:4.10:jar
if you need to perform an offline installation of the plugins in netbeans you need to transform the .nbm files : replace the .external in .nbm file by the file refenced by URL.
In my case :
1) donwload http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar
2) in the org-netbeans-libs-junit4.nbm, replace
/netbeans/modules/ext/junit-4.10.jar.external
by the donwloaded file at this location in the .nbm archive
/netbeans/modules/ext/junit-4.10.jar
3) save the transformed archive,
4) do the same for the other nbm archive
5) you can add and install the the .nbm files as plugin in Netbeans
remarks :
in `org-netbeans-libs-junit4.nbm, I had to replace
/netbeans/modules/ext/junit-4.10.jar.external
in `/netbeans/modules/ext/junit-4.10.jar.external, I had to replace
/netbeans/modules/ext/junit-3.8.2.jar.external
/netbeans/docs/junit-3.8.2-api.zip.external
/netbeans/docs/junit-4.10-javadoc.jar.external
/netbeans/docs/junit-4.10-sources.jar.external
Related
I'm having trouble getting the downloadable data files to work in Install4j. Here's what I'm doing. I expected to see the "phony_license_web.txt" in the AppData\Programs\myprogram folder.
Create a file "phony_license_web.txt" in Define Distribution Tree. It is added to the Default file set > Installation directory.
Go to Media > Windows > Data files
Specify a download URL "http://localhost/testsite". There is a file at http://localhost/testsite/phony_license_web.txt.
Check "Save downloaded files on Install files.
Build the project
Test the installer
I tried a Download Installation Components action but removed it since the documentation said Install Files would do this automatically.
Thanks,
Carl
Updated Test Case
Create a data file "license_web.txt" under an IIS folder with directory browsing turned on. Going to http://localhost/components displays the file item. Clicking on the link brings up the text file.
In the Installation Components, add an Installation Component "Data Files". Set the downloadable option. There are no files checked for this component.
In Media > Windows > Wizard, select Data files and check the downloadable radio button. Enter http://localhost/components.
Test the installer
Verify that the data file license_web.txt does not appear anywhere in the installation directory (subfolder of AppData\Programs)
Downloadable data files works with installation components, not with single files. You have to create an installation component on the
Files->Installation Components
step and mark it as downloadable. Then the compiler will create data files that you have to host on your web server under the specified URL.
I feel really stupid by asking this question, but how can I install Json Editor Plugin in my Eclipse Helios? I looked at the Forum in sourceforge, but I can't install it neither through .zip or by adding a web site. And will I need to change the execution environment to Java 1.6?
Here is what I did to get the Json Editor Plugin to show up in the Install Dialog.
By doing a little Google-ing, I found this page which describes the steps to install JsonEditorPlugin on 3.4.
After you have followed the first 6 steps, make sure that Group items by category is un-ticked. After that, you can then choose Json Editor Plugin to be installed from the local Zip archive that you have downloaded from the net.
Edit: as a side note, you must not have the unzipped contents of the zip archive in the dropins/ folder, otherwise it will appear as if the plugin is already installed.
Simply dropping the zip contents into the dropins folder however did work also.
Note: You must right click your .json file and choose 'Open with' -> 'Json Editor'
You can install plugins by just unzipping them into the dropins folder.
It does not matter if the zip file contains the parent folders "plugins" and/or "eclipse".
I would recommend Java 1.6 as it brings a better performance and the plugin might require Java 1.6. On your desktop shortcut you use following execution arguments:
eclipse -vm <path to jre 1.6 installation folder>\bin\javaw
Download jsonedit-repository-0.9.7.zip (or whatever) and put it in a folder you like.
In Eclipse Help --> Install New Software
Add --> Archive button and select the zip file.
Name it and press OK
Press button Next and Follow master of installation.
Then after opening json file possibly needed right click mouse on the file --> open with --> JSON editor
I am behind an intranet that does not have access to the download sites. Assuming I have access to all of the correct zip and jar files. What are the step by step instructions to get Eclipse to the point where I can go to Windows -> Preferences and see the Google entry?
1) I don't have access to the http://code.google.com/eclipse/docs/getting_started.html site because I am on a closed network.
2) I tried using the dropins folder and when I re-open Eclipse and go to Windows->Preferences "Google" isn't listed.
Any ideas?
The official zip-file installation instructions are at http://code.google.com/eclipse/docs/install-from-zip.html
This uses the Eclipse dropins mechanism, which helps Eclipse to pick up the new plugins in a clean way, quote:
... the dropins folder can be used much like the plugins directory was used in the past. A subtle twist on old behavior here is that plug-ins and features added to the dropins folder are properly installed into the system rather than being forced in.
Note:
Make sure, that you extract the zip file into the correct destination. It can easily happen, that it gets extracted e.g. into some subdirectory - so please check twice. You should have the following structure:
eclipse (this is your Eclipse installation folder)
dropins
eclipse (this is the directory created by extracting the zip file)
features
com.google.*
plugins
com.google.*
features
(your already installed features)
plugins
(your already installed plugins)
...
Then (re-)start Eclipse.
Just install the plugin from here and you are set to go.
http://code.google.com/eclipse/docs/getting_started.html
If you get a correct zip file for plugin, you will see "plugins" and "features" as soon as you open the zip file.
If your eclipse is in a location "c:\eclipse", extract the zip file into "c:\eclipse". The files will go into the corresponding folders.
Drop them in the plugins folder
I'm using NetBeans IDE 6.8.
When I open a file, NetBeans opens an old file from my computer, not the actual one from the web-server. The problem is when some one else has edited the file on the web-server I need to download the file before I open it, so I don't lose the new changes.
What I want to do is that NetBeans always download the file from the web-server when I open a file. Do you know how I can make NetBeans to do this automatically?
Netbeans doesn't really play well with remote files.
You have a few options:
dont use remote files :-p ... you could look into using Subversion for 2 people editing the same file problem.
use a ftp disk program that maps a certain FTP server as a local directory. You can google it to find out more about it.
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.