-
Download this JAR (ftp://ftp.osuosl.org/pub/eclipse/eclipse/updates/3.5/R-3.5-200906111540/plugins/org.junit4.source_4.5.0.v20090423.jar) into your
eclipse/plugins
directory. -
Edit the file
source.info
in youreclipse/configuration/org.eclipse.equinox.source
directory, and add the following line:org.junit4.source,4.5.0.v20090423,plugins/org.junit4.source_4.5.0.v20090423.jar,-1,false
-
Open the file
artifacts.xml
in youreclipse
directory, and add the following fragment:<artifact classifier='osgi.bundle' id='org.junit4.source' version='4.5.0.v20090423'> <properties size='2'> <property name='artifact.size' value='128389'/> <property name='download.size' value='128389'/> </properties> </artifact>
-
If Eclipse is already open, you'll need to restart it for the changes to be detected.
Configure JUnit's Source in Eclipse
最新推荐文章于 2024-08-29 14:06:33 发布