Browse Source

Revert to original API for ConfigurationHandler.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270098 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
1b414dd2d4
3 changed files with 5 additions and 5 deletions
  1. BIN
      proposal/myrmidon/lib/avalon-framework-20011209.jar
  2. +3
    -3
      proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java
  3. +2
    -2
      proposal/myrmidon/src/java/org/apache/myrmidon/components/deployer/DefaultDeployer.java

BIN
proposal/myrmidon/lib/avalon-framework-20011126.jar → proposal/myrmidon/lib/avalon-framework-20011209.jar View File


+ 3
- 3
proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java View File

@@ -20,7 +20,7 @@ import org.apache.avalon.excalibur.util.StringUtil;
import org.apache.avalon.framework.ExceptionUtil;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;
import org.apache.avalon.framework.configuration.ClassicSAXConfigurationHandler;
import org.apache.avalon.framework.configuration.SAXConfigurationHandler;
import org.apache.avalon.framework.logger.AbstractLogEnabled;
import org.apache.avalon.framework.parameters.Parameters;
import org.apache.log.Logger;
@@ -76,7 +76,7 @@ public class DefaultProjectBuilder
return result;
}

final ClassicSAXConfigurationHandler handler = new ClassicSAXConfigurationHandler();
final SAXConfigurationHandler handler = new SAXConfigurationHandler();

process( systemID, handler );

@@ -93,7 +93,7 @@ public class DefaultProjectBuilder
}

protected void process( final URL systemID,
final ClassicSAXConfigurationHandler handler )
final SAXConfigurationHandler handler )
throws Exception
{
final SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();


+ 2
- 2
proposal/myrmidon/src/java/org/apache/myrmidon/components/deployer/DefaultDeployer.java View File

@@ -28,7 +28,7 @@ import org.apache.avalon.framework.activity.Initializable;
import org.apache.avalon.framework.component.ComponentException;
import org.apache.avalon.framework.component.ComponentManager;
import org.apache.avalon.framework.component.Composable;
import org.apache.avalon.framework.configuration.ClassicSAXConfigurationHandler;
import org.apache.avalon.framework.configuration.SAXConfigurationHandler;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;
import org.apache.avalon.framework.logger.AbstractLogEnabled;
@@ -89,7 +89,7 @@ public class DefaultDeployer
final XMLReader parser = saxParser.getXMLReader();
//parser.setFeature( "http://xml.org/sax/features/namespace-prefixes", false );

final ClassicSAXConfigurationHandler handler = new ClassicSAXConfigurationHandler();
final SAXConfigurationHandler handler = new SAXConfigurationHandler();
parser.setContentHandler( handler );
parser.setErrorHandler( handler );



Loading…
Cancel
Save