Recently read thinking in Java, encountered the third chapter using the official package written by Bruce Eckel, but from the official can only download to the. Java format source code.
A bit of a detour, a little bit, the author's code in Eclipse to create a new project to import in. Then use Eclipse->export to export to a jar package.
Then in the project where I need to use the API written by the author, right-->properties->java build path->library->add external jars-> Select the jar package you want to import on the project, Ok (OK), then import the appropriate class before the class that uses the API.
Code codes downloaded from MindView's official website and Mindview.jar packages packaged with eclipse
Http://pan.baidu.com/s/1pJ2qlrt
The easiest way to do this is to use the build.xml that comes with code, and modify it to package it as a jar, but because you're not familiar with Ant yet.
Do you have any trouble telling me or give me a link?
Java Programming thought Note: (Ant Help) Eclipse Build/import third-party jar package