Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » [hudson plugin] fails when performing #create.product
[hudson plugin] fails when performing #create.product [message #495889] Fri, 06 November 2009 14:22 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
I am getting this error message when the hudson job is about to perform the #create.product action:
No repository found at file:/C:/Documents%2520and%2520Settings/Default%2520User/.hu dson/jobs/.../site.p2/

It seems that the path/url provided to #create.product has a wrong encoding. #site.p2 succeeds.

Could you please confirm that #create.product works with the job's workspace path containing spaces?
Re: [hudson plugin] fails when performing #create.product [message #495923 is a reply to message #495889] Fri, 06 November 2009 16:00 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Erdal Karaca schrieb:
> I am getting this error message when the hudson job is about to perform
> the #create.product action:
> No repository found at
> file:/C:/Documents%2520and%2520Settings/Default%2520User/.hu
> dson/jobs/.../site.p2/
>
> It seems that the path/url provided to #create.product has a wrong
> encoding. #site.p2 succeeds.
>
> Could you please confirm that #create.product works with the job's
> workspace path containing spaces?

Hi Erdal,


please have a look at this:
https://hudson.dev.java.net/issues/show_bug.cgi?id=4537
and that:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=291405

The Problem is that buckminster passes perfectly fine encoded URIs to
the ant script, and the ant script to the p2 director application. The
director application however expects URIs that are not properly encoded
and encodes them no matter if the URI was valid, or not.
The result is the strange double encoded URI you're seeing in the error
message that is of course invalid.
Until the p2 bug is resolved you have two options here:
1. somehow decode the URI in your ant script before passing it to the
director
2. use a path without special characters

In general I would try to avoid paths with spaces on a build machine
because it's an extra source of error.


Best regards,
Johannes
Re: [hudson plugin] fails when performing #create.product [message #499613 is a reply to message #495923] Mon, 23 November 2009 14:38 Go to previous message
TW  is currently offline TW Friend
Messages: 62
Registered: November 2009
Member
I had a similar problem.

If you install hudson in your home directory, which is C:\Documents and Settings\... on Windows there are Spaces. If you install hudson in C:\hudson everything should work.

You can install hudson in a different location by installing it as a windows service (need admin rights).
Previous Topic:[headless junit] cannot find xml test results file
Next Topic:Choosing the svnkit over javahl
Goto Forum:
  


Current Time: Sat Apr 20 11:28:26 GMT 2024

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

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

Back to the top