JesperE
JesperE

Reputation: 64444

XML schema for Eclipse target definition files

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

Upvotes: 3

Views: 1107

Answers (2)

VonC
VonC

Reputation: 1328712

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

alt text
(source: modumind.com)

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

Upvotes: 1

CWindatt
CWindatt

Reputation: 124

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

Upvotes: 0

Related Questions