Igor,

I already have distributed the address of my site to my beta test users
install base, so this is not an absolute necessity but the problem is that
the site is produced by a Jenkins job so the URL is derived from the
Jenkins job name and putting this constraint on Jenkins job sounds weird
for me.
I think this is a bug in P2 as the site address is displayed correctly
inside Eclipse but the error appears when install/update against this site
is run

Regards
Jeff


On Wed, Sep 12, 2012 at 7:36 PM, Pascal Rapicault <
[email protected]> wrote:

> All characters that you would normally escape in an XML document must be
> escaped in the p2.inf as well.****
>
> ****
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Jeff MAURY
> *Sent:* September-12-12 12:53 PM
> *To:* [email protected]
> *Subject:* [p2-dev] Site with space character in the URL****
>
> ** **
>
> Hello,
>
> i am building an Eclipse based application with Tycho.
> As I am also building the update site part of the build, I am using the
> AddRepository touchpoint action in my product p2.inf file.
> The problem I have is that the URL for my site has space characters.
> So if, in the p2.inf file, I don't escape the ' ' characters, the TYcho
> build fails: in fact, Tycho launches the P2 director application and it
> fails because of illegar characters in the site URI.
> So, I escaped space characters (as %20) in p2.inf, the Tycho build now
> complete but when I launched my product, I can see the sites, but if I
> check for new software, P2 cannot retrieve info from the site because it
> seems the %20 have not been unescaped.
>
> Do you know if this is supported and if I am missing something ?
>
> Thanks
> Jeff
>
>
> --
> Jeff MAURY
>
> [image: Description: Image removed by sender.]
>
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
>  - Bjarne Stroustrup
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.twitter.com/jeffmaury****
>
>
> _______________________________________________
> p2-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/p2-dev
>
>


-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to