You should add the
.jar
file that doesn't have any suffixes to the build path.Those contain unit tests (and source code for unit tests)
What are the different jar files for in Java, and how to import them into Eclipse?
-
15-01-2022 - |
Pregunta
I just downloaded the commons-io-2.4-bin.zip and I am going to import org.apache.commons.io.FileUtils; and I plan to add the jars in eclipse (project->properties->Libraries->add external jars). I know that the -javadoc.jar must contain the documentation for the commons-io library and that the -sources.java must have the source files. But I still have questions regarding what I am doing.
- Am I including the jar files best way in eclipse
- What are the -tests.jar and -test-sources.jar files?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow