Skip to content

Commit

Permalink
Download and install ant on appveyor
Browse files Browse the repository at this point in the history
enebo committed Mar 10, 2016
1 parent 8fc8d87 commit 9851e84
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,17 @@ install:
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
- cmd: SET PATH=C:\maven\apache-maven-3.3.3\bin;%JAVA_HOME%\bin;%PATH%
- ps: >-
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\ant" )) {
(new-object System.Net.WebClient).DownloadFile(
'http://www.us.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.zip',
'C:\ant-bin.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\ant-bin.zip", "C:\ant")
}
- cmd: SET PATH=C:\maven\apache-maven-3.3.3\bin;C:\ant\apache-ant-1.9.6\bin;%JAVA_HOME%\bin;%PATH%
- cmd: echo %PATH%
- cmd: java -version

0 comments on commit 9851e84

Please sign in to comment.