Gradle 1.11 (and < 1.8) will now fail fast with a clear error [was: TaskExecutionException: Execution failed for task ':web:compileGeneratedWin']
Stephen F Northover
steve.x.northover at oracle.com
Fri Mar 21 23:18:41 UTC 2014
Great! There were people getting burned by this at EclipseCon. Luckily,
I remembered this bug and was able to help them but now we don't have to.
Steve
On 2014-03-21 4:15 PM, Kevin Rushforth wrote:
> I just pushed a fix for https://javafx-jira.kenai.com/browse/RT-36330
>
> Changeset: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/27390e79b4cf
>
> There is a bug in gradle 1.11 (already fixed in 1.12-rc1) which would
> be intrusive to workaround, so 1.11 is now blacklisted.
>
> The logic is this:
>
> if (gradleVersion != "1.8") {
> if (gradleVersion < "1.8") fail
> else if (gradleVersion == "1.11") fail
> else warn
> }
>
> You can turn the failures into warnings with "gradle
> -PGRADLE_VERSION_CHECK=false"
>
> -- Kevin
>
>
> Stephen F Northover wrote:
>> We fail on gradle 1.11. I have filed this bug:
>> https://javafx-jira.kenai.com/browse/RT-36330
>>
>> I suggest that if we can't fix the bug quickly, we print out a
>> message that we require gradle 1.8 and exit. We should let people
>> override this choice in the properties file.
>>
>> Steve
>>
>> On 2014-03-21 7:47 AM, Kevin Rushforth wrote:
>>> This was a gradle 1.4 bug that is fixed in 1.8:
>>> http://issues.gradle.org/browse/GRADLE-2831
>>>
>>> Leonid just happened to be running an older gradle.
>>>
>>> -- Kevin
>>>
>>>
>>> Stephen F Northover wrote:
>>>> Was this gradle 1.8 or a problem with an EA version of JDK8? In
>>>> any case, update both. If you can't, doing a clean every time
>>>> should work but that's not the long term answer.
>>>>
>>>> Steve
>>>>
>>>> On 2014-03-21 5:49 AM, Kevin Rushforth wrote:
>>>>> Are you using gradle 1.8? This looks like a bug we used to have
>>>>> with prior versions of gradle.
>>>>>
>>>>> -- Kevin
>>>>>
>>>>>
>>>>> Leonid Popov wrote:
>>>>>> Hi, I updated my workspace recently, tried to build it and have
>>>>>> got the following exception. Any suggestions?
>>>>>>
>>>>>> FAILURE: Build failed with an exception.
>>>>>>
>>>>>> * What went wrong:
>>>>>> Execution failed for task ':web:compileGeneratedWin'.
>>>>>> > java.lang.ClassFormatError: Invalid Constant Pool entry Type 18
>>>>>>
>>>>>> * Exception is:
>>>>>> org.gradle.api.tasks.TaskExecutionException: Execution failed
>>>>>> for task ':web:compileGeneratedWin'.
>>>>>>
>>>>
>>
More information about the openjfx-dev
mailing list