Search code examples
javaxmljaxbjaxb2

Can you add comments to a "jaxb.index" file?


Has anybody found any documentation on comments in jaxb.index files? I've searched the web, but couldn't find any information.

Using "# comment" style lines does work, but is this actually specified anywhere?


Solution

  • The format is specified in the API documentation for the JAXBContext class.

    "The comment character is '#' (0x23); on each line all characters following the first comment character are ignored."