Browse Source

Minor updates to make the CVS M messages go away ;)

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269395 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
b22d6f7f8e
6 changed files with 16 additions and 1 deletions
  1. BIN
      proposal/myrmidon/lib/avalon-excalibur.jar
  2. BIN
      proposal/myrmidon/lib/logkit.jar
  3. +11
    -0
      proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java
  4. +2
    -0
      proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ATIProjectBuilder.java
  5. +2
    -0
      proposal/myrmidon/src/make/template-simple.ati
  6. +1
    -1
      proposal/myrmidon/src/make/template-simple.xsl

BIN
proposal/myrmidon/lib/avalon-excalibur.jar View File


BIN
proposal/myrmidon/lib/logkit.jar View File


+ 11
- 0
proposal/myrmidon/src/java/org/apache/myrmidon/api/TaskContext.java View File

@@ -95,6 +95,17 @@ public interface TaskContext
void setProperty( String name, Object value, ScopeEnum scope )
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.
*/


+ 2
- 0
proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ATIProjectBuilder.java View File

@@ -113,6 +113,8 @@ public class ATIProjectBuilder

final SAXResult result = new SAXResult( handler );
transformer.transform( new StreamSource( sourceID.toString() ), result );
//transformer.transform( new StreamSource( sourceID.toString() ),
//new StreamResult( System.out ) );
}
}



+ 2
- 0
proposal/myrmidon/src/make/template-simple.ati View File

@@ -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
- 1
proposal/myrmidon/src/make/template-simple.xsl View File

@@ -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()">


Loading…
Cancel
Save