public void setResDir( String resPath ) { File newResDir = getFile( resPath ); if (!newResDir.exists()) { throw new BuildException("The resource directory [" + newResDir.getAbsolutePath() + "] does not exist. Please correct the attribute [resDir] " +
public void setResDir( File resDir ) { if (this.resourceSetting != null) { throw new BuildException("Please use either the \"resDir\"-attribute of the <build>-element or the <resources>-element, but not both."); } if (!resDir.exists()) { throw new BuildException("The resource directory [" + resDir.getAbsolutePath() + "] does not exist. Please correct the attribute \"resDir\" " +
	public void setResDir( String resPath ) {		File newResDir = getFile( resPath );		if (!newResDir.exists()) {			throw new BuildException("The resource directory [" + newResDir.getAbsolutePath() + 					"] does not exist. Please correct the attribute [resDir] " +					"of the <build> element.");		}		this.resDir = newResDir;	}