Automatically create jar from plugins folder in Eclipse

I have a plugin source folder that contains some plugins and a META-INF folder with some manifests. In another source folder, I have a main application. I would like to do to create a JAR file from my plugin folder and add it to the classpath as soon as I hit the start button for my main application class. Preferably, Eclipse should create JAR files on the fly as soon as I make changes to any of the files in the plugin folder, for example, how it automatically creates .class files in the default output folder ($ {projectname} / bin)

I only need this to simplify testing. Is it possible to do this in Eclipse without having to rely on ANT or something like that?

+3
source share

Source: https://habr.com/ru/post/1794915/


All Articles