Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2959 - in development/main: metro/composition/builder/src/main/net/dpml/composition/builder test/components/plus/src/main/net/dpml/test/acme/plus

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: r2959 - in development/main: metro/composition/builder/src/main/net/dpml/composition/builder test/components/plus/src/main/net/dpml/test/acme/plus
  • Date: Sun, 03 Jul 2005 04:18:57 -0400

Author: mcconnell AT dpml.net
Date: Sun Jul 3 04:18:57 2005
New Revision: 2959

Modified:

development/main/metro/composition/builder/src/main/net/dpml/composition/builder/StateBuilder.java

development/main/test/components/plus/src/main/net/dpml/test/acme/plus/ManagedComponent.xgraph
Log:
Update graph to declare 'graph' as the root element name.

Modified:
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/StateBuilder.java
==============================================================================
---
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/StateBuilder.java
(original)
+++
development/main/metro/composition/builder/src/main/net/dpml/composition/builder/StateBuilder.java
Sun Jul 3 04:18:57 2005
@@ -44,10 +44,10 @@
public State build( Configuration config )
{
final String name = config.getName();
- if( false == "state".equals( name ) )
+ if( false == "graph".equals( name ) )
{
final String error =
- "Root element in the state graph is not a 'state' element.";
+ "Root element in the state graph is not a 'graph' element.";
throw new BuildException( error );
}


Modified:
development/main/test/components/plus/src/main/net/dpml/test/acme/plus/ManagedComponent.xgraph
==============================================================================
---
development/main/test/components/plus/src/main/net/dpml/test/acme/plus/ManagedComponent.xgraph
(original)
+++
development/main/test/components/plus/src/main/net/dpml/test/acme/plus/ManagedComponent.xgraph
Sun Jul 3 04:18:57 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>

-<state>
+<graph>

<initialization target="initialized"/>

@@ -42,5 +42,5 @@

<state name="terminated" terminal="true"/>

-</state>
+</graph>




  • svn commit: r2959 - in development/main: metro/composition/builder/src/main/net/dpml/composition/builder test/components/plus/src/main/net/dpml/test/acme/plus, mcconnell, 07/03/2005

Archive powered by MHonArc 2.6.24.

Top of Page