From eb145dab80da78771ef82de2a9b6ea8a8cf807b5 Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Mon, 9 Dec 2024 10:59:05 -0500 Subject: [PATCH] Check for updated snapshot repositories when running build. - Tycho p2 repositories whose underlying content is updated are considered snapshot repositories, and locally cached data can become stale and lead to cryptic compilation errors Signed-off-by: Roland Grunberg --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index d0014182c..836fcf818 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -278,7 +278,7 @@ function download_server_fn(){ function build_server_fn(){ fse.removeSync('./server'); - cp.execSync(mvnw() + ' -Pserver-distro clean package -Declipse.jdt.ls.skipGradleChecksums', { cwd: server_dir, stdio: [0, 1, 2] }); + cp.execSync(mvnw() + ' -Pserver-distro clean package -U -Declipse.jdt.ls.skipGradleChecksums', { cwd: server_dir, stdio: [0, 1, 2] }); gulp.src(server_dir + '/org.eclipse.jdt.ls.product/distro/*.tar.gz', { encoding: false }) .pipe(decompress()) .pipe(gulp.dest('./server'));