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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.1.Final, 4.1.0.Alpha2
    • 4.0.1.Final, 4.1.0.Alpha1
    • qa
    • None

      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)"

              exd-mmalina Martin Malina
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: