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

Fix dependencies on org.jboss.tools.ui.bot.ext to restrict version

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.1.Final, 4.1.0.Alpha1
    • Fix Version/s: 4.0.1.Final, 4.1.0.Alpha2
    • Component/s: qa
    • Labels:
      None

      Description

      Our bot tests in https://github.com/jbosstools/jbosstools-integration-tests depend on bundle org.jboss.tools.ui.bot.ext . Most of the time we first install bot ext to the local repo (mvn install) and then run the given test (mvn verify). The problem is that the bot ext requirement is not strict about the version required, so many times the wrong version from local maven repo is used.
      For example you're trying to run a test from jbosstools-4.0.x branch so org.jboss.tools.ui.bot.ext version 4.0.x should be used, but if you installed 4.1.x version of bot ext on that machine in the past, it will use that one instead. This is not desired.
      So in branch jbosstools-4.0.x we need this in every test bundle manifest:
      org.jboss.tools.ui.bot.ext;bundle-version="[4.0.0,4.1.0)"

      For master (4.1.x) we need this:
      org.jboss.tools.ui.bot.ext;bundle-version="[4.1.0,4.2.0)"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mmalina Martin Malina
                Reporter:
                mmalina Martin Malina
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: