How to manage classpath in eclipse for one project and two build targets
I have Java application project in eclipse. This project contains the one abstract class and two implementations+GUI. In haves two classes with main methods t开发者_如何学Chat launches GUI with one of the implementations. Each implementation uses some set of unique jar libraries, another set is of same libs (shared). Is there any way to compile and build first implementation with one set of jars in classpath, another implementation - another set of libs inside one project?
you cant do in eclipse runtime, in single project
i suggest to use Ant for build, using this you can make jar or compile-deploy with your specific jar set
精彩评论