如何从在线更新站点创建Eclipse更新档案?

| 每次更改Eclipse安装时,我都不得不从网络上安装数百个插件(我使用了很多em),这让我感到厌倦。 eclipse在插件安装过程中要做的是从更新站点下载相关的jar,然后安装它们。 有什么方法可以将这些下载jar捆绑到一个存档中,以便下次可以在本地进行更新而不必再次下载所有插件吗?     
已邀请:
        您可以镜像所需的功能并创建本地存储库。您需要定期安装的功能的ID(它们位于ѭ0目录中),然后可以创建一个小的ant脚本来创建本地存储库。从那里,您可以只在本地安装。回购ID与功能ID + \“。feature.group \”相同
<target name=\"CreateLocalRepo\">
   <p2.mirror destination=\"file:///opt/local/eclipseMirror\" ignoreerrors=\"true\">
      <source location=\"http://download.eclipse.org/releases/helios\"/>
      <iu id=\"org.eclipse.emf.sdk.feature.group\"/>
      <iu id=\"org.eclipse.releng.tools.feature.group\"/>
   </p2.mirror>
<target>
可以通过以下方式运行:
eclipse/eclipse -noSplash \\
-application org.eclipse.ant.core.antRunner  \\
-buildfile createLocalRepo.xml
如果仍然有较旧的Eclipse安装,另一个选择是使用“帮助”>“安装新软件”,并将旧的Eclipse提供为回购位置。 OLD_ECLIPSE_INSTALL / p2 / org.eclipse.equinox.p2.engine / profileRegistry / SDKProfile.profile     
        我想在Paul的回答中添加以下Ant脚本,您不必在其中列出站点中包含的功能的所有ID:
<?xml version=\"1.0\" ?>
<project name=\"MyProject\" default=\"CreateLocalRepo\" basedir=\".\">
  <target name=\"CreateLocalRepo\">
    <p2.mirror destination=\"file://...\" ignoreerrors=\"true\">   
      <source>
        <repository location=\"http://.../\" />
      </source>
    </p2.mirror>
  </target>
</project>
    

要回复问题请先登录注册