I use afreechart and edu.emory.mathcs.jtransformsand org.afree.chartin many different activities that I write for Android. I have a huge number of problems associated with setting up each new project so that I can
- Look at the classes from the library when I write code in the Eclipse IDE.
- See attached source for these classes.
- See attached javadoc for these classes
- Check out the .class files for these classes as I try to start my activity.
Now I make a copy of the .jar, doc src and .properties files for each library used. I copy these four things to the local lib folder for each project (one for activity) that I create.
I need to miss something simple. It seems obvious that I should have these libraries with their documents, src and .properties in one place and that I should be able to reference this location in every project that uses these libraries. But I still do not understand how to do this. Tell me please.
If there is a way to define a set of jars and related src and doc that will automatically and always be executed using any new eclipse project that I am doing, that would be even better.
EDIT ADDED After answers about external Libs:
And indeed, I put jtransforms-2.4.jar in an external directory. In the same directory, I placed src and doc for the package and the jtransforms-2.4.properties file with the doc and src entry pointing to local files with doc and src. I added them to my build path as an external jar.
1) Eclipse IDE, , .jar .
2) src . doc src info , , ?
3) , NoClassDefFound . Eclipse IDE lib,
: " " :
1) src doc Eclipse IDE
2) .
FINALLY: jar,.properties, doc src lib , .
SO , ( ) .