Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6762

Groovy won't run in OSGI Java 7 environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1, 2.4.0-beta-1
    • None
    • None
    • Virgo Server 3.6.1 (@Java 7)

    Description

      Currently the groovy-all-2.3.0 (as well as the indy) version require a Java 6 runtime environment, this is enforced by line 80 of gradle//assemble.gradle

                  'Bundle-RequiredExecutionEnvironment': 'J2SE-1.6',
      

      In my case I am running virgo on java 7 and therefore, the bundle will not load

      gogo: BundleException: The bundle "groovy-all_2.3.0 [154]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.6
      

      wouldn't it be possible to just remove this line?

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            rburgst Rainer Burgstaller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: