commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <peterly...@mindspring.com>
Subject [Jelly] demo:jellyunit error: Ant Filtersets
Date Fri, 06 Dec 2002 00:12:32 GMT
Hi,

I tried the recent test cases added re: Ant filtersets. I still have the same
problems.:(

Here is a piece of the demo:jellyunit goal:

[java] [INFO] InfoTag - -The exception was: This should always fail. Assertion
failed while evaluating xpath: $:docchild::foo/child::xyz File:
file:/D:/cygwin/home/plynch/dev/apache/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml/suite.jelly
At tag <test:assert>: line: 59 column: 39 File:
file:/D:/cygwin/home/plynch/dev/apache/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/xml/suite.jelly
At tag <test:assert>: line: 59 column: 39

    [java] THROW AN EXCEPTION     [copy] Copying 1 file to
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests

    [java]    [delete] Deleting:
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests\output.txt

    [java] Overriding previous definition of reference to myFilter
    [java] [ERROR] AntTag - -Class org.apache.commons.jelly.tags.junit.CaseTag
doesn't support the nested "filterset" element.

    [java]      [copy] Copying 1 file to
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests

    [java]    [delete] Deleting:
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests\output.txt

    [java]      [copy] Copying 1 file to
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests

    [java]      [echo] Performing copy in parallel
    [java]    [delete] Deleting:
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests\output.txt

    [java] Overriding previous definition of reference to myFilter
    [java] [ERROR] AntTag - -Class org.apache.commons.jelly.tags.junit.CaseTag
doesn't support the nested "filterset" element.

    [java]      [copy] Copying 1 file to
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests

    [java]      [echo] Performing copy in parallel
    [java]    [delete] Deleting:
D:\cygwin\home\plynch\dev\apache\jakarta-commons-sandbox\jelly\target\tmp\ant-tests\output.txt

    [java]      [echo] setting the message worked!
    [java]      [echo]         
    [java]      [echo]  

Notice, I still get the line:
    [java] [ERROR] AntTag - -Class org.apache.commons.jelly.tags.junit.CaseTag
doesn't support the nested "filterset" element.

So I am not sure if things are working or not in the unit test. Plus the
latest code in the Maven HEAD for the webserver plugin tries to use filtersets
and still does not work for me with refid to global filtersets, unless
'filtering="true"' on the copy task. According to Ant docs and my experience,
nested filtersets in the copy task should always work regardless of filtering
attribute's value.

The Maven webserver plugin has the code to reproduce the problem. just use
'maven webserver:install' using a http.conf file.

My env.
Win 2k server, JDK 1.4
I tried Ant 1.5 and Ant 1.5.1

Any clues?

-Peter


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message