Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097299

[Build] fix WINDOWS_NATIVE_COMPILE_ENVIRONMENT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u11
    • javafx

    Description

      See line 99 in win.gradle,
      it causes the following warning in gradle 1.8:

      Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information
      on the replacement for dynamic properties.
      Deprecated dynamic property: "WINDOWS_NATIVE_COMPILE_ENVIRONMENT" on "root project 'rt'", value: "{VCINSTALLDIR=C:/Progr...".


      On gradle 2.0 it really stopped working (tested).
      I think this is as easy as adding 'ext.' in from of the var (ext.WINDOWS_NATIVE_COMPILE_ENVIRONMENT).


      Attachments

        Activity

          People

            kcr Kevin Rushforth
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: