Exclude directory from package build
Use the Exclude from package property to exclude a directory from a package.
Instead of removing the directory in order to exlude it, just check Exclude from package.
- Open a project in the Projects view.
- Select a directory that is a child of a package node.
- In the Properties view, select (check) Exclude from package.