Tigerfarm Tigerfarm

Computers, Localization, Travel, Southeast Asia, Sun Microsystems, Writing
« Ajax Call Updated | Main | One Day Web 2.0... »

Open Source Course Content: Web 2.0 | Frameworks | Solaris
Saturday Jul 07, 2007

NetBean Project Distribution

This blog describes packaging a NetBeans project for others to download, install, edit, and run from their NetBeans IDE. To prepare a NetBeans project for distribution:
* Copy to the project directory to a work directory.
* Delete the directories: build, dist, nbproject/private, and any directory not used, example the test directory.
* Zip the directory up.
Now anyone with NetBeans, can:
* Download the project zip file.
* Unzip the file into a directory.
* Open the project, edit it, and run it.

Note, if you are distributing a project that requires a NetBeans plugin, example the jMaki plugin, include the same version of the plugin into the zip file.
Example package directory:

.../jMakiProject1
.../jMakiProject1/nbproject
.../jMakiProject1/src
.../jMakiProject1/web
.../jMakiProject1/0-setup
.../jMakiProject1/0-setup/readme.txt
.../jMakiProject1/0-setup/org-netbeans-modules-sun-jmaki.nbm

The goal is a complete set of files and instructions for the user to have a successful experience.
Click here to see a complete sample of mine.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed