Creating an include or exclude file (optional)
Create an include or exclude file to include certain members in or exclude certain members from a package on Linux or UNIX.
About this task
- Create a text file on your packaging system. Refer to the Example section to review the required file format.
- Open your package definition: In the Team Artifacts view,
expand the Enterprise Extensions node, then
the Packages node. Right-click the package
definition you want to work with and select Open Package
Definition, or double-click your package definition.
The Package Definition editor opens.
- Open the Linux/Unix Packaging tab.
- Set the Include or Exclude field
to the full path to your include or exclude file on your packaging
machine. Note: Expand the Package node on the Linux/UNIX Packaging tab, and specify your file in the Exclude file field.
The following is an example of an exclude file for AIX®:
To exclude all files with the extension .c from the hello_world folder, your exclude file would be similar to this sample:
<?xml version="1.0"?> <manifest type="MANIFEST_LIST"> <container name="hello_world" type="directory"> <resource name="*.c" type="file"/> </container> </manifest>