On 2010-11-23, Jan Matèrne wrote: > I tried to build AntUnit. > But the first problem is that you must have JUnit on the compile classpath. > This is not part of Ant and there is no target for downloading that.
> So I thought about enhancing the common/ivy.xml for running ivy > - downloading the ivy.jar (I think "go-ivy" is the target name from the > tutorial :) > - retrieving the defined dependencies If you want to do that, I'd say go ahead. It would be good if you could avoid downloading Ant since I often want to build an Antlib against Ant's core (maybe even with uncommitted changes) rather than any downloadable version. > Having manually added Junit 4.8.2 (-lib ...) I'll get > BUILD FAILED > C:\ant\svn-repository\antlibs\antunit\trunk\common\build.xml:351: The > following error occurred while executing this line: > C:\ant\svn-repository\antlibs\antunit\trunk\common\ivy.xml:59: > org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or > change an object in a way which is incorrect with regard to namespaces. > at > com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.checkNamespaceWF(Unk > nown Source) Works fine for me and Gump, but both of us make sure the real Xerces (and the real Xalan) will be used rather than the Sun labeled versions. That being said, I don't think I play any tricks on the OpenJDK installations that I use on Linux. May be an issue with the XML parser in the Sun VM. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org