From: Wolfgang M. <wol...@gm...> - 2005-04-24 16:37:40
|
Hi, > eXist has some nice Ant tasks but I was missing some functionality so I > have written additional ant tasks and reworked the original ones a bit. > If please someone with commit right would have a look at it and see > whether it can be integrated into the source. A test or sample ant > build.xml has been added in samples/ant, which uses some of the sample > xml files that are located in the samples folder. > Also the documentation in webapp/ant-tasks.xml is updated. Nice work, thanks a lot. I committed all your changes to CVS. There's just one problem: the example build.xml file doesn't run through as expected. It complains: /home/wolf/Devel/eXist/eXist-stable/samples/ant/build.xml:119: XMLDB exception during remove: org.exist.EXistException: Destination collection /db/test/sub2/sub1 not found Can you check this? I don't see where sub1 is removed. =20 > I had problems to understand how the tasks would ever get names like > xdb:store, this didn't work for me so I have changed the antlib.xml so > that all tasks consistently are named like You specify the uri in the typedef: <typedef resource=3D"org/exist/ant/antlib.xml" uri=3D"http://exist-db.org/ant"> I would prefer to use a namespace for the tasks. However, if namespaces don't work for all users it's probably better to remove them. Wolfgang |