Question

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

Was it helpful?

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

OTHER TIPS

May be this schema might fit the target files created for an RCP platform.

alt text

Part of that schema file is visible in the Eclipse help page.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top