Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » The IDE is being installed but GitCloneTask is not being triggered
The IDE is being installed but GitCloneTask is not being triggered [message #1802628] Wed, 13 February 2019 00:22 Go to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hi again,

I've created my first Project Catalog and Project setups and pushed them to github.

Then I've edited the installer init file and added this:

-Doomph.redirection.c8tech.projects=index:/redirectable.projects.setup->https://raw.githubusercontent.com/cvgaviao/c8tech-oomph-profiles/master/c8tech.projects.catalog.setup

After that I started the installer and selected to install a new Java IDE using the latest 2019-03 version. I was able to select my project and also its variables with no errors.

The installation have proceeded well and the IDE started, but the git clone task is not being triggered. :(

Could someone point me what am I missing ?

The sources are here:
https://github.com/cvgaviao/c8tech-oomph-profiles/blob/master/c8tech.projects.catalog.setup
https://github.com/cvgaviao/c8tech-tools-maven-library/blob/master/src/oomph/c8tech.tools.maven.oomph.project.setup
Re: The IDE is being installed but GitCloneTask is not being triggered [message #1802654 is a reply to message #1802628] Wed, 13 February 2019 10:50 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Are you perhaps missing the checkoutBranch attribute?

checkoutBranch="master"


Re: The IDE is being installed but GitCloneTask is not being triggered [message #1802656 is a reply to message #1802654] Wed, 13 February 2019 11:28 Go to previous messageGo to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Eike Stepper wrote on Wed, 13 February 2019 13:50
Are you perhaps missing the checkoutBranch attribute?

checkoutBranch="master"


Well, I don't think so...
The attribute is set with the value: ${scope.project.stream.name}. I think that it was set by the wizard I use to create the setup file.

Re: The IDE is being installed but GitCloneTask is not being triggered [message #1802664 is a reply to message #1802656] Wed, 13 February 2019 15:08 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Well, in https://github.com/cvgaviao/c8tech-tools-maven-library/blob/master/src/oomph/c8tech.tools.maven.oomph.project.setup#L64 I can't see that. Please compare with https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/Oomph.setup#n203 .

Re: The IDE is being installed but GitCloneTask is not being triggered [message #1802672 is a reply to message #1802664] Wed, 13 February 2019 18:16 Go to previous messageGo to next message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Well, this is strange...
Seems that the editor is showing me some default value coming from somewhere...

take a look in the attached image:
index.php/fa/34881/0/


If I enter in the editor other value than ${scope.project.stream.name} the property is saved in the file.

[Updated on: Wed, 13 February 2019 18:21]

Report message to a moderator

Re: The IDE is being installed but GitCloneTask is not being triggered [message #1802684 is a reply to message #1802672] Thu, 14 February 2019 01:15 Go to previous message
Cristiano Gavião is currently offline Cristiano GaviãoFriend
Messages: 279
Registered: July 2009
Senior Member
Hello,
I have edited the project setup file using a text editor and added the missing Checkout Branch = ${scope.project.stream.name}.

But still no git clone are being triggered... :(
Previous Topic:Can I induce a default choice or contribute attribute rules?
Next Topic:Can a configuration add setup models from custom locations?
Goto Forum:
  


Current Time: Fri Apr 26 13:19:00 GMT 2024

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

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

Back to the top