Skip to content

Commit

Permalink
Check for updated snapshot repositories when running build.
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
rgrunber committed Dec 9, 2024
1 parent 3c7b8d9 commit eb145da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit eb145da

Please sign in to comment.