I have a plugin source folder which contains some plugin clases and META-INF folder with some manifests. In another source folder I have my main application. What I would like to do is to create a JAR file out of my plugin folder and add it to the classpath as soon as I click on the run button for my main application class. Preferably, Eclipse should create JAR files on the fly as soon as I make a change to any of the files within the plugin folder, kind of the way it automatically creates .class files in the default output folder (${projectname}/bin)
I only need this to make testing easier. Can it be done in Eclipse without the need to rely on ANT or something similar?