Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-543

Support OpenJDK for Debian build

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.8.0
    • Component/s: Scripts
    • Environment:
      Debian

      Description

      by Flow:

      Here is a patch for the openfires debian build system. I changes two things:

      Only set JAVA_HOME if it's not already set in debian/rules
      Added dependencies for openjdk

      The first change is important as currently JAVA_HOME get's always set to java-1.5.0-sun. Now you can build an openfire debian package with openjdk by issuing

      ´╗┐´╗┐export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
      ant installer.debian

      I was able to build openfire this way. But of course the change from SUN's jdk to openjdk needs some testing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                akrherz Daryl Herzmann
                Reporter:
                wroot wroot
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: