Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2268 - development/main/metro/composition/builder/src/main/net/dpml/composition/builder

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2268 - development/main/metro/composition/builder/src/main/net/dpml/composition/builder
  • Date: Tue, 12 Apr 2005 12:12:13 -0400

Author: mcconnell AT dpml.net
Date: Tue Apr 12 12:12:10 2005
New Revision: 2268

Modified:

development/main/metro/composition/builder/src/main/net/dpml/composition/builder/ComponentBuilderTask.java
Log:
Fix an issue related to redundant requirement for assingnment of a component
name.

Modified:
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/ComponentBuilderTask.java
==============================================================================
---
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/ComponentBuilderTask.java
(original)
+++
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/ComponentBuilderTask.java
Tue Apr 12 12:12:10 2005
@@ -72,7 +72,6 @@
import net.dpml.automation.part.PartHolder;
import net.dpml.automation.part.PartReference;
import net.dpml.automation.builder.PartBuilder;
-//import net.dpml.automation.builder.PartReferenceBuilder;
import net.dpml.automation.builder.IntrospectionException;

import net.dpml.configuration.Configuration;
@@ -614,9 +613,16 @@
{
if( null == m_name )
{
- final String error =
- "The component profile name attribute is not defined.";
- throw new BuildException( error, getLocation() );
+ if( null != m_key )
+ {
+ return m_key;
+ }
+ else
+ {
+ final String error =
+ "The component profile name attribute is not defined.";
+ throw new BuildException( error, getLocation() );
+ }
}
return m_name;
}



  • svn commit: r2268 - development/main/metro/composition/builder/src/main/net/dpml/composition/builder, mcconnell, 04/12/2005

Archive powered by MHonArc 2.6.24.

Top of Page