Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Git clone task: What's InducedChoices?
Git clone task: What's InducedChoices? [message #1768497] Wed, 19 July 2017 13:36 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 135
Registered: July 2009
Senior Member
I used the wizard to generate a github project setup. The resulting setup contains a git clone task that has an annotation named InducedChoices and keys-value pairs

inherit -> github.remoteURIs
label -> ${scope.project.label} Github repository
target -> remoteURI

What is the purpose of this annotation and where do the values go? Is it necessary to add the annotation to a manually created git clone task?
Re: Git clone task: What's InducedChoices? [message #1768509 is a reply to message #1768497] Wed, 19 July 2017 15:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29653
Registered: July 2009
Senior Member
For both Eclipse Git repositories and Github Git repositories there are still different URIs you can use to clone the repository. The Github project catalog includes this:
<?xml version="1.0" encoding="UTF-8"?>
    label="Github repository">
  <choice value="{remoteURI}.git"
      label="Git (read-write)"/>
  <choice value="https://${|username}{remoteURI}.git"
      label="HTTPS (read-write)">
  <choice value="{remoteURI}.git"
      label="HTTPS (read-only, anonymous)"/>
  <description>Choose from the available Github URIs</description>
This allows the three different alternative URIs that can be used to clone the repository to be induced from the the "Remote URI" path in the Git clone task and give the user the choice of which to use. You can of course just hard code this, or hard code the choices...
Previous Topic:Help me, plz~ eclipse installtion error
Next Topic:synchronizing workspaces with oomph via network drive
Goto Forum:

Current Time: Sat Nov 17 16:50:15 GMT 2018

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

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

Back to the top