[ 
https://issues.apache.org/jira/browse/THRIFT-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King, III reopened THRIFT-4076:
----------------------------------------

I need to reopen this as it caused a build failure:

https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/build/1042

{noformat}
appveyor-retry cinst -y ant
Chocolatey v0.10.3
Installing the following packages:
ant
By installing you accept licenses for the packages.
jdk8 v8.0.121 [Approved]
jdk8 package files install completed. Performing other installation steps.
Downloading JDK from 
http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-windows-x64.exe
Installing jdk8...
jdk8 has been installed.
PATH environment variable does not have C:\Program Files\Java\jdk1.8.0_121\bin 
in it. Adding...
Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
 The install of jdk8 was successful.
  Software installed as 'exe', install location is likely default.
{noformat}

Followed by:

{noformat}
InitializeBuildStatus:
  Creating "x64\Release\ThriftJava\ThriftJava.tlog\unsuccessfulbuild" because 
"AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/projects/thrift/lib/java/CMakeLists.txt
  CMake does not need to re-run because 
C:\projects\thrift\cmake-build\lib\java\CMakeFiles\generate.stamp is up-to-date.
  Generating libthrift-1.0.0.jar, libthrift-1.0.0.pom
  '"java.exe"' is not recognized as an internal or external command,
  operable program or batch file.
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error 
MSB6006: "cmd.exe" exited with code 9009. 
[C:\projects\thrift\cmake-build\lib\java\ThriftJava.vcxproj]
Done Building Project 
"C:\projects\thrift\cmake-build\lib\java\ThriftJava.vcxproj" (default targets) 
-- FAILED.
{noformat}

It looks like the appveyor script needs "refreshenv".

> Appveyor builds failing because ant 1.9.8 was removed from apache servers
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-4076
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4076
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.10.0
>         Environment: Appyevor CI
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>            Priority: Blocker
>             Fix For: 0.11.0
>
>
> ant was upgraded to 1.9.9 and broke our build
> I am going to switch it over to using chocolatey.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to