Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-483

Log detailed information on invalid syntax in parsed repository xml requirements

    XMLWordPrintableJSON

Details

    Description

      While parsing the repository xml BundleRepository logs an exception message while parsing requirements. This is fine but the information logged is not of too much use.
      Eg. for the sogi alliance repository it will log something like:
      org.osgi.framework.InvalidSyntaxException: expected ~=|>=|<=
      Just with this information you cannot do to much.
      I suggest that RequirementImpl.setFilter to be changed to output also the failing filter.
      e.g. for the case above:
      Filter (&(package=org.apache.batik.i18n)(version>=1.6.0)(version<1.7.0)) parsing failed due to org.osgi.framework.InvalidSyntaxException: expected ~=|>=|<=

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              adreghiciu Alin George Dreghiciu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: