Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » project sources are not imported
project sources are not imported [message #1796396] Fri, 12 October 2018 10:49 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 204
Registered: July 2009
Senior Member
Hi all,
I have created an Oomph setup file which clones a Git repository (id: git.clone.myproject). The repo is successfully cloned, but it isn't imported into my workspace. I've used this targlet definition:

    <targlet
        name="Workspace dependencies"
        includeBinaryEquivalents="false">
      <sourceLocator
          rootFolder="${git.clone.myproject.location}/myproject"
          locateNestedProjects="true"/>
    </targlet>


What's wrong with this? Is the root folder location correctly written?

Thanks in advance,
Ralf.
Re: project sources are not imported [message #1796404 is a reply to message #1796396] Fri, 12 October 2018 12:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30440
Registered: July 2009
Senior Member
There don't appear to be any requirements for the IUs in that clone, e.g. , a wildcard requirement is often the easiest:
<?xml version="1.0" encoding="UTF-8"?>
<p2:Requirement
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:p2="http://www.eclipse.org/oomph/p2/1.0"
    name="*"/>
Re: project sources are not imported [message #1796407 is a reply to message #1796404] Fri, 12 October 2018 13:13 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30440
Registered: July 2009
Senior Member
Keep in mind that the resource locator just induces a p2 repository at that file system location, so just like a p2 repository, you need to specify what from that p2 repository you actually require in the target platform.
Previous Topic:product catalog occurrenceIndicationColor
Next Topic:Enabling shared bundle pool in standalone installations
Goto Forum:
  


Current Time: Tue Sep 17 01:24:35 GMT 2019

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

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

Back to the top