Jonathan Addison wrote:
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

Hi Jonathan,

would you mind trying it again (I removed some code yesterday),
and if it still doesn't work, file a bug report?

I guess you are right, it is related to incorrect handling of
path separators. Thanks a lot for examining this!

-- Andreas




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.



--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


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

Reply via email to