define tag

Help
clem
2004-09-21
2013-04-24
  • clem
    clem
    2004-09-21

    I've encountered an issue while creating the following define, which specifies a header file that needs to be included by a vendor's library I'm using:

    <defineset>
    <define name="BOOST_USER_CONFIG"
    value="&lt;boost/config/mt-gcc-solaris-stlport-config.hpp&gt;"
    />
    </defineset>

    As the angle brackets have been escaped, this works as intended for the build.  However, I get the following error if I don't do a clean build:

      [cc] Error reading history.xml: org.xml.sax.SAXParseException: The value of attribute "signature" associated with an element type "processor" must not contain the '<' character.

    So it looks like the escaped value is not being preserved in the history.xml.  Is there a way this can be stored as CDATA?