Search code examples
eclipsepdebuckminster

XML schema for Eclipse target definition files


Where can I find the XML schema and/or documentation for Eclipse target definition files (*.target)?


Solution

  • There is no schema or documentation defining the structure of a target definition file (.target). This is because the file structure is not intended to be API (it may change between release).

    The structure has changed several times already. The code used to serialize/deserialize the file can be found in the following classes:

    org.eclipse.pde.internal.core.target.TargetDefinitionPersistenceHelper
    org.eclipse.pde.internal.core.target.TargetPersistence38Helper
    org.eclipse.pde.internal.core.target.TargetPersistence36Helper
    org.eclipse.pde.internal.core.target.TargetPersistence35Helper
    org.eclipse.pde.internal.core.target.TargetPersistence34Helper