Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/513258/#msg_513258
As you know from another post, I've been following Ralf Ebert tutorial.
I hope it's not a problem making my question here in the Buckminster
newsgroup.
I've successfully created a Hudson Job using Buckminster to build an
Eclipse RCP for windows platforms (x86, x86_64 and WPF). However, I'm
having problems for other platforms.
Apparently, an p2 Action (ChmodAction) is having problems with SVN
metadata folders (.svn). If I invoke the create product action from
within Eclipse, I get the following error:
[ant] An error occurred while installing the items
[ant] session context was:(profile=RosettaProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Install,
operand=null -->
[R]com.opencanarias.mset.rosetta.product.development.executa ble.gtk.linux.x86
1.0.0,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.ac tions.ChmodAction).
[ant] The action chmod failed - file
c:\bucky\rosetta\com.opencanarias.mset.rosetta.site.feature_ 1.0.0-eclipse.feature\oc-rosetta.gtk.linux.x86\launcher.svn- base
does not exist
[ant] Application failed, log file location:
C:\Eclipse-3.5.1\eclipse\configuration\1265306196578.log
This happens in the stage in which the product is being installed from
the p2 site created by the buckminster action site.p2.
We persist the Eclipse Delta Pack in our SVN, instead of getting it from
a P2 repository. We usually do this so we can share the target platform
among all developers, and to make builds offline. In addition, for some
reason, the org.eclipse.equinox.executable feature from Eclipse's update
sites does not include platforms like WPF (does anyone know why?).
The issue comes when build for linux (in the case of macos, I get a
different error). The ChmodAction tries to modify permissions over files
that are not supposed to be in the output product. In fact, they are not
there, and that's the reason of the error. These files are part of the
..svn metadata folder.
So my guess is that ChmodAction is given a wrong list of files modify
permissions. It receives a file that exists in the source, but is
omitted in the target, and makes the build fail.
Hope I have given enough information of the issue. I'm looking forward
your comments.
Cheers,
Víctor.]]>Victor Roldan Betancort2010-02-09T14:43:47-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/513588/#msg_513588
issue by temporary removing SVN metadata from the affected files in the
DeltaPack. These files are located in the directories where
platform-specific binaries are found (i.e.
org.eclipse.equinox.executable\bin\gtk\linux\x86\).
I added a windows shell call to move the .svn folder somewhere else, and
then, after the buckminster action takes place, I move it back to the
original place.
It's a ugly hack, but it's what works for me to be able to build
targeting linux platforms.
As always, comments are welcome :)
Cheers,
Víctor.]]>Victor Roldan Betancort2010-02-10T16:05:35-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/653873/#msg_653873
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336963
Your workaround (temporarily removing the .svn directory) appears to work ok, so I will have to use that.
Matthew Webber
]]>Matthew Webber2011-02-11T16:32:00-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/658325/#msg_658325
Josh Hester2011-03-07T22:13:34-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/658331/#msg_658331
Josh Hester2011-03-07T22:57:33-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/658351/#msg_658351
> Nevermind, I just added the step into hudson's build steps. Thanks guys, hopefully they'll resolve this soon!
Since I'm not able to reproduce this, I would very much appreciate if anyone could attach a sample that does to the
bugzilla so that this could be properly fixed. Moving .svn folders around doesn't seem optimal.
- thomas]]>Thomas Hallgren2011-03-08T06:52:18-00:00Re: Problems with SVN Metadata
https://www.eclipse.org/forums/index.php/mv/msg/162306/661451/#msg_661451
It's been a while, but this problem keeps happening on the latest
buckminster 3.6. Any info on this?
Best Regards,
Víctor.
El 09/02/10 14:43, Víctor Roldán Betancort escribió:
> Hi everyone,
>
> As you know from another post, I've been following Ralf Ebert tutorial.
> I hope it's not a problem making my question here in the Buckminster
> newsgroup.
>
> I've successfully created a Hudson Job using Buckminster to build an
> Eclipse RCP for windows platforms (x86, x86_64 and WPF). However, I'm
> having problems for other platforms.
>
> Apparently, an p2 Action (ChmodAction) is having problems with SVN
> metadata folders (.svn). If I invoke the create product action from
> within Eclipse, I get the following error:
>
> [ant] An error occurred while installing the items
> [ant] session context was:(profile=RosettaProfile,
> phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Install,
> operand=null -->
> [R]com.opencanarias.mset.rosetta.product.development.executa ble.gtk.linux.x86
> 1.0.0,
> action=org.eclipse.equinox.internal.p2.touchpoint.natives.ac tions.ChmodAction).
>
> [ant] The action chmod failed - file
> c:\bucky\rosetta\com.opencanarias.mset.rosetta.site.feature_ 1.0.0-eclipse.feature\oc-rosetta.gtk.linux.x86\launcher.svn- base
> does not exist
> [ant] Application failed, log file location:
> C:\Eclipse-3.5.1\eclipse\configuration\1265306196578.log
>
> This happens in the stage in which the product is being installed from
> the p2 site created by the buckminster action site.p2.
>
> We persist the Eclipse Delta Pack in our SVN, instead of getting it from
> a P2 repository. We usually do this so we can share the target platform
> among all developers, and to make builds offline. In addition, for some
> reason, the org.eclipse.equinox.executable feature from Eclipse's update
> sites does not include platforms like WPF (does anyone know why?).
>
> The issue comes when build for linux (in the case of macos, I get a
> different error). The ChmodAction tries to modify permissions over files
> that are not supposed to be in the output product. In fact, they are not
> there, and that's the reason of the error. These files are part of the
> .svn metadata folder.
>
> So my guess is that ChmodAction is given a wrong list of files modify
> permissions. It receives a file that exists in the source, but is
> omitted in the target, and makes the build fail.
>
> Hope I have given enough information of the issue. I'm looking forward
> your comments.
>
> Cheers,
> Víctor.]]>Victor Roldan Betancort2011-03-24T17:13:13-00:00