From: Stefan M. <ste...@un...> - 2010-09-14 21:36:23
|
I just tried the XAR Packaging that has made its way into trunk. I have to say, I am really impressed by the packaging in exist. I especially like the fact that it is not only possible to put XQuery modules into the packages, but also data, is really great. This way we have an option to effectively bundle data and XQuery files. Up to now we used ant tasks for this, but packaging would really make life so much easier. For now I managed to create archives with data and xquery files, that appears to work fine. I have one question concerning indices. When bundling data and query files, it would be interesting to have a mechanism to bundle indexes. If there would be a way to achieve this, it would be marvellous. For now I tried to add a ./system/config/db/myapp/collection.xconf to the ZIP, but failed. I think adding some <index> element to the expath package format, where the index definition file and collection would be defined, could do the trick. Or is there already some mechanism in place for this purpose? Something else. How do you handle really large xars where one risks connection breakdowns, timeouts...? Well, I have to emphasise it once more. The packaging is just great! cheers and thanks, Stefan |