notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2987 - development/main/magic/core/src/main/net/dpml/magic/tasks
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2987 - development/main/magic/core/src/main/net/dpml/magic/tasks
- Date: Wed, 06 Jul 2005 18:18:58 -0400
Author: mcconnell AT dpml.net
Date: Wed Jul 6 18:18:58 2005
New Revision: 2987
Modified:
development/main/magic/core/src/main/net/dpml/magic/tasks/FeatureTask.java
Log:
o complete support for multi-types in the FeatureTask
Modified:
development/main/magic/core/src/main/net/dpml/magic/tasks/FeatureTask.java
==============================================================================
---
development/main/magic/core/src/main/net/dpml/magic/tasks/FeatureTask.java
(original)
+++
development/main/magic/core/src/main/net/dpml/magic/tasks/FeatureTask.java
Wed Jul 6 18:18:58 2005
@@ -135,10 +135,6 @@
{
return resource.getInfo().getURI( "plugin" );
}
- else if( m_feature.equals( "block" ) )
- {
- return resource.getInfo().getURI( "block" );
- }
else if( m_feature.equals( "spec" ) )
{
return resource.getInfo().getSpec();
@@ -164,7 +160,14 @@
}
else if( m_feature.equals( "filename" ) )
{
- return resource.getInfo().getFilename();
+ if( null == m_type )
+ {
+ return resource.getInfo().getFilename();
+ }
+ else
+ {
+ return resource.getInfo().getFilename( m_type );
+ }
}
else if( m_feature.equals( "short-filename" ) )
{
- svn commit: r2987 - development/main/magic/core/src/main/net/dpml/magic/tasks, mcconnell, 07/06/2005
Archive powered by MHonArc 2.6.24.