Bug #1239
rst-proto can generate invalid XML in the generated build.xml file
Status: | Resolved | Start date: | 11/17/2012 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Build System | |||
Target version: | Robotics Service Bus - rsb-0.9 |
Description
When pathnames contain "&" characters, these end up in the generated build.xml
file. In these cases, the file is invalid with respect to XML syntax. Entity references of the form &
should be used.
This wouldn't normally be a problem, but our assignment of slaves based on label expressions produces workspace directories like /home/jenkins/workspace/rst-trunk-merge-simulator/label/32bit&&(ubuntu-previous-lts||ubuntu-lts)
Associated revisions
Escape "&" characters properly when generating from java/build.xml.in
fixes #1239
Previously, pathnames containing "&" characters caused an invalid XML
file to be generated from java/build.xml.in.
- java/CMakeLists.txt: replace & with & entity reference in
variables which are used in java/build.xml.in - java/build.xml.in: insert pre-escaped lines for specification of jar files
History
#1 Updated by J. Moringen over 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset rst-proto|commit:909b0821e2889472874ea428369ff6d54f6e14ac.