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: [email protected] [mailto:[email protected]] 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=profile, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> 
[R]com.test.feature.feature.group 1.0.0.201102150916, 
action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddRepositoryAction).
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

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to