Hello Jan, this file : http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/resources/org/apache/tools/ant/types/resources/selectors/antlib.xml?rev=278467&view=log is in the codebase, this is not the problem.
Looks like it is a cryptic XML bug of the XML parser shipping in jdk 1.4.2_08 used for the gump test. Cheers, Antoine > --- Ursprüngliche Nachricht --- > Von: <[EMAIL PROTECTED]> > An: <dev@ant.apache.org> > Betreff: AW: [EMAIL PROTECTED]: Project test-ant-no-xerces (in module ant) > failed > Datum: Thu, 27 Oct 2005 08:40:27 +0200 > > > [junit] Testcase: > testResourceSelectorSimple(org.apache.tools.ant.types.selectors.Modified > SelectorTest): Caused an ERROR > > [junit] restrict doesn't support the nested "modified" element. > > [junit] > /x1/gump/public/workspace/ant/src/etc/testcases/types/selectors.xml:266: > restrict doesn't support the nested "modified" element. > > > In the test buildfile the snippet is > <restrict> > <resources> > ... > </resources> > <modified selres="true" > xmlns="antlib:org.apache.tools.ant.types.resources.selectors"/> > </restrict> > > The class Restrict [2] has a method add(ResourceSelector s) and > ModifiedSelector [3] implements that. So from the java view > that should work. Maybe the mapping (xmlns...) is not resolved? Maybe a > follower from LibrariesTest? > > mmh ... shouldnt there be a file antlib.xml in svn [4] specifying the > mapping between selectornames and classes? > I was sure I had submitted the change [5] at ApacheCon-EU ... > > > Jan > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]