Safe JAR file migration in Eclipse
by, 05-21-2011 at 10:48 PM (3827 Views)
Its always a good idea to include refactoring information into the JAR file when you are exporting it from Eclipse. Eclipse’s JAR Export Wizard offers this option.
Here is how it works:
- File > Export
- Select JAR file
- Select: Export refactorings for checked projects
This is very useful because then all the clients that are using older version of JAR will be able to migrate an old version of the JAR file to a new one using the Refactor > Migrate JAR File... refactoring. Now this refactoring automatically updates all code which is dependent on the old version of the JAR file to use the new version of the JAR file.