*
*/
private void initPackageContext() throws InvalidPackageException
{
// retrieve the package and extract it to our build folder
PackageRetriever pkgRetriever = PackageRetrievalFactory.getPackageRetriever(this.packageSource);
try
{
File pkg = pkgRetriever.retrievePackage(this.pkgMgrCtx, this.packageSource);
// the directory to which the package will be extracted
this.packageRoot = new File(pkgMgrCtx.getPackageManagerEnvironment().getPackageManagerBuildDir(), pkg
.getName());
if (!this.packageRoot.exists())
{