Skip to main content



      Home
Home » Eclipse Projects » Oomph » project sources are not imported
project sources are not imported [message #1796396] Fri, 12 October 2018 06:49 Go to next message
Eclipse UserFriend
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 08:54 Go to previous messageGo to next message
Eclipse UserFriend
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 09:13 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 14:33:30 EDT 2025

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

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

Back to the top