You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2001/07/27 09:24:54 UTC

cvs commit: jakarta-ant/proposal/myrmidon/src/make template-simple.ati template-simple.xsl

donaldp     01/07/27 00:24:54

  Modified:    proposal/myrmidon/lib avalon-excalibur.jar logkit.jar
               proposal/myrmidon/src/java/org/apache/myrmidon/api
                        TaskContext.java
               proposal/myrmidon/src/java/org/apache/myrmidon/components/builder
                        ATIProjectBuilder.java
               proposal/myrmidon/src/make template-simple.ati
                        template-simple.xsl
  Log:
  Minor updates to make the CVS M messages go away ;)
  
  Revision  Changes    Path
  1.4       +222 -170  jakarta-ant/proposal/myrmidon/lib/avalon-excalibur.jar
  
  	<<Binary file>>
  
  
  1.2       +107 -105  jakarta-ant/proposal/myrmidon/lib/logkit.jar
  
  	<<Binary file>>
  
  
  1.6       +11 -0     jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java
  
  Index: TaskContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TaskContext.java	2001/07/08 07:15:12	1.5
  +++ TaskContext.java	2001/07/27 07:24:54	1.6
  @@ -96,6 +96,17 @@
           throws TaskException;
   
       /**
  +     * Create a Child Context.
  +     * This allows separate hierarchly contexts to be easily constructed.
  +     *
  +     * @param name the name of sub-context
  +     * @return the created TaskContext
  +     * @exception TaskException if an error occurs
  +     */
  +    //TaskContext createSubContext( String name )
  +    //throws TaskException;
  +
  +    /**
        * Safe wrapper class for Scope enums.
        */
       final class ScopeEnum
  
  
  
  1.2       +2 -0      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ATIProjectBuilder.java
  
  Index: ATIProjectBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ATIProjectBuilder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ATIProjectBuilder.java	2001/06/29 03:07:14	1.1
  +++ ATIProjectBuilder.java	2001/07/27 07:24:54	1.2
  @@ -113,6 +113,8 @@
   
               final SAXResult result = new SAXResult( handler );
               transformer.transform( new StreamSource( sourceID.toString() ), result );
  +            //transformer.transform( new StreamSource( sourceID.toString() ), 
  +            //new StreamResult( System.out ) );
           }        
       }
   
  
  
  
  1.3       +2 -0      jakarta-ant/proposal/myrmidon/src/make/template-simple.ati
  
  Index: template-simple.ati
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/template-simple.ati,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- template-simple.ati	2001/06/29 03:13:20	1.2
  +++ template-simple.ati	2001/07/27 07:24:54	1.3
  @@ -7,6 +7,8 @@
   <project default="main" basedir=".">
   
     <target name="main">
  +    <property name="year" value="2000"/>
  +
       <echo message="Before template"/>
       <echo-template msg="Template echo 1!" />
       <echo-template msg="Template echo 2!" />
  
  
  
  1.2       +1 -1      jakarta-ant/proposal/myrmidon/src/make/template-simple.xsl
  
  Index: template-simple.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/template-simple.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- template-simple.xsl	2001/06/17 00:29:35	1.1
  +++ template-simple.xsl	2001/07/27 07:24:54	1.2
  @@ -6,7 +6,7 @@
       <echo message="This is an example of how to use a template to expand" />
       <echo message="a single element into a list of tasks to do. In this" />
       <echo message="example it is largely a case of echoing an attribute" />
  -    <echo message="ie. msg='{@msg}'" />
  +    <echo message="ie. msg='{@msg}' and embeddding an ant variable ${{year}}" />
     </xsl:template>
   
     <xsl:template match="@*|node()">