Build failure: Unexpected element "{}HTML" {antlib:org.apache.tools.ant}HTML

Kevin Rushforth kevin.rushforth at oracle.com
Mon Nov 11 09:31:57 PST 2013


Since this is in the "closed" part of the build, few people on the list 
would have seen it.

> update-cached-sdk:
>      [java] Buildfile: 
> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build.xml
>      [java]
>      [java] BUILD FAILED
>      [java] 
> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build.xml:2: 
> Unexpected element "{}HTML" {antlib:org.apache.tools.ant}HTML 

Makybe there is a problem using ant 1.9.2 (the official build version is 
1.8.2). Having said that, I think someone else must have done a closed 
build with ant 1.9.X at some point.

-- Kevin


Anthony Petrov wrote:
> Has anyone seen this before?
>
> I've just cloned a fresh repo. I'm on Linux x64 and using:
> JAVA_HOME= 7u45 x64
> JDK_HOME= 8b114 x64
> ant 1.9.2 (from my Linux distro)
> gradle 1.8
>
>> :antUpdateCacheIfNeeded
>> Buildfile: /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build.xml
>>   [taskdef] Could not load definitions from resource 
>> net/sf/antcontrib/antcontrib.properties. It could not be found.
>>     [mkdir] Created dir: 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>      [copy] Copying 1 file to 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build/xml_generated
>>   [taskdef] Could not load definitions from resource 
>> net/sf/antcontrib/antlib.xml. It could not be found.
>>
>> -check-hudson:
>>
>> update-cached-sdk-if-needed:
>>   [taskdef] Could not load definitions from resource 
>> net/sf/antcontrib/antcontrib.properties. It could not be found.
>>   [taskdef] Could not load definitions from resource 
>> net/sf/antcontrib/antlib.xml. It could not be found.
>>
>> clean-cached-sdk:
>>
>> update-cached-sdk:
>>      [java] Buildfile: 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build.xml
>>      [java]
>>      [java] BUILD FAILED
>>      [java] 
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build.xml:2: 
>> Unexpected element "{}HTML" {antlib:org.apache.tools.ant}HTML
>>      [java]
>>      [java] Total time: 0 seconds
>>
>> BUILD FAILED
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build-src/build-cache.xml:141: 
>> The following error occurred while executing this line:
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build-src/build-cache.xml:75: 
>> The following error occurred while executing this line:
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build-defs.xml:326: 
>> The following error occurred while executing this line:
>> /export/anthony/ws/g-7-gradleJdkVersion-RT-34174/build-defs.xml:221: 
>> Java returned: 1
>>
>> Total time: 1 second
>> :antUpdateCacheIfNeeded FAILED
>
>
> -- 
> best regards,
> Anthony


More information about the openjfx-dev mailing list