Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Issue pulling preferences in project pointed to from project catalog(Preferences do not apply when selected from via a project catalog hosted on Github.)
Issue pulling preferences in project pointed to from project catalog [message #1783084] Wed, 07 March 2018 13:52 Go to next message
Christian Basile is currently offline Christian BasileFriend
Messages: 2
Registered: March 2018
Junior Member
Hi,

I have a project catalog hosted on github that points to a few projects, one project that only sets eclipse preferences. This project works fine when solely selected from my local installation (ie. clicking the green '+' in the Oomph Installer and locating the 'Preferences.setup' file). However, when I add the Project Catalog to GitHub and point to this Preference.setup project, these preferences do not set my eclipse preferences. (Note. The other projects in the catalog, which install plugins or set Eclipse.ini args, work properly).


eclipse-inst.ini
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
--launcher.appendVmargs
--launcher.XXMaxPermSize
256M
-name
Eclipse Installer
-data
@noDefault
-vmargs
-Doomph.redirection.projectCatalog=index:/redirectable.projects.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/AtomProjects.setup
-Doomph.redirection.setupDir=index:/redirectable.products.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups
-Xms256M
-Xmx1024M



Projects.setup
<?xml version="1.0" encoding="UTF-8"?>
<setup:ProjectCatalog
    xmi:version="2.0"
    xmlns:xmi="{SITENS}{WORLDWIDE}omg.org/XMI"
    xmlns:xsi="{SITENS}{WORLDWIDE}w3.org/2001/XMLSchema-instance"
    xmlns:setup="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/1.0"
    name="atom.projects"
    label="Atom Projects">
  <annotation
      source="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/BrandingInfo">
    <detail
        key="imageURI">
      <value>{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/resources/images/avengers_42x42.png</value>
    </detail>
    <detail
        key="siteURI">
      <value>{SITE}projects.eclipse.org/</value>
    </detail>
  </annotation>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="Global Variables">
    <setupTask
        xsi:type="setup:VariableTask"
        name="eclipse.target.platform"
        defaultValue="None"
        storageURI="scope://Workspace"
        label="Target Platform">
      <annotation
          source="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/GlobalVariable"/>
      <choice
          value="Photon"
          label="Eclipse Photon - 4.8"/>
      <choice
          value="Oxygen"
          label="Eclipse Oxygen - 4.7"/>
      <choice
          value="Neon"
          label="Eclipse Neon - 4.6"/>
      <choice
          value="Mars"
          label="Eclipse Mars - 4.5"/>
      <choice
          value="Luna"
          label="Eclipse Luna - 4.4"/>
      <choice
          value="Kepler"
          label="Eclipse Kepler - 4.3"/>
      <choice
          value="Juno"
          label="Eclipse Juno - 4.2"/>
      <choice
          value="Indigo"
          label="Eclipse Indigo - 3.7"/>
      <choice
          value="Helios"
          label="Eclipse Helios - 3.6"/>
      <choice
          value="Galileo"
          label="Eclipse Galileo - 3.5"/>
      <choice
          value="None"
          label="None"/>
      <description>Choose the compatibility level of the target platform</description>
    </setupTask>
    <setupTask
        xsi:type="setup:VariableTask"
        name="eclipse.api.baseline.target.platform"
        value="None"
        storageURI="scope://Workspace"
        label="API Baseline Target Platform">
      <annotation
          source="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/GlobalVariable"/>
      <choice
          value="Photon"
          label="Eclipse Photon - 4.8"/>
      <choice
          value="Oxygen"
          label="Eclipse Oxygen - 4.7"/>
      <choice
          value="Neon"
          label="Eclipse Neon - 4.6"/>
      <choice
          value="Mars"
          label="Eclipse Mars - 4.5"/>
      <choice
          value="Luna"
          label="Eclipse Luna - 4.4"/>
      <choice
          value="Kepler"
          label="Eclipse Kepler - 4.3"/>
      <choice
          value="Juno"
          label="Eclipse Juno - 4.2"/>
      <choice
          value="Indigo"
          label="Eclipse Indigo - 3.7"/>
      <choice
          value="Helios"
          label="Eclipse Helios - 3.6"/>
      <choice
          value="Galileo"
          label="Eclipse Galileo - 3.5"/>
      <choice
          value="None"
          label="None"/>
      <description>Choose the compatibility level of the target platform for the modular API baseline</description>
    </setupTask>
  </setupTask>
  <setupTask
      xsi:type="setup:WorkspaceTask"
      id="workspace"/>
  <setupTask
      xsi:type="setup:ResourceCreationTask"
      content="MAX_RECENT_WORKSPACES=5&#xD;&#xA;RECENT_WORKSPACES=${workspace.location|property}&#xD;&#xA;RECENT_WORKSPACES_PROTOCOL=3&#xD;&#xA;SHOW_WORKSPACE_SELECTION_DIALOG=true&#xD;&#xA;eclipse.preferences.version=1"
      targetURL="configuration:/.settings/org.eclipse.ui.ide.prefs"/>
  <setupTask
      xsi:type="setup:TextModifyTask"
      url="configuration:/config.ini">
    <modification
        pattern="osgi\.instance\.area\.default=(@user\.home/workspace)">
      <substitution>${workspace.location|path}</substitution>
    </modification>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Doomph.redirection.projectCatalog"
      value="=index:/org.eclipse.projects.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/AtomProjects.setup"
      vm="true">
    <description></description>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Doomph.redirection.setupDir"
      value="=index:/setups/->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups"
      vm="true">
    <description></description>
  </setupTask>
  <project name="GeneralContainer"
      label="General">
    <project
        href="{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups/RequiredPlugins.setup#/"/>
    <project
        href="{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups/CommonPreferencesX.setup#/"/>
    <project
        href="{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups/EclipseInitialization.setup#/"/>
  </project>
  <description>Atom Projects provides cool projects.</description>
</setup:ProjectCatalog>



Preferences.stup
<?xml version="1.0" encoding="UTF-8"?>
<setup:Project
    xmi:version="2.0"
    xmlns:xmi="{SITENS}{WORLDWIDE}omg.org/XMI"
    xmlns:xsi="{SITENS}{WORLDWIDE}w3.org/2001/XMLSchema-instance"
    xmlns:jdt="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/jdt/1.0"
    xmlns:setup="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/1.0"
    xmlns:setup.p2="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/p2/1.0"
    xmlns:setup.targlets="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/targlets/1.0"
    xmlns:setup.workingsets="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/workingsets/1.0"
    xsi:schemaLocation="{SITENS}{WORLDWIDE}eclipse.org/oomph/setup/jdt/1.0 {SITENS}git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore {SITENS}{WORLDWIDE}eclipse.org/oomph/setup/targlets/1.0 {SITENS}git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupTarglets.ecore {SITENS}{WORLDWIDE}eclipse.org/oomph/setup/workingsets/1.0 {SITENS}git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore"
    name="AtomProjectGitHub.git"
    label="Common PreferencesX">
  <setupTask
      xsi:type="jdt:JRETask"
      version="JavaSE-1.8"
      location="${jre.location-1.8}">
    <description>Define the JRE needed to compile and run the Java projects of ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Xmx"
      value="1024m"
      vm="true">
    <description>Set the heap space needed to work with the projects of ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:ResourceCreationTask"
      excludedTriggers="STARTUP MANUAL"
      content="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xD;&#xA;&lt;section name=&quot;Workbench&quot;>&#xD;&#xA;&#x9;&lt;section name=&quot;org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart&quot;>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;true&quot; key=&quot;group_libraries&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;false&quot; key=&quot;linkWithEditor&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;layout&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;2&quot; key=&quot;rootMode&quot;/>&#xD;&#xA;&#x9;&#x9;&lt;item value=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;packageExplorer configured=&amp;quot;true&amp;quot; group_libraries=&amp;quot;1&amp;quot; layout=&amp;quot;2&amp;quot; linkWithEditor=&amp;quot;0&amp;quot; rootMode=&amp;quot;2&amp;quot; sortWorkingSets=&amp;quot;false&amp;quot; workingSetName=&amp;quot;&amp;quot;&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;workingSet editPageId=&amp;quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&amp;quot; factoryID=&amp;quot;org.eclipse.ui.internal.WorkingSetFactory&amp;quot; id=&amp;quot;1382792884467_1&amp;quot; label=&amp;quot;Other Projects&amp;quot; name=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/localWorkingSetManager&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;activeWorkingSet workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;allWorkingSets workingSetName=&amp;quot;Other Projects&amp;quot;/&amp;gt;&amp;#x0D;&amp;#x0A;&amp;lt;/packageExplorer&amp;gt;&quot; key=&quot;memento&quot;/>&#xD;&#xA;&#x9;&lt;/section>&#xD;&#xA;&lt;/section>&#xD;&#xA;"
      targetURL="${workspace.location|uri}/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml"
      encoding="UTF-8">
    <description>Initialize JDT's package explorer to show working sets as its root objects</description>
  </setupTask>
  <setupTask
      xsi:type="setup:VariableTask"
      name="eclipse.target.platform"
      defaultValue="Neon"
      storageURI="scope://Workspace"/>
  <setupTask
      xsi:type="setup.p2:P2Task">
    <description>Install the tools needed in the IDE to work with the source code for ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup.targlets:TargletTask">
    <targlet
        name="${scope.project.label}"
        activeRepositoryList="${eclipse.target.platform}">
      <requirement
          name="org.eclipse.sdk.feature.group"/>
      <requirement
          name="*"/>
      <sourceLocator
          rootFolder="${git.clone.AtomProjectGitHub.git.location}"
          locateNestedProjects="true"/>
      <repositoryList
          name="Photon">
        <repository
            url="{SITENS}download.eclipse.org/releases/photon"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Oxygen">
        <repository
            url="{SITENS}download.eclipse.org/releases/oxygen"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Neon">
        <repository
            url="{SITENS}download.eclipse.org/releases/neon"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Mars">
        <repository
            url="{SITENS}download.eclipse.org/releases/mars"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Luna">
        <repository
            url="{SITENS}download.eclipse.org/releases/luna"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Kepler">
        <repository
            url="{SITENS}download.eclipse.org/releases/kepler"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
      <repositoryList
          name="Juno">
        <repository
            url="{SITENS}download.eclipse.org/releases/juno"/>
        <repository
            url="{SITENS}download.eclipse.org/cbi/updates/license"/>
      </repositoryList>
    </targlet>
  </setupTask>
  <setupTask
      xsi:type="setup.workingsets:WorkingSetTask">
    <description>The dynamic working sets for ${scope.project.label}</description>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="Workspace Preferences">
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.eclipse.core.resources">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.core.resources/description.autobuilding"
          value="true"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.core.resources/refresh.lightweight.enabled"
          value="true"/>
    </setupTask>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.eclipse.jdt.core">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.GRADLE_HOME"
          value="${GRADLE_HOME}"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core.classpathVariable.GRADLE_REPO"
          value="${USERPROFILE}/.gradle/caches"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core{COM}piler.codegen.targetPlatform"
          value="1.8"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core{COM}piler{COM}pliance"
          value="1.8"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.jdt.core/org.eclipse.jdt.core{COM}piler.source"
          value="1.8"/>
    </setupTask>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.eclipse.ui">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.ui/SHOW_MEMORY_MONITOR"
          value="true"/>
    </setupTask>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.eclipse.ui.ide">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.ui.ide/SAVE_ALL_BEFORE_BUILD"
          value="true"/>
    </setupTask>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.eclipse.ui.workbench">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.eclipse.ui.workbench/RUN_IN_BACKGROUND"
          value="true"/>
    </setupTask>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.springsource.ide.eclipse.gradle.core">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.springsource.ide.eclipse.gradle.core/org.springsource.ide.eclipse.gradle.core.preferences.GradlePreferences.DISTRIBUTION"
          value="{SITENS}artifactory.ops.x-x.org/artifactory/x
-ml-prod/org/x/gbs/x-gradle/3.2.1.61/x-gradle-3.2.1.61-bin.zip"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.springsource.ide.eclipse.gradle.core/org.springsource.ide.eclipse.gradle.core.preferences.GradlePreferences.JAVA_HOME_JRE"
          value="jdk1.8.0_65"/>
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.springsource.ide.eclipse.gradle.core/org.springsource.ide.eclipse.gradle.core.preferences.GradlePreferencesUSE_CUSTOM_TOOLING_MODEL"
          value="false"/>
    </setupTask>
  </setupTask>
  <stream name="master"
      label="Master">
    <setupTask
        xsi:type="setup:EclipseIniTask"
        option="-Doomph.redirection.AtomProjectGitHub.git"
        value="={SITE}git.eclipse.org/c/chrisBas/AtomProjectGitHub.git.git/plain//CommonPreferencesX.setup->${git.clone.AtomProjectGitHub.git.location|uri}//CommonPreferencesX.setup"
        vm="true">
      <description>Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone.</description>
    </setupTask>
  </stream>
  <logicalProjectContainer
      xsi:type="setup:ProjectCatalog"
      href="index:/org.eclipse.setup#//@projectCatalogs[name='org.eclipse']"/>
  <description>Common PreferencesX provides cool stuff.</description>
</setup:Project>

[Updated on: Mon, 12 March 2018 18:02]

Report message to a moderator

Re: Issue pulling preferences in project pointed to from project catalog [message #1783232 is a reply to message #1783084] Fri, 09 March 2018 13:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Is "Preferences.stup" a typo? I see three references in GeneralContainer to project setups, but I don't see any reference to Preferences.stup or Preferences.setup. How is that project referenced by the catalog? If you use Navigate -> Open Setup -> Workspace, do you see that it references the expected project? From the context menu of the Setup Editor, you can use Open Text Editor to see the source and what the stream references look like. If you ensure that Setup Editor -> Live Validation is enabled, you should see if the link has resolved properly or not....

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Issue pulling preferences in project pointed to from project catalog [message #1783240 is a reply to message #1783232] Fri, 09 March 2018 13:42 Go to previous messageGo to next message
Christian Basile is currently offline Christian BasileFriend
Messages: 2
Registered: March 2018
Junior Member
Is "Preferences.stup" a typo? I see three references in GeneralContainer to project setups, but I don't see any reference to Preferences.stup or Preferences.setup. How is that project referenced by the catalog?

Sorry, yes - I had meant to fix the names, after the post. Preferences.setup is actually CommonPreferencesX.setup.

It is refererenced in the file "Projects.setup" (which is actually called"AtomProjects.setup" - again, forgot to fix that) by the line:
<project
        href="{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups/CommonPreferencesX.setup#/"/>


If you use Navigate -> Open Setup -> Workspace, do you see that it references the expected project? From the context menu of the Setup Editor, you can use Open Text Editor to see the source and what the stream references look like. If you ensure that Setup Editor -> Live Validation is enabled, you should see if the link has resolved properly or not....

Yes, It does appear to show the correct stream. The only thing that isn't loading in the workspace is the CommonPreferencesX.setup for some reason. If it helps, this is the workspace.setup file:

<?xml version="1.0" encoding="UTF-8"?>
<setup:Workspace
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="workspace">
  <setupTask
      xsi:type="setup:VariableTask"
      name="eclipse.target.platform"
      value="Neon"
      defaultValue="Neon"
      label="Target Platform">
    <description>Choose the compatibility level of the target platform</description>
  </setupTask>
  <setupTask
      xsi:type="setup:CompoundTask"
      name="Atom Projects">
    <restriction
        xsi:type="setup:ProjectCatalog"
        href="index:/org.eclipse.setup#//@projectCatalogs[name='atom.projects']"/>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="General">
      <restriction
          xsi:type="setup:Project"
          href="index:/org.eclipse.setup#//@projectCatalogs[name='atom.projects']/@projects[name='GeneralContainer']"/>
      <setupTask
          xsi:type="setup:CompoundTask"
          name="Common PreferencesX">
        <restriction
            xsi:type="setup:Project"
            href="index:/org.eclipse.setup#//@projectCatalogs[name='atom.projects']/@projects[name='GeneralContainer']/@projects[name='AtomProjectGitHub.git']"/>
        <setupTask
            xsi:type="setup:VariableTask"
            type="FOLDER"
            name="git.clone.AtomProjectGitHub.git.location"
            value="C:\Users\baschr\AtomProjectGitHub-git-master9\git\AtomProjectGitHub"
            label="Common PreferencesX Git clone location">
          <description>The absolute folder location where the Common PreferencesX Git clone is located</description>
        </setupTask>
      </setupTask>
    </setupTask>
  </setupTask>
  <stream href="index:/org.eclipse.setup#//@projectCatalogs[name='atom.projects']/@projects[name='GeneralContainer']/@projects[name='AtomProjectGitHub.git']/@streams[name='master']"/>
</setup:Workspace>
Re: Issue pulling preferences in project pointed to from project catalog [message #1783271 is a reply to message #1783240] Sat, 10 March 2018 07:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
These two tasks seem questionable:
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Doomph.redirection.projectCatalog"
      value="=index:/org.eclipse.projects.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/AtomProjects.setup"
      vm="true">
    <description></description>
  </setupTask>
  <setupTask
      xsi:type="setup:EclipseIniTask"
      option="-Doomph.redirection.setupDir"
      value="=index:/setups/->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups"
      vm="true">
    <description></description>
  </setupTask>

Your eclipse-inst.ini showed this:
-Doomph.redirection.projectCatalog=index:/redirectable.projects.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/AtomProjects.setup
-Doomph.redirection.setupDir=index:/redirectable.products.setup->{SITE}raw.githubusercontent{COM}/chrisBas/AtomProjectGitHub/master/setups

It's not clear to me what you are trying to redirect in both the installer and of course in the installation, but they need to be consistent of course. In the installer you appear to redirect to your own project and product catalogs, but is AtomProjectGitHub/master/setups really a setup file containing product setups; perhaps another typo? In any case your first EclipseIni task redirects index:/org.eclipse.projects.setup not index:/redirectable.projects.setup so that's inconsistent in terms of what the installer sees and what the installation sees. The second EclipseIni task redirects index:/setups/, i.e., the whole setup folder to perhaps a copy of it in your web site, but if that's the case, the target URL should also end with a / so that it is a folder mapping.

So I'm really confused about what you're redirecting, but you should redirect *.setup files to *.setup files and should redirect folders to folders (in which case each URI should end with a /). Probably you should only redirect index:/redirectable.projects.setup (and index:/redirectable.products.setup if you have products) and you should have the same EclipseIni tasks as you have in your eclipse-inst.ini.

When you have this working properly, Navigate -> Open Setup should show a menu with the Labels of your Product Versions and your Project Streams.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Variables in Oomph
Next Topic:Can't install Eclipse Neon : problem with files in .p2
Goto Forum:
  


Current Time: Thu Mar 28 14:56:04 GMT 2024

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

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

Back to the top