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

XWiki Core APIs allowing groovy or velocity scripts to refer to classes in XWiki documents attached jar files

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 M4
    • Fix Version/s: 1.1 RC2
    • Component/s: {Unused} Core
    • Labels:
      None
    • keywords:
      patch
    • Similar issues:

      Description

      1/ Attach jar files in a wiki page
      2/ It should be possible using a simple api to run classes attached in this jar files. For example:

      $xwiki.parseGroovyFromPage("Test.TestGroovy", "Test.TestJarFiles")

      Would run the groovy script in Test.TestGroovy which would contain references to classes in jar files attached to the Test.TestJarFiles page.

        Attachments

          Activity

            People

            • Assignee:
              ludovic Ludovic Dubost
              Reporter:
              ludovic Ludovic Dubost
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: