[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Failed to run touchpoint action addRepository

Hi Samuel,
 
You've got exception because you have a space in the location URI specified in the p2.inf. You can configure other location (without spaces) as a workaround.
I hope this helps.
 
Kind regards,
Katya


From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Samuel Wu
Sent: Tuesday, February 15, 2011 4:35 PM
To: P2 developer discussions
Subject: [p2-dev] Failed to run touchpoint action addRepository

Hello there,
I have a local repository which contains space in the path, D:\temp\TPF Toolkit_360\eclipse\ws\update. When I added it through the addRepository touchpoint action, I got the following error during installation.

An error occurred while configuring the installed items
session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]com.test.feature.feature.group 1.0.0.201102150916, action="">The "location" parameter was not set in the "addRepository" action.
Illegal character in path at index 17: file:/d:/temp/TPF Toolkit_360/eclipse/ws/update

My p2.inf contains the following information.
instructions.configure=org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:0,location:file${#58}/d${#58}/temp/TPF${#32}Toolkit_360/eclipse/ws/update,name:Updates);\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(type:1,location:file${#58}/d${#58}/temp/TPF${#32}Toolkit_360/eclipse/ws/update,name:Updates);

Can you please advise what's wrong? Thanks a lot.

Best Regards

Samuel Wu