Packaging Applications in SD-UX Format Using Software Package Builder
packaging applications in software distributor format using software package builder
2. Review the list to determine what filesets would be beneficial to create. For this example, the
directories and files have been numbered one through seven.
# ll
total 480
1) -rw-rw-rw- 1 root sys 21614 Sep 4 2002 README.html
2) -rw-rw-rw- 1 root sys 15172 Sep 4 2002 cpl-v10.html
3) drwxrwxr-x 6 root sys 8192 Sep 4 2002 doc
4) drwxrwxr-x 3 root sys 8192 Sep 4 2002 javadoc
5) drwxrwxr-x 4 root sys 96 Sep 4 2002 junit
6) -rw-rw-rw- 1 root sys 121070 Sep 4 2002 junit.jar
7) -rw-rw-rw- 1 root sys 57635 Sep 4 2002 src.jar
The following is the recommended package structure for this example:
Create the fileset DOC to contain items marked #1-4
Create the fileset DEMO to contain item #5
Create the fileset RUN to contain item #6
Create the fileset SRC to contain item #7
create a product specification file (2)
create a new psf (2a)
steps
1. To launch SPB, enter:
/opt/spb/bin/spb
2. From the main menu, select File > New PSF.
3. Select File > Save As.
4. Save the PSF under the filename junit_open_source.
create a product and add filesets (2b)
steps
1. From the main menu, select Structure > Add Element(s) > Product.
The Product dialog box displays.
2. In the Product Name field, enter Junit.
3. From the Predefined Filesets, select RUN.
4. Click Add.
The fileset RUN is added to the Product Content as shown in Figure 2.
7