Skip to content
Snippets Groups Projects
Commit c56c38e1 authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

Merge branch 'develop' of github.com:bendisposto/prob into develop

parents 7a135701 2ef2d69c
No related branches found
No related tags found
No related merge requests found
// to trigger a full tycho build please use 'gradle deleteFromClassPath completeInstall'
project.ext{
targetRepositories = ["http://www.stups.uni-duesseldorf.de/prob_dev_target/","http://download.eclipse.org/releases/indigo/","http://rodin-b-sharp.sourceforge.net/updates"] targetRepositories = ["http://www.stups.uni-duesseldorf.de/prob_dev_target/","http://download.eclipse.org/releases/indigo/","http://rodin-b-sharp.sourceforge.net/updates"]
groupID = "de.prob" groupID = "de.prob"
}
apply from: 'tycho_build.gradle' apply from: 'tycho_build.gradle'
...@@ -64,16 +69,16 @@ def download(address,target) { ...@@ -64,16 +69,16 @@ def download(address,target) {
} }
task downloadCli << { task downloadCli << {
dir = workspacePath+'de.prob.core/prob/' def dir = workspacePath+'de.prob.core/prob/'
delete file(dir) delete file(dir)
new File(dir).mkdirs() new File(dir).mkdirs()
['leopard64':'macos','linux':'linux','linux64':'linux64','win32':'windows'].each { ['leopard64':'macos','linux':'linux','linux64':'linux64','win32':'windows'].each {
n = it.getKey() def n = it.getKey()
targetdir = dir+it.getValue() def targetdir = dir+it.getValue()
targetzip = dir+"probcli_${n}.zip" def targetzip = dir+"probcli_${n}.zip"
url = "http://nightly.cobra.cs.uni-duesseldorf.de/cli/probcli_${n}.zip" def url = "http://nightly.cobra.cs.uni-duesseldorf.de/cli/probcli_${n}.zip"
download(url,targetzip) download(url,targetzip)
FileTree zip = zipTree(targetzip) FileTree zip = zipTree(targetzip)
copy { copy {
...@@ -83,8 +88,8 @@ task downloadCli << { ...@@ -83,8 +88,8 @@ task downloadCli << {
delete file(targetzip) delete file(targetzip)
} }
targetdir = dir+"windows/" def targetdir = dir+"windows/"
targetzip = targetdir+"windowslib.zip" def targetzip = targetdir+"windowslib.zip"
download("http://nightly.cobra.cs.uni-duesseldorf.de/cli/windowslib.zip",targetzip) download("http://nightly.cobra.cs.uni-duesseldorf.de/cli/windowslib.zip",targetzip)
FileTree zip = zipTree(targetzip) FileTree zip = zipTree(targetzip)
copy { copy {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment