For each plug-in or fragment, a directory in the form {id}_{version} should exist. The content of the directory corresponds to the plug-in/fragment location. It should contain source code zip file in the form {library name}src.zip where library name is the name of the Java library that matches the source code. For JAR'd plug-ins and libraries named '.', the source zip file must be named simply src.zip
.
In addition, it should contain any file or directory specified in the build.properties using src.includes
variable.
<!ELEMENT extension (location+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT location EMPTY>
<!ATTLIST location
path CDATA #REQUIRED>
id
is a matching plug-in or fragment identifier and version
is the matching plugin/fragment version. These directories in turn should contain source archives and any other file or folder specified using src.includes
variable in build.properties file of the corresponding plug-in/fragment.source
extension:
<extension point = "org.eclipse.pde.core.source"> <location path="src"/> </extension>In the example above, the source location
src
in the contributing plug-in has been registered.
Copyright (c) 2004 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0.