Eclipse > JUnit4-hez forráskódjának hozzáadása (v4.8.1)

Eclipse:
Build id: 20100917-0705

$ cd eclipse/plugins
$ wget ftp://ftp.osuosl.org/pub/eclipse/eclipse/updates/3.6/R-3.6-201006080911…
$ ls -s --block-size=1 *junit*4.8*.jar
163840 org.junit.source_4.8.1.v4_8_1_v20100427-1100.jar

Adjuk hozzá.

eclipse/configuration/org.eclipse.equinox.source/source.info:
org.junit4.source,4.8.1.v4_8_1_v20100427-1100,plugins/org.junit.source_4.8.1.v4_8_1_v20100427-1100.jar,-1,false

Az artifacts elem alá szúrjuk be.

eclipse/artifacts.xml:
<artifact classifier='osgi.bundle' id='org.junit4.source' version='4.8.1.v4_8_1_v20100427-1100'>
<properties size='2'>
<property name='artifact.size' value='163840'/>
<property name='download.size' value='163840'/>
</properties>
</artifact>

Forrás:
http://stackoverflow.com/questions/1084176/how-do-i-configure-junits-so…