Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12131

remote is not listened to by server adatper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.3.0.Final
    • None
    • openshift
    • None

      create a project via openshift, set the remote to be something else than origin and with a different repo address.

      Most easily done by cloning a different openshift project and try add that to an existing one.

      Or just edit in the server adapter or edit the .settings/openshift file to have a different remote.

      Push via server adapter and notice the repository used is not what the remote is pointing to.

      The failing code is:
      String remoteName = behaviour.getServer().getAttribute(ExpressServerUtils.ATTRIBUTE_REMOTE_NAME,
      ExpressServerUtils.ATTRIBUTE_REMOTE_NAME_DEFAULT);

      from ExpressPublishMethod which does not get the right remote name.

        1. honour-remote-in-prefs.patch
          0.9 kB
          André Dietisheim
        2. honour-remote-in-prefs.patch
          0.9 kB
          André Dietisheim

            adietish@redhat.com André Dietisheim
            manderse@redhat.com Max Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: