notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1634 - development/main/magic/core/src/main/net/dpml/magic/model
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1634 - development/main/magic/core/src/main/net/dpml/magic/model
- Date: Sun, 30 Jan 2005 09:30:03 +0100
Author: mcconnell
Date: Sun Jan 30 09:30:03 2005
New Revision: 1634
Modified:
development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
Log:
trap and exclude themes in path objects
Modified:
development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
==============================================================================
--- development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
(original)
+++ development/main/magic/core/src/main/net/dpml/magic/model/Resource.java
Sun Jan 30 09:30:03 2005
@@ -263,8 +263,12 @@
String[] types = info.getTypes();
for( int j=0; j<types.length; j++ )
{
- final File file = resource.getArtifact( project,
types[j] );
- path.createPathElement().setLocation( file );
+ String type = types[i];
+ if( !"theme".equals( type ) )
+ {
+ final File file = resource.getArtifact(
project, types[j] );
+ path.createPathElement().setLocation( file );
+ }
}
}
else if( !"theme".equals( filter ) )
- svn commit: r1634 - development/main/magic/core/src/main/net/dpml/magic/model, mcconnell, 01/30/2005
Archive powered by MHonArc 2.6.24.