Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 32242 - [build] DOC: Packager map file format
Summary: [build] DOC: Packager map file format
Status: RESOLVED DUPLICATE of bug 35290
Alias: None
Product: PDE
Classification: Eclipse Project
Component: Build (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 RC3   Edit
Assignee: pde-build-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 10:12 EST by Pascal Rapicault CLA
Modified: 2004-06-16 21:50 EDT (History)
2 users (show)

See Also:


Attachments
Map file doc (2.02 KB, text/plain)
2003-02-20 12:26 EST, Pascal Rapicault CLA
no flags Details
Map file for wswb (1.95 KB, text/plain)
2003-02-20 12:29 EST, Pascal Rapicault CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2003-02-19 10:12:54 EST
Here a proposal for the format of the map files. It will be a property file.

General grammar:
zipname = url "|" [configList] "|" [directory] "|" [contentFlagsList]

Description:
zipname: represents the name of the zip

url : the url where to find the zip (the concatenation of url and zip points to 
the file to download)

configList: an optional "&" separated list of configurations for which the zip 
matches. win32,win32,86 & linux,gtk,x86. By default the configuration is *,*,*

directory: the directory where the content of the zip should be go relatively 
to an eclipse install. See examples below.

contentFlagsList: flags indicating the content of the drop. Although extra 
flags can be used, four default ones are provided "src", "bin", "doc", "exa".


Examples 1: GEF
GEF-SDK-I20030218.zip = http://download.eclipse.org/tools/gef/downloads/drops/I-
I20030218-200302181257 | *,*,* | eclipse/ | src & bin

Examples 2: GEF (using default options)
GEF-SDK-I20030218.zip = http://download.eclipse.org/tools/gef/downloads/drops/I-
I20030218-200302181257 | | eclipse/ |

Examples 3: Eclipse platform for win32
eclipse-platform-M5-win32.zip = ftp://download.eclipse.org/S-M5-200302061700/ | 
win32,win32,x86 | | bin
Comment 1 Jeff McAffer CLA 2003-02-19 16:31:54 EST
This looks good.  some comments.
- use "source" and "examples" rather than truncations
- Ensure that the doc around this notes the URL as the URL to the parent of the 
zip file.  PDE build will concatenate the two.

Comment 2 Jeff McAffer CLA 2003-02-19 17:16:57 EST
suggest that we should only have three content flags.  The should 
be "runtime", "source" and "examples".  the meaning of doc is ambiguous.  It 
could be user or isv doc.  Runtime includes the user doc, source includes the 
ISV doc.
Comment 3 Pascal Rapicault CLA 2003-02-20 12:26:25 EST
Created attachment 3602 [details]
Map file doc
Comment 4 Pascal Rapicault CLA 2003-02-20 12:29:18 EST
Created attachment 3603 [details]
Map file for wswb

This file contains the entries to fetch all versions of gef and xsd on the ftp.
Comment 5 DJ Houghton CLA 2003-11-20 13:16:06 EST
Changing bug assignment to pde-build-inbox. (pde-core-inbox is obsolete)
Comment 6 Pascal Rapicault CLA 2004-04-17 21:07:30 EDT
a new entry has been added at the end of the line to indicate the component 
name. This information is typically used to avoid the download of unecessary 
archives.
Comment 7 Pascal Rapicault CLA 2004-06-16 21:50:26 EDT
35290 is the generic bug for all doc bugs.

*** This bug has been marked as a duplicate of 35290 ***