From 2263e32becc60651fd401c8cd02be91dbc1df14a Mon Sep 17 00:00:00 2001
From: dgelessus <dgelessus@users.noreply.github.com>
Date: Mon, 2 Oct 2023 12:54:48 +0200
Subject: [PATCH] Switch to nightly/SNAPSHOT versions of probcli and parsers

---
 build.gradle                      |  8 ++++++--
 de.prob.core/.classpath           | 14 +++++++-------
 de.prob.core/META-INF/MANIFEST.MF | 14 +++++++-------
 3 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/build.gradle b/build.gradle
index 515dd15e..ef19a4c4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,9 +32,13 @@ project(':de.prob.core') {
 
 	repositories {
 		mavenCentral()
+		maven {
+			name "Sonatype snapshots"
+			url "https://oss.sonatype.org/content/repositories/snapshots/"
+		}
 	}
 
-	def parser_version = "2.12.7"
+	def parser_version = "2.12.8-SNAPSHOT"
 
 	dependencies {
 		// Note: After changing/updating dependencies or their versions here,
@@ -88,7 +92,7 @@ task downloadCli {
 
 			def targetdir = dir + it.getValue()
 			def targetzip = dir + "probcli_${n}.zip"
-			def url = "https://stups.hhu-hosting.de/downloads/prob/cli/releases/1.12.2/probcli_${n}.zip"
+			def url = "https://stups.hhu-hosting.de/downloads/prob/cli/nightly/probcli_${n}.zip"
 			download(url, targetzip)
 			FileTree zip = zipTree(targetzip)
 			copy {
diff --git a/de.prob.core/.classpath b/de.prob.core/.classpath
index 683c6f28..d6c3e432 100644
--- a/de.prob.core/.classpath
+++ b/de.prob.core/.classpath
@@ -4,12 +4,12 @@
 	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
 	<classpathentry kind="src" path="src"/>
 	<classpathentry kind="output" path="bin"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/answerparser-2.12.7.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/bparser-2.12.7.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/ltlparser-2.12.7.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/parserbase-2.12.7.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/prologlib-2.12.7.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/answerparser-2.12.8-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/bparser-2.12.8-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/ltlparser-2.12.8-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/parserbase-2.12.8-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/prologlib-2.12.8-SNAPSHOT.jar"/>
 	<classpathentry exported="true" kind="lib" path="lib/dependencies/sablecc-runtime-3.6.0.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/theorymapping-2.12.7.jar"/>
-	<classpathentry exported="true" kind="lib" path="lib/dependencies/unicode-2.12.7.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/theorymapping-2.12.8-SNAPSHOT.jar"/>
+	<classpathentry exported="true" kind="lib" path="lib/dependencies/unicode-2.12.8-SNAPSHOT.jar"/>
 </classpath>
diff --git a/de.prob.core/META-INF/MANIFEST.MF b/de.prob.core/META-INF/MANIFEST.MF
index b4f4bc25..28fb273b 100644
--- a/de.prob.core/META-INF/MANIFEST.MF
+++ b/de.prob.core/META-INF/MANIFEST.MF
@@ -76,11 +76,11 @@ Bundle-Activator: de.prob.core.internal.Activator
 Eclipse-BuddyPolicy: registered
 Bundle-RequiredExecutionEnvironment: JavaSE-11
 Bundle-ClassPath: .,
- lib/dependencies/answerparser-2.12.7.jar,
- lib/dependencies/bparser-2.12.7.jar,
- lib/dependencies/ltlparser-2.12.7.jar,
- lib/dependencies/parserbase-2.12.7.jar,
- lib/dependencies/prologlib-2.12.7.jar,
+ lib/dependencies/answerparser-2.12.8-SNAPSHOT.jar,
+ lib/dependencies/bparser-2.12.8-SNAPSHOT.jar,
+ lib/dependencies/ltlparser-2.12.8-SNAPSHOT.jar,
+ lib/dependencies/parserbase-2.12.8-SNAPSHOT.jar,
+ lib/dependencies/prologlib-2.12.8-SNAPSHOT.jar,
  lib/dependencies/sablecc-runtime-3.6.0.jar,
- lib/dependencies/theorymapping-2.12.7.jar,
- lib/dependencies/unicode-2.12.7.jar
+ lib/dependencies/theorymapping-2.12.8-SNAPSHOT.jar,
+ lib/dependencies/unicode-2.12.8-SNAPSHOT.jar
-- 
GitLab