Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Linux Tools Project/Eclipse Build/Inner Workings"

(Searching for System Jars)
Line 13: Line 13:
 
</pre>
 
</pre>
 
</code>
 
</code>
 +
 +
The search path used by the ant tasks above is specified in *.properties files.
 +
For example:
 +
<code>
 +
<pre>
 +
org.objectweb.asm_3.3.1.v201101071600.jar=/usr/share/java/objectweb-asm/asm-all.jar:/usr/share/java/asm3-all.jar
 +
</pre>
 +
</code>
 +
 +
means that the MANIFEST.MF files of <code>/usr/share/java/objectweb-asm/asm-all.jar</code> and <code>/usr/share/java/asm3-all.jar</code> will be examined to see if they satisfied the requirement of <code>org.objectweb.asm_3.3.1.v201101071600.jar</code>

Revision as of 10:03, 6 July 2011

Given an archive with Eclipse SDK sources Eclipse Build will extract the sources and remove all the pre-built OSGI jars, but collects all the OSGI metadata (contained in MANIFEST.MF files). Then Eclipse Build tries use jars provided by the system, verifying that versions match the OSGI information provided in the eclipse sources archive.

Removing Prebuilt Jars

Searching for System Jars

The following Java files are used to define ant tasks which perform the version verification and symlinking of the system jars

task-src/org/eclipse/linuxtools/eclipsebuild/SymlinkInstalledOSGiJars.java
task-src/org/eclipse/linuxtools/eclipsebuild/SymlinkOSGiJars.java
task-src/org/eclipse/linuxtools/eclipsebuild/SymlinkNonOSGiJars.java

The search path used by the ant tasks above is specified in *.properties files. For example:

org.objectweb.asm_3.3.1.v201101071600.jar=/usr/share/java/objectweb-asm/asm-all.jar:/usr/share/java/asm3-all.jar

means that the MANIFEST.MF files of /usr/share/java/objectweb-asm/asm-all.jar and /usr/share/java/asm3-all.jar will be examined to see if they satisfied the requirement of org.objectweb.asm_3.3.1.v201101071600.jar

Back to the top