Skip to main content



      Home
Home » Eclipse Projects » Subversive » PDE Build
PDE Build [message #13900] Tue, 04 March 2008 08:20 Go to next message
Eclipse UserFriend
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 #14677 is a reply to message #13900] Tue, 18 March 2008 14:00 Go to previous messageGo to next message
Eclipse UserFriend
Subclipse does provide a SVN Fetch Factory for the Eclipse PDE Build
process. For details see:
* http://wiki.eclipse.org/PDEBuild#Building_from_a_subversion_ repository
* http://sourceforge.net/projects/svn-pde-build/

"Dennis O'Flynn" <dennis.oflynn@compuware.com> wrote in message
news:fqjiap$nb9$1@build.eclipse.org...
> 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 #14707 is a reply to message #14677] Wed, 19 March 2008 06:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Dear Dennis,


Thank you very much for provided information. Now Subversive does not
provide corresponding integration. So, we will investigate when we could
include this task into our plans.


Dennis O'Flynn wrote:

> Subclipse does provide a SVN Fetch Factory for the Eclipse PDE Build
> process. For details see:
> * http://wiki.eclipse.org/PDEBuild#Building_from_a_subversion_ repository
> * http://sourceforge.net/projects/svn-pde-build/

> "Dennis O'Flynn" <dennis.oflynn@compuware.com> wrote in message
> news:fqjiap$nb9$1@build.eclipse.org...
>> 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 #14736 is a reply to message #14707] Wed, 19 March 2008 14:00 Go to previous messageGo to next message
Eclipse UserFriend
Alexander,

In case it helps, here's a link to the ISV doc that describes the fetcher:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. pde.doc.user/guide/tasks/pde_fetch_phase.htm

I also noticed that you are hardcoding your your version qualifiers in
your MANIFEST.MF files (e.g. 0.7.0.v20080311). Implementing a fetcher is
the first step in allowing you to use PDE build and eventually work
towards having a manifest that uses a variable for the qualifier (e.g.
0.7.0.qualifier) which would get filled in when the plug-in is built
(which would save you from committing a new manifest file every time you
want to ship a new version of the plug-in).

Michael


Alexander Gurov wrote:
> Dear Dennis,
>
> Thank you very much for provided information. Now Subversive does not
> provide corresponding integration. So, we will investigate when we could
> include this task into our plans.
>
>
> Dennis O'Flynn wrote:
>
>> Subclipse does provide a SVN Fetch Factory for the Eclipse PDE Build
>> process. For details see:
>> * http://wiki.eclipse.org/PDEBuild#Building_from_a_subversion_ repository
>> * http://sourceforge.net/projects/svn-pde-build/
>
>> "Dennis O'Flynn" <dennis.oflynn@compuware.com> wrote in message
>> news:fqjiap$nb9$1@build.eclipse.org...
>>> 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 #14766 is a reply to message #14736] Thu, 20 March 2008 12:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Michael,


Thank you for provided information. I think it will help.
Re: PDE Build [message #16032 is a reply to message #14736] Tue, 15 April 2008 11:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.org

Hello Dennis, Michael,


The feature was implemented and committed to repostiory. You can obtain
source code from URLs:
http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build
http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build-feature
http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build-site


If you have any proposals, please leave them in corresponding Bugzilla
item:

227115: Create SVN fetch task factory for Eclipse PDE build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227115
Re: PDE Build [message #16816 is a reply to message #16032] Mon, 21 April 2008 16:41 Go to previous messageGo to next message
Eclipse UserFriend
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,


"Alexander Gurov" <alexander.gurov@polarion.org> wrote in message
news:4dc42997d8f9f6ecaf1f2f1e2ca52646$1@www.eclipse.org...
> Hello Dennis, Michael,
>
> The feature was implemented and committed to repostiory. You can obtain
> source code from URLs:
> http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build
> http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build-feature
> http://dev.eclipse.org/svnroot/technology/org.eclipse.subver sive/trunk/org.eclipse.team.svn.pde.build-site
>
>
> If you have any proposals, please leave them in corresponding Bugzilla
> item:
>
> 227115: Create SVN fetch task factory for Eclipse PDE build
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=227115
>
Re: PDE Build [message #16837 is a reply to message #16816] Tue, 22 April 2008 05:14 Go to previous messageGo to next message
Eclipse UserFriend
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 #16853 is a reply to message #16837] Tue, 22 April 2008 12:19 Go to previous messageGo to next message
Eclipse UserFriend
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:
- features\org.eclipse.team.svn.pde.build_0.7.0.v20080415.jar
- plugins\org.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 #16939 is a reply to message #16853] Wed, 23 April 2008 05:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.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 #16999 is a reply to message #16939] Wed, 23 April 2008 08:27 Go to previous messageGo to next message
Eclipse UserFriend
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 #17788 is a reply to message #16999] Fri, 25 April 2008 11:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexander.gurov.polarion.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.
Re: PDE Build [message #17802 is a reply to message #17788] Wed, 30 April 2008 09:23 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Can't update Subversive
Next Topic:Update site inconsistencies
Goto Forum:
  


Current Time: Mon Apr 28 06:18:08 EDT 2025

Powered by FUDForum. Page generated in 0.30073 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top