Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Ordering of tasks is not working
Ordering of tasks is not working [message #1752245] Fri, 20 January 2017 09:25 Go to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14738
Registered: July 2009
Senior Member
I have the following in my setup

<setupTask
      xsi:type="git:GitCloneTask"
      id="git.clone.xtext.umbrella"
      filter=""
      remoteURI="eclipse/xtext-umbrella"
      pushURI=""
      checkoutBranch="${xtext.git.branch}">
    <annotation
        source="http://www.eclipse.org/oomph/setup/InducedChoices">
      <detail
          key="inherit">
        <value>github.remoteURIs</value>
      </detail>
      <detail
          key="label">
        <value>Github Repository</value>
      </detail>
      <detail
          key="target">
        <value>remoteURI</value>
      </detail>
    </annotation>
    <description>${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:StringSubstitutionTask"
      name="git.xtext.umbrella.location"
      value="${git.clone.xtext.umbrella.location}">
    <description></description>
  </setupTask>
  <setupTask
      xsi:type="setup:ResourceCreationTask"
      id="generateLocationProperties"
      predecessor="git.clone.xtext.umbrella"
      content="roots=next"
      targetURL="${git.clone.xtext.umbrella.location}/releng/gradle-composite/locations.properties"
      encoding="UTF-8">
    <description>Generates a Properties File of all Git Clone Locations</description>
  </setupTask>


the predecessor thing is not working,
the resource creation is executed before the clone,
which makes the clone fail


and the thing will be executed twice, once with /Users/xxxx / ... path and once with platform:/resource/users/xxx path


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com

[Updated on: Fri, 20 January 2017 09:53]

Report message to a moderator

Re: Ordering of tasks is not working [message #1752262 is a reply to message #1752245] Fri, 20 January 2017 12:16 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
From chatting with you, I think the issue is just that you want the task to happen after cloning is done, but cloning isn't triggered during bootstrap so you'd need to (via the advanced properties) change the triggers for the task to exclude bootstrap. You shouldn't otherwise need to specify ordering constraints in this case.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:How to conditionally enforce workspace name input
Next Topic:eclipse installer on windows
Goto Forum:
  


Current Time: Thu Dec 26 13:41:04 GMT 2024

Powered by FUDForum. Page generated in 0.04151 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top