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
About

Tech event, training, business, in east and south Asia.

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