DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39880>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39880 Summary: Win XP: Relative module paths changed to absolute paths during build Product: Lenya Version: 1.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P3 Component: Build System AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] >From User list: 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() but I don't know if this would cause the problem. 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); -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
