donaldp 2002/09/30 15:59:46
Modified: src/java/org/apache/avalon/phoenix/components/util
ComponentInfoConverter.java
Added: lib/container excalibur-info-1.0a.jar
Removed: lib excalibur-info-1.0a.jar
Log:
Update to latst info jar
Revision Changes Path
1.1 jakarta-avalon-phoenix/lib/container/excalibur-info-1.0a.jar
<<Binary file>>
1.2 +5 -5
jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/util/ComponentInfoConverter.java
Index: ComponentInfoConverter.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/util/ComponentInfoConverter.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ComponentInfoConverter.java 15 Sep 2002 13:39:02 -0000 1.1
+++ ComponentInfoConverter.java 30 Sep 2002 22:59:46 -0000 1.2
@@ -12,7 +12,7 @@
import org.apache.avalon.framework.info.ComponentDescriptor;
import org.apache.avalon.framework.info.ComponentInfo;
import org.apache.avalon.framework.info.FeatureDescriptor;
-import org.apache.avalon.framework.info.Tag;
+import org.apache.avalon.framework.info.Attribute;
import org.apache.avalon.phoenix.metainfo.BlockDescriptor;
import org.apache.avalon.phoenix.metainfo.BlockInfo;
import org.apache.avalon.phoenix.metainfo.DependencyDescriptor;
@@ -54,7 +54,7 @@
final ArrayList serviceSet = new ArrayList();
for( int i = 0; i < services.length; i++ )
{
- final Tag tag = services[ i ].getTag( "mx" );
+ final Attribute tag = services[ i ].getAttribute( "mx" );
if( null != tag )
{
serviceSet.add( toPhoenixService( services[ i ] ) );
@@ -106,7 +106,7 @@
{
final Version version = toVersion( component );
String schemaType = null;
- final Tag tag = component.getTag( "phoenix" );
+ final Attribute tag = component.getAttribute( "phoenix" );
if( null != tag )
{
schemaType = tag.getParameter( "schema-type" );
@@ -120,7 +120,7 @@
private static Version toVersion( final FeatureDescriptor component )
{
- final Tag tag = component.getTag( "avalon" );
+ final Attribute tag = component.getAttribute( "avalon" );
Version version = new Version( 1, 0, 0 );
if( null != tag )
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>