Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1586

tuscany-sca-all.jar missing META-INF/services declarations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • Java-SCA-0.99
    • Build System
    • None

    Description

      The distribution build does not merge all META-INF/services declarations correctly, for example META-INF/services/*PushTransformers, and META-INF/services/*JavaInterfaceVisitors are not merged in tuscany-sca-all, causing weird runtime when using this JAR behavior as some of its core function is not activated.

      I am going to regenerate the shade transformer/merge configuration like this:

      find . -type f | grep "META-INF/services" | grep -v ".svn" | xargs -i basename {} | sort | uniq | grep "org.apache.tuscany" | awk

      {'printf " <transformer implementation=\"org.codehaus.mojo.shade.resource.AppendingTransformer\">\n <resource>META-INF/services/%s</resource>\n </transformer>\n", $1 }

      '

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsdelfino Jean-Sebastien Delfino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: