|
|
|
|
Re: ${installation.location} points to base path [message #1727301 is a reply to message #1727167] |
Mon, 21 March 2016 17:31   |
Eclipse User |
|
|
|
Hey Eike,
just to make it simpler, I just installed from one project file.
The first screenshot shows the correct path (also for resource creation tasks on the bottom).

From here, it's getting strange since WORKSPACE_NAME is set to ${installation.location|lastSegment}

As the path has been changed, the files that were already created during bootstrap are created again (because they do not exist, right?).

At the end, I figured out that the wrong path is caused from this task (if I remove it works as expected):
<setupTask
xsi:type="setup:EclipseIniTask"
excludedTriggers="STARTUP MANUAL"
option="-Dosgi.configuration.area="
value="${installation.location/configuration}"
vm="true"/>
The installer performs correct and as eclipse starts .. is somehow uses the parent path C:\_dev as installation location ... Am I doing it wrong ?
Thank you!
Kon
Attachment: 01.png
(Size: 86.04KB, Downloaded 1084 times)
Attachment: 02.png
(Size: 148.95KB, Downloaded 1021 times)
Attachment: 03.png
(Size: 146.14KB, Downloaded 1010 times)
[Updated on: Mon, 21 March 2016 17:57] by Moderator
|
|
|
Re: ${installation.location} points to base path [message #1727319 is a reply to message #1727301] |
Tue, 22 March 2016 03:11  |
Eclipse User |
|
|
|
Am 21.03.2016 um 22:31 schrieb kon f:
> At the end I figured out that wrong path was caused from this task:
>
> <setupTask
> xsi:type="setup:EclipseIniTask"
> excludedTriggers="STARTUP MANUAL"
> option="-Dosgi.configuration.area"
> value="=../configuration"
> vm="true">
> <description>Set custom path for the eclipse configuration area</description>
> </setupTask>
Where does this task come from??
>
> I had to change it to:
>
> <setupTask
> xsi:type="setup:EclipseIniTask"
> excludedTriggers="STARTUP MANUAL"
> option="-Dosgi.configuration.area="
> value="../configuration"
> vm="true">
> <description>Set custom path for the eclipse configuration area</description>
> </setupTask>
>
> Is this expected that the = has to be in the option attribute?
Yes, the "=" must be part of the value! The option string is used for task merging.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.06551 seconds