|
How to make Apache Commons (StringUtils etc...) work with Eclipse?
Hello,
I downloaded Apache Commons Lang (commons-lang-2.4-bin.zip) to be able to use StringUtils and such stuff.
I don't, however, know how to make it work in Eclipse.
I would just like to use its methods from other Eclipse projects of mine...
Is there an easy way how to use/add/install such components in Eclipse?
The extracted zip file contains three jar files so (as it can be seen in the attached picture) I created a new Eclipse project "commons" and in its properties (Java Build Path / Libraries) I added all the three jars.
Nevertheless, I still can't use any of the org.apache.commons.lang methods in my projects since org.apache cannot be resolved.
I did edit my projects properties (Java Build Path / Projects) so that thay contain the newly created "commons" project but it didn't help.
Any hint?
And still I'm confused that I can't see any java files in the new "commons" project although the commons-lang-2.4-sources.jar actually does contain java files...
Thanks in advance.
Last edited by chrvi : 07-31-2008 at 06:21 PM.
|