Home » Eclipse Projects » Subversive » PDE Build
PDE Build [message #13900] |
Tue, 04 March 2008 08:20  |
Eclipse User |
|
|
|
Does Subversive provide the "fetch" functionality used by the Eclipse PDE
Build releng.basebuilder to retrieve source files from a SVN repository?
|
|
| | | | | | |
Re: PDE Build [message #16837 is a reply to message #16816] |
Tue, 22 April 2008 05:14   |
Eclipse User |
|
|
|
Originally posted by: alexander.gurov.polarion.org
Dear Shawn,
Unfortunately at this moment we have no documentation for Ant task and PDE
fetch factory. Creating of corresponding documentation is our next step in
PDE build support. So, currently I can provide little description here.
1) Ant task requires installed SVN binaries as prerequisite. After
installing SVN binaries please configure PATH variable in order to point
to installation location.
2) SVN Fetch factory for PDE build supports *.map files in the following
format (description in BNF-like notation):
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'
;
The real map file sample:
feature@org.eclipse.team.svn=SVN,url= http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive,tag=trunk,path=org.eclipse.team.svn-feature
plugin@org.eclipse.team.svn=SVN,url= http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive,tag=trunk,path=org.eclipse.team.svn
plugin@org.eclipse.team.svn.core=SVN,url= http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive,tag=trunk,path=org.eclipse.team.svn.core
plugin@org.eclipse.team.svn.ui=SVN,url= http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive,tag=trunk,path=org.eclipse.team.svn.ui
plugin@org.eclipse.team.svn.help=SVN,url= http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive,tag=trunk,path=org.eclipse.team.svn.help
3) If you wish to use Ant task itself please note that currently we
implemented support for only two commands required by PDE build:
cat - allows to export file from SVN repository
export - allows to export folder from SVN repository
Shawn wrote:
> Alex,
> We are interested and I am researching how to use this feature into our PDE
> build. Do you have any documentation regarding the usage of the svn ant
> task?
> Thank you,
|
|
| | |
Re: PDE Build [message #16999 is a reply to message #16939] |
Wed, 23 April 2008 08:27   |
Eclipse User |
|
|
|
I did what you suggested by explode the jar in the features directory. That
didn't solve the following problem:
/opt/releng/pde-builders/eclipse3.4/org.eclipse.releng.baseb uilder/plugins/org.eclipse.pde.build/scripts/genericTargets. xml:43:
Feature MyHelpFeature may have not been fetched correctly, check your map
files.
The line 43 of that xml file is:
<eclipse.fetch
elements="${type}@${id}"
buildDirectory="${buildDirectory}"
directory="${buildDirectory}/directory.txt"
fetchTag="${fetchTag}"
configInfo="${configs}"
baseLocation="${baseLocation}"
pluginPath="${pluginPath}"
/>
The followings are the content of my Map file. I followed the syntax shown
by the example you posted earlier.
feature@MyHelpFeature=SVN,url= http://10.4.39.119/svn/mysvnrepo,tag=trunk,path=MyHelpFeatur e
plugin@MyHelpPlugin=SVN,url= http://10.4.39.119/svn/mysvnrepo,tag=trunk,path=MyHelpPlugin
If you see anything wrong, please let me know. Otherwise, I will wait for
your update site before resuming my research.
Thank you very much for your help, Alex.
"Alexander Gurov" <alexander.gurov@polarion.org> wrote in message
news:e657077fa2ce0a030712c2930c20a633$1@www.eclipse.org...
> Hello,
>
> Adding of org.eclipse.team.svn.pde.build_0.7.0.v20080415.jar file into
> plugins/ folder is correct. But features/ folder should contain unpacked
> feature content (not a jar'ed one). I.e. please make
> org.eclipse.team.svn.pde.build_0.7.0.v20080415 folder inside the features/
> folder, then copy feature *.jar content into this folder.
> P.S.
> At the end of this week we plan to publish update site for the SVN PDE
> build extensions. So, I will point to the update site URL in this thread.
>
>
> Shawn wrote:
>
>> Alex,
>
>> Your posts are informative. Thank you.
>
>> I am getting errors when using the this new fetch factory. I'd like to
>> confirm with you that the files added to my base builder are correct.
>
>> I am adding the following jar files into my base builder:
>> - featuresorg.eclipse.team.svn.pde.build_0.7.0.v20080415.jar
>> - pluginsorg.eclipse.team.svn.pde.build_0.7.0.v20080415.jar
>
>> Are those files all I need? Note I have, following your post, made sure
>> svn binaries are on the path of my build execution.
>
>
|
|
| |
Re: PDE Build [message #17802 is a reply to message #17788] |
Wed, 30 April 2008 09:23  |
Eclipse User |
|
|
|
Alex,
Thank you for the sample. I am still having problems. But I haven't
exhausted approaches yet. I will let you know.
"Alexander Gurov" <alexander.gurov@polarion.org> wrote in message
news:984758757f14d16fea95ef2194191333$1@www.eclipse.org...
> Hello Shawn,
>
> I sent to you sample of preconfigured build project which I use to build
> the Subversive project. I hope it will help to find the reason of the
> problem.
>
> P.S.
> Letter subject is:
> SVN PDE Build configuration sample.
>
|
|
|
Goto Forum:
Current Time: Mon Apr 28 06:20:31 EDT 2025
Powered by FUDForum. Page generated in 0.05569 seconds
|