commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <peterly...@mindspring.com>
Subject Re: [Jelly] demo:jellyunit error: Ant Filtersets
Date Fri, 06 Dec 2002 01:03:23 GMT
James Strachan - thank you!

Today I found out from Bob that using ant 1.5.1 in a Maven plugin was not
possible unless Maven's dependency went to 1.5.1. So it turns out I was always
using Ant 1.5

So I tried 1.5.1 and it works like a charm. My plugin that is with the
filtersets.

Thanks so much. I'll close all issues when I get approval to upgrade the Maven
depends to Ant 1.5.1

Thanks again, sorry for the trouble,

-Peter

PS. I built Jelly and Maven with Ant 1.5.1 as depends without a problem. I
still don't have info on the filterset tag inside the testcase ERROR

On Thu, 05 Dec 2002 19:12:32 -0500 peterlynch@mindspring.com wrote:

> 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 : 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 : 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:   
> For additional commands, e-mail: 
> 
> 


--
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