| Summary: | Provide the UDC as a Downloadable ZIP archive | ||
|---|---|---|---|
| Product: | [Technology] EPP | Reporter: | Martin Oberhuber <mober.at+eclipse> |
| Component: | Usage Data Collector | Assignee: | Wayne Beaton <wayne.beaton> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | epp.packager-inbox |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | 1.3.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 301767, 334258 | ||
| Bug Blocks: | |||
|
Description
Martin Oberhuber
PS the background of this is that I'm maintaining several Eclipse installations, and distributing the archive to the various locations is easier than running the update manager on each site. The PDE build output is a zip archive that we are extracting to the update site. That means it is a trivial step to make the zip archive available for download. I can do that in the next few days. What you get from PDE Build for free is an "archived update site". Which is kind of OK (CDT only ships that kind of ZIP for downloads as well), but not really nice since it cannot be extracted into an Eclipse installation right away because it contains JAR'd features whereas Eclipse requires expanded features.
Our build process, (and others too, I believe), uses this for creating downloadable bits:
<target name="assemble.org.eclipse.tm.terminal.sdk">
<property name="archiveName" value="TM-terminal-${buildId}.zip"/>
<ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
<antcall target="unpackUpdateJarsForPackaging" />
</target>
<target name="unpackUpdateJarsForPackaging" depends="myInit">
<property name="tmpsite" value="${buildDirectory}/tmpsite" />
<mkdir dir="${tmpsite}/new/eclipse/features" />
<mkdir dir="${tmpsite}/new/eclipse/plugins" />
<exec executable="unzip" dir="${buildDirectory}/${buildLabel}">
<arg line="-q ${archiveName} -d ${tmpsite}" />
</exec>
<copy todir="${buildUpdateSitePath}">
<fileset dir="${tmpsite}/eclipse"/>
</copy>
<unpackUpdateJars site="${tmpsite}/eclipse" output="${tmpsite}/new/eclipse"/>
<antcall target="packageLicenseFiles"/>
<zip destfile="${buildDirectory}/${buildLabel}/${archiveName}"
basedir="${tmpsite}/new"
/>
<delete dir="${tmpsite}"/>
</target>
I'll mark this WONTFIX as the UDC is deprecated by now: https://www.eclipse.org/epp/usagedata/ |