if (this.autoStartCondition != null) { this.autoStartCondition = this.autoStartCondition.replace( '\n', ' ' ); }
	public ExtensionDefinition( Element element, Project antProject, ExtensionManager manager ) {		super();		this.element = element;		this.antProject = antProject;		this.manager = manager;		this.type = element.getChildTextTrim( "type" );		if (this.type == null) {			throw new IllegalArgumentException("The extension has no type.");		}		this.name = element.getChildTextTrim( "name" );		if (this.name == null) {			throw new IllegalArgumentException("The extension has no name.");		}		this.className = element.getChildTextTrim( "class" );		this.classPath = element.getChildTextTrim( "classpath" );		this.autoStartCondition = element.getChildTextTrim( "autostart" );	}