I figured it out myself. Put it here for someone who may run into the same
problem. The space should be %20, not ${#32}.
Best Regards
Samuel Wu
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Samuel Wu/Toronto/IBM@IBMCA
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|P2 developer discussions <[email protected]>
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|02/15/2011 09:35 AM
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|[p2-dev] Failed to run touchpoint action addRepository
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|[email protected]
|
>--------------------------------------------------------------------------------------------------------------------------------------------------|
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
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
_______________________________________________ p2-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/p2-dev
