Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry = https://registry.npmjs.org
2 changes: 0 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"runtimeExecutable": "${execPath}",
"debugWebviews": true,
"args": [
"--disable-extensions",
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionDevelopmentPath=${workspaceRoot}/../vscode-java"
],
Expand All @@ -97,7 +96,6 @@
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--disable-extensions",
"--disable-workspace-trust",
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index",
Expand Down
25 changes: 0 additions & 25 deletions flake.lock

This file was deleted.

51 changes: 0 additions & 51 deletions flake.nix

This file was deleted.

30 changes: 25 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,33 @@ function downloadServerImpl() {

function buildServerImpl() {
fs.rmSync('./server', { recursive: true, force: true });
cp.execSync(mvnw() + ' clean package -DskipTests=true', {
cwd: BAZEL_ECLIPSE_DIR,
stdio: [0, 1, 2],
});
const jdtlsJar = fs
.readdirSync(
BAZEL_ECLIPSE_DIR + '/releng/p2repository/target/repository/plugins/'
)
.find(
(file) =>
file.startsWith('com.salesforce.bazel.eclipse.jdtls') &&
file.endsWith('.jar')
);

if (jdtlsJar) {
console.log(
'NOTE: skipping build and re-using existing "' +
jdtlsJar +
'" from ../bazel-eclipse/releng/p2repository/target/repository/plugins'
);
} else {
cp.execSync(mvnw() + ' clean package -DskipTests=true', {
cwd: BAZEL_ECLIPSE_DIR,
stdio: [0, 1, 2],
});
}
gulp
.src(
BAZEL_ECLIPSE_DIR + '/releng/p2repository/target/repository/plugins/*.jar'
BAZEL_ECLIPSE_DIR +
'/releng/p2repository/target/repository/plugins/*.jar',
{ encoding: false } // prevent gulp from reading the content as it's not needed
)
.pipe(DROP_JAR_VERSION)
.pipe(jarIsIncludedInPackageJson)
Expand Down
Loading