BUILD FAILED
D:\src\lenya-1.4.x\build\lenya\temp\modules-build.xml:69: Failed to copy D:\src\lenya-1.4.x\src\modules\svg\sitemap.xmap to D:\src\lenya-1.4.x\build\lenya\webapp\lenya\modules\/*D:\src\lenya-1.4.x\*/src\modules\svg\sitemap.xmap

This is on Win XP with the latest checkout of trunk. It seems the relative module paths in local.build.properties are being converted to absolute paths somewhere during the build.

I had a quick look at GenerateModuleList.java, the first snippet is the most recent revision. The only thing I see is no longer using getSourceDir().
File[] modules = (File[]) descriptors.toArray(new File[descriptors.size()]);
for (int i = 0; i < modules.length; i++) {
 Element element = doc.createElementNS(NAMESPACE, "module");
 element.setAttribute("src", modules[i].getAbsolutePath());
 doc.getDocumentElement().appendChild(element);

---------------------------------------------------------------------

ModuleDescriptor[] modules = descriptors.getSortedDescriptors();
for (int i = 0; i < modules.length; i++) {
 File path = modules[i].getSourceDir();
 Element element = doc.createElementNS(NAMESPACE, "module");
 element.setAttribute("src", path.getAbsolutePath());
 doc.getDocumentElement().appendChild(element);

Has anyone else had this issue?  Thanks for any help.

--
Jonathan Addison                                 jon<at>wyona.com
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com http://lenya.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to