incompleteButNotAnError= true; else {
setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.noManifestFile")); else
	public boolean isPageComplete() {		boolean incompleteButNotAnError= false;		if (fJarPackage.isManifestGenerated() && fJarPackage.isManifestSaved()) {			if (fJarPackage.getManifestLocation().toString().length() == 0)					incompleteButNotAnError= true;			else {				IPath location= fJarPackage.getManifestLocation();				if (!location.toString().startsWith("/")) { //$NON-NLS-1$					setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.manifestPathMustBeAbsolute")); //$NON-NLS-1$					return false;				}							IResource resource= findResource(location);				if (resource != null && resource.getType() != IResource.FILE) {					setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.manifestMustNotBeExistingContainer")); //$NON-NLS-1$					return false;				}				resource= findResource(location.removeLastSegments(1));				if (resource == null || resource.getType() == IResource.FILE) {					setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.manifestContainerDoesNotExist")); //$NON-NLS-1$					return false;				}			}		}		if (!fJarPackage.isManifestGenerated() && !fJarPackage.doesManifestExist()) {			if (fJarPackage.getManifestLocation().toString().length() == 0)					incompleteButNotAnError= true;			else {							setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.invalidManifestFile")); //$NON-NLS-1$				return false;			}		}		if (fJarPackage.isJarSealed()				&& !fJarPackage.getPackagesForSelectedResources().containsAll(Arrays.asList(fJarPackage.getPackagesToUnseal()))) {			setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.unsealedPackagesNotInSelection")); //$NON-NLS-1$			return false;		}		if (!fJarPackage.isJarSealed()				&& !fJarPackage.getPackagesForSelectedResources().containsAll(Arrays.asList(fJarPackage.getPackagesToSeal()))) {			setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.sealedPackagesNotInSelection")); //$NON-NLS-1$			return false;		}		if (!fJarPackage.isMainClassValid(getContainer()) || (fJarPackage.getMainClass() == null && fMainClassText.getText().length() > 0)) {			setErrorMessage(JarPackagerMessages.getString("JarManifestWizardPage.error.invalidMainClass")); //$NON-NLS-1$			return false;		}		if (incompleteButNotAnError) {			setErrorMessage(null);			return false;		}				setErrorMessage(null);		return true;	}