krysalis-sandbox/workflow/src/test/org/krysalis/workflow/test workflow.xconf,NONE,1.1 NFATest.xtest,1.1,1.2

[email protected]
Newsgroups gmane.comp.krysalis.sandbox
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-sandbox/workflow/src/test/org/krysalis/workflow/test
In directory sc8-pr-cvs1:/tmp/cvs-serv19495/src/test/org/krysalis/workflow/test

Modified Files:
	NFATest.xtest 
Added Files:
	workflow.xconf 
Log Message:
Made class names more consistent.
Installed ant build system.
Using the proposal of the Lenya project for the first
implementation.


--- NEW FILE: workflow.xconf ---
<?xml version"1.0"?>
<wf>

 <workflows default="standard-article">
  <workflow id="standard-article">
    <state id="authoring">
      <transition ref="proof-reading"/>
    </state>
    <state id="proof-reading">
      <transition ref="authoring"/>
      <transition ref="ready-to-publish"/>
    </state>
    <state id="ready-to-publish">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
      <transition ref="live"/>
    </state>
    <state id="live">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
      <transition ref="archived"/>
    </state>
    <state id="archived">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
    </state>
  </workflow>

  <workflow id="headline">
    <state id="authoring">
      <transition ref="proof-reading"/>
    </state>
    <state id="proof-reading">
      <transition ref="authoring"/>
      <transition ref="ready-to-publish"/>
    </state>
    <state id="ready-to-publish">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
      <transition ref="live"/>
    </state>
    <state id="live">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
      <transition ref="archived"/>
    </state>
    <state id="archived">
      <transition ref="authoring"/>
      <transition ref="proof-reading"/>
    </state>
  </workflow>
 </workflows>

 <map> 
  <assign pattern="headline/*" workflow="headline"/>
  <assign pattern="article/*" workflow="standard-article"/>
 </map>

</wf>

Index: NFATest.xtest
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-sandbox/workflow/src/test/org/krysalis/workflow/test/NFATest.xtest,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NFATest.xtest	12 Sep 2002 10:06:34 -0000	1.1
--- NFATest.xtest	12 Mar 2003 13:32:43 -0000	1.2
***************
*** 23,28 ****
--- 23,31 ----
          default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"/>
   </roles>
+ 
   <context/>
+ 
   <logkit/>
+ 
   <components>
  




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.