Renamed button "Regenerate" to "Generate".
Put the runtime lib of addon builder plugin to be 'addon-builder.jar'.
Updated the java templates.