We use Eclipse for development and we use the compare functionality in Eclipse to process our Luminis customizations for upgrades. When comparing Jar files (like uPortal.jar) eclipse gives you a breakdown of what has changed in each of the files in the archive. This is a great feature, but it would not work for a car or war file. I did a bunch of searching and came up with the following change for comparing Car files structurally.
In the file org.eclipse.jdt.ui_3.2.1.r321_v20060907.jar (or what ever version of org.eclipse.jdt.ui you have) there is a plugin.xml file. In this file you need to add the “car” extension to line 1743 as follows:
<structureCreator
extensions="jar"
class="org.eclipse.jdt.internal.ui.compare.JarStructureCreator"
id="org.eclipse.jdt.internal.ui.compare.JarStructureCreator">
Becomes
<structureCreator
extensions="jar,car"
class="org.eclipse.jdt.internal.ui.compare.JarStructureCreator"
id="org.eclipse.jdt.internal.ui.compare.JarStructureCreator">
You can now compare car files structurally.
Comments
sw33t, thanks for this tip
sw33t, thanks for this tip