You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2004/09/08 07:35:50 UTC
cvs commit: jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml testExpressions.jelly filesetExample.jelly testThread.jelly
dion 2004/09/07 22:35:50
Modified: jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml
testExpressions.jelly filesetExample.jelly
testThread.jelly
Log:
detab
Revision Changes Path
1.3 +5 -5 jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/testExpressions.jelly
Index: testExpressions.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/testExpressions.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testExpressions.jelly 1 Mar 2004 13:06:47 -0000 1.2
+++ testExpressions.jelly 8 Sep 2004 05:35:50 -0000 1.3
@@ -16,22 +16,22 @@
-->
<j:jelly trim="false" xmlns:j="jelly:core">
<testcase>
-
+
<j:set var="topping">cheese</j:set>
<j:set var="base">deep pan</j:set>
<j:set var="test" value="pizza has ${topping} on top"/>
<j:if test="${test != 'pizza has cheese on top'}">
- <fail>attribute test failed. Found <j:expr value="${test}"/> and expected 'pizza has cheese on top'</fail>
+ <fail>attribute test failed. Found <j:expr value="${test}"/> and expected 'pizza has cheese on top'</fail>
</j:if>
-
+
<j:set var="test">pizza has ${topping} on top</j:set>
<j:if test="${test != 'pizza has cheese on top'}">
- <fail>element test failed. Found <j:expr value="${test}"/> and expected 'pizza has cheese on top'</fail>
+ <fail>element test failed. Found <j:expr value="${test}"/> and expected 'pizza has cheese on top'</fail>
</j:if>
-
+
</testcase>
</j:jelly>
1.3 +14 -14 jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/filesetExample.jelly
Index: filesetExample.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/filesetExample.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- filesetExample.jelly 1 Mar 2004 13:06:47 -0000 1.2
+++ filesetExample.jelly 8 Sep 2004 05:35:50 -0000 1.3
@@ -16,21 +16,21 @@
-->
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns="jelly:ant">
- <fileScanner var="scanner">
- <fileset dir="src/test/org/apache/commons/jelly/xml" includes="**/*.xml"/>
- </fileScanner>
-
- <j:forEach var="file" items="${scanner.iterator()}">
- <j:set var="fileFullName" value="${file.name}"/>
- <j:set var="fileName" value="${fileFullName.substring(0, fileFullName.length() - 4)}"/>
- About to process file ${file} and generate file name ${fileName}.html
+ <fileScanner var="scanner">
+ <fileset dir="src/test/org/apache/commons/jelly/xml" includes="**/*.xml"/>
+ </fileScanner>
+
+ <j:forEach var="file" items="${scanner.iterator()}">
+ <j:set var="fileFullName" value="${file.name}"/>
+ <j:set var="fileName" value="${fileFullName.substring(0, fileFullName.length() - 4)}"/>
+ About to process file ${file} and generate file name ${fileName}.html
- <j:file name="target/${fileName}.html">
- <x:transform xml="${file}" xslt="transformExample.xsl">
- <x:param name="filename" value="${file.canonicalPath}"/>
- </x:transform>
- </j:file>
- </j:forEach>
+ <j:file name="target/${fileName}.html">
+ <x:transform xml="${file}" xslt="transformExample.xsl">
+ <x:param name="filename" value="${file.canonicalPath}"/>
+ </x:transform>
+ </j:file>
+ </j:forEach>
</j:jelly>
1.3 +2 -2 jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/testThread.jelly
Index: testThread.jelly
===================================================================
RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/xml/src/test/org/apache/commons/jelly/tags/xml/testThread.jelly,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testThread.jelly 1 Mar 2004 13:06:47 -0000 1.2
+++ testThread.jelly 8 Sep 2004 05:35:50 -0000 1.3
@@ -46,7 +46,7 @@
</web-app>
</x:parse>
- <j:whitespace>
+ <j:whitespace>
<x:set var="count" select="count($doc//servlet)"/>
<x:forEach var="s" select="$doc//servlet">
name: <x:expr select="$s/servlet-name"/>
@@ -54,7 +54,7 @@
</x:forEach>
There are <x:expr select="$count"/> servlet(s)
- </j:whitespace>
+ </j:whitespace>
</j:thread>
The thread should have started now!
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org