Skip to main content



      Home
Home » Eclipse Projects » Oomph » clone private git
clone private git [message #1728451] Mon, 04 April 2016 08:41 Go to next message
Eclipse UserFriend
Hello everybody,

I (non-successfully) tried to clone a GitHub repo. This repo is private. When Oomph executes the clone task below it says that everything worked (no error message nor any other failure indication) but the repo isn't on my hard drive. Did I do something wrong in the task setup?

<setupTask
      xsi:type="git:GitCloneTask"
      id="git.clone"
      remoteURI="myUserName/myRepo.git">
    <annotation
        source="http://www.eclipse.org/oomph/setup/InducedChoices">
      <detail
          key="inherit">
        <value>github.remoteURIs</value>
      </detail>
      <detail
          key="label">
        <value>${scope.project.label} Github repository</value>
      </detail>
      <detail
          key="target">
        <value>remoteURI</value>
      </detail>
    </annotation>
    <description>${scope.project.label}</description>
  </setupTask>


This is what the eclipse wizard produces.

Thanks a lot for your responses
Re: clone private git [message #1728680 is a reply to message #1728451] Wed, 06 April 2016 08:03 Go to previous message
Eclipse UserFriend
Steffen,

Comments below.

On 04.04.2016 14:41, Steffen Holzer wrote:
> Hello everybody,
> I (non-successfully) tried to clone a GitHub repo. This repo is private.
We've done that successfully, so there's nothing so special involved...
> When Oomph executes the clone task below it says that everything
> worked (no error message nor any other failure indication) but the
> repo isn't on my hard drive.
How does it say that? You see the messages in the log that it's
actually cloning?
> Did I do something wrong in the task setup?
> <setupTask
> xsi:type="git:GitCloneTask"
> id="git.clone"
> remoteURI="myUserName/myRepo.git">
> <annotation
> source="http://www.eclipse.org/oomph/setup/InducedChoices">
> <detail
> key="inherit">
> <value>github.remoteURIs</value>
> </detail>
> <detail
> key="label">
> <value>${scope.project.label} Github repository</value>
> </detail>
> <detail
> key="target">
> <value>remoteURI</value>
> </detail>
> </annotation>
> <description>${scope.project.label}</description>
> </setupTask>
>
> This is what the eclipse wizard produces.
> Thanks a lot for your responses

If you do Help -> Perform Setup Tasks... and enable Show all triggered
tasks is the clone task there? Is it enable? If you select it and look
at the properties, the Location property should show where it is on the
file system and if the task is disabled there should be a valid clone
located at this location...
Previous Topic:TargetDefinitionGenerator generates incomplete .target file
Next Topic:Targlet with Feature Patch
Goto Forum:
  


Current Time: Sun Jul 27 18:44:45 EDT 2025

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

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

Back to the top