Difference between revisions of "Subversive PDE Fetch"

From Eclipsepedia

Jump to: navigation, search
(Troubleshooting)
Line 44: Line 44:
 
| 'username'
 
| 'username'
 
| 'password'
 
| 'password'
 +
| 'force' // optional flag, force operation to run
 
;
 
;
 +
</source>
 +
 +
It's also supported SourceForge's svn pde build fetcher's map file format:
 +
 +
<source lang="java">
 +
elementType '@' elementID = SVN, tag[:revision], url, preTagPath , postTagPath
 
</source>
 
</source>
  
Line 55: Line 62:
 
plugin@xxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.ui
 
plugin@xxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.ui
 
plugin@xxxxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.help
 
plugin@xxxxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.help
 +
</source>
 +
 +
Example for SourceForge pde build fetcher:
 +
<source lang="xml">
 +
feature@org.eclipse.pde.build.svn=SVN,tags/v20070222,https://svn-pde-build.svn.sourceforge.net/svnroot/svn-pde-build,source,features/org.eclipse.pde.build.svn-feature
 +
plugin@org.eclipse.pde.build.svn=SVN,tags/v20070222,https://svn-pde-build.svn.sourceforge.net/svnroot/svn-pde-build,source,plugins/org.eclipse.pde.build.svn
 +
 
</source>
 
</source>
  

Revision as of 09:10, 25 May 2009


Contents

Requirements

Usage

SVN fetch ant task

TODO

In .map files

Entry description

mapEntry
: elementType '@' elementID (',' elementVersion)? = svnContent
;
elementType
: 'bundle' | 'feature' | 'plugin' | 'fragment'
;
elementID
: ... //plug-in, feature, fragment or bundle ID
;
elementVersion
: ... //plug-in, feature, fragment or bundle version
;
svnContent
: 'SVN' (',' arg)+
;
arg
: key '=' value
;
key
: 'url' // project root URL
| 'tag' // optional tag name (trunk, tags/some_name etc.)
| 'path' // optional element, path relative to project root URL
| 'revision' // optional element, revision
| 'peg' // optional element, peg revision
| 'username'
| 'password'
| 'force' // optional flag, force operation to run
;

It's also supported SourceForge's svn pde build fetcher's map file format:

elementType '@' elementID = SVN, tag[:revision], url, preTagPath , postTagPath

Examples

feature@xxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn-feature
plugin@xxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn
plugin@xxxxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.core
plugin@xxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.ui
plugin@xxxxxxxxxxxxxxxxxxxxxxxxx=SVN,url=http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive,tag=trunk,path=org.eclipse.team.svn.help

Example for SourceForge pde build fetcher:

feature@org.eclipse.pde.build.svn=SVN,tags/v20070222,https://svn-pde-build.svn.sourceforge.net/svnroot/svn-pde-build,source,features/org.eclipse.pde.build.svn-feature
plugin@org.eclipse.pde.build.svn=SVN,tags/v20070222,https://svn-pde-build.svn.sourceforge.net/svnroot/svn-pde-build,source,plugins/org.eclipse.pde.build.svn

Troubleshooting

  • If you have configured a SVN fetch and get a task called FetchFromCVS instead of FetchFromSVN, that means that the pde svn fetch plugin is not installed in your platform