Skip to content

Commit eb145da

Browse files
committed
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 <[email protected]>
1 parent 3c7b8d9 commit eb145da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function download_server_fn(){
278278

279279
function build_server_fn(){
280280
fse.removeSync('./server');
281-
cp.execSync(mvnw() + ' -Pserver-distro clean package -Declipse.jdt.ls.skipGradleChecksums', { cwd: server_dir, stdio: [0, 1, 2] });
281+
cp.execSync(mvnw() + ' -Pserver-distro clean package -U -Declipse.jdt.ls.skipGradleChecksums', { cwd: server_dir, stdio: [0, 1, 2] });
282282
gulp.src(server_dir + '/org.eclipse.jdt.ls.product/distro/*.tar.gz', { encoding: false })
283283
.pipe(decompress())
284284
.pipe(gulp.dest('./server'));

0 commit comments

Comments
 (0)