In Eclipse, we could create a Project with xml such that it does not reference individually selected Metadata Components, instead it would include a package and it will retrieve all the component included in that package instead or developer going through various components and selecting them.
Official documentation here says something about that: source link
"Packages
To retrieve a package, set the name of the package in the packageNames field in RetrieveRequest when you call retrieve(). The package.xml manifest file is automatically populated in the retrieved .zip file. The <fullName> element in package.xml contains the name of the retrieved package."
I have an organization (namespaced with a package in it). I would here like to create a project so that it automatically retrieve metadata from package itself which is referenced in it automatically, as it could have lots of components and considering all classes or components in the organization does not actually related to package since they are not included, I would like to exclude them.
How can this be done with TWS?