Home » Archived » Buckminster » Problems with SVN Metadata
Problems with SVN Metadata [message #513258] |
Tue, 09 February 2010 14:43 |
Victor Roldan Betancort Messages: 524 Registered: July 2009 |
Senior Member |
|
|
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.
|
|
| | | | |
Re: Problems with SVN Metadata [message #658351 is a reply to message #658331] |
Tue, 08 March 2011 06:52 |
|
On 2011-03-07 23:57, Josh Hester wrote:
> 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
|
|
|
Re: Problems with SVN Metadata [message #661451 is a reply to message #513258] |
Thu, 24 March 2011 17:13 |
Victor Roldan Betancort Messages: 524 Registered: July 2009 |
Senior Member |
|
|
Ping!
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.
|
|
|
Goto Forum:
Current Time: Thu Jan 23 07:43:23 GMT 2025
Powered by FUDForum. Page generated in 0.03600 seconds
|