I defined the following compound task:
<setupTask
xsi:type="setup:CompoundTask"
filter="(lombok.installed=true)"
name="Lombok Support">
<setupTask
xsi:type="setup:VariableTask"
name="lombok.version"
value="1.18.8"/>
<setupTask
xsi:type="setup:ResourceCopyTask"
sourceURL="http://my-server/lombok/${lombok.version}/lombok-${lombok.version}.jar"
targetURL="${installation.location|uri}/eclipse/lombok-${lombok.version}.jar"/>
<setupTask
xsi:type="setup:EclipseIniTask"
option="-javaagent:"
value="${installation.location}/eclipse/lombok-${lombok.version}.jar"
vm="true"/>
</setupTask>
When the lombok.installed variable is true in my user.setup before running the Eclipse installer all three task in the compound task will run at bootstrap. If I set the lombok.installed variable to false before running the Eclipse installer than none of the task in the compound task will run. So far the behaviour I get is what is expected and desired. If after installing with lombok.installed = false I then update the user.setup to set lombok.installed to true, then when I restart the previouls installed eclipse, only two of the three task in the compound task will run, namely the variable task and the eclipse ini task. This is a problem as the resource copy task does not run and the setup editor says that triggers=BOOTSTRAP STARTUP MANUAL. What am I doing wrong?
[Updated on: Tue, 23 July 2019 15:16] by Moderator