Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6151

JSX fail to work at runtime when building with Maven3 on latest Mac OSX

    XMLWordPrintable

Details

    • Unknown

    Description

      The problem is interesting and is caused by a compound of different issues:

      • Latest Mac OSX bundles a version of Rhino
      • Maven 2.2.1 has a bug (see http://jira.codehaus.org/browse/MSHARED-167) which makes the batik-js JAR to be excluded from the distribution. Maven 3.x doesn't have this bug and thus that jar is present
      • yuicompressor bundles a modified version of Rhino

      At runtime it means there are various versions of Rhino in the classpath and yuicompressor ends up using the wrong one, resulting in JSX not working.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: