Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump java ext; fix build #81

Merged
merged 1 commit into from
Jul 10, 2024
Merged
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
6 changes: 3 additions & 3 deletions plugin-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@
},
"redhat.java": {
"repository": "https://github.com/redhat-developer/vscode-java",
"revision": "v1.27.0",
"revision": "v1.32.0",
"update": "true",
"ubi8Image": "nodejs-14:1-101",
"packageManager": "npm@6.14.17"
"ubi8Image": "nodejs-18:1-114",
"packageManager": "npm@9.6.7"
},
"redhat.vscode-commons": {
"comment": "Version: 0.0.6",
Expand Down
8 changes: 6 additions & 2 deletions redhat.java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ ARG extension_vsce
USER root
WORKDIR /

ENV JDT_VERSION="v1.23.0"
ENV JDT_VERSION="v1.37.0"

RUN dnf -y install wget
RUN npm install -g ${extension_manager}

RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
Expand All @@ -34,10 +35,13 @@ RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
cd ./${extension_name} && git checkout ${extension_revision} && \
#Copy quarkus source into extension source to package both
cp /eclipse.jdt.ls-${JDT_VERSION}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
wget http://download.eclipse.org/jdtls/snapshots/jdt-language-server-latest.tar.gz && \
mkdir server && tar -xvzf jdt-language-server-latest.tar.gz -C ./server --no-same-owner && rm jdt-language-server-latest.tar.gz && \
npm install -g @vscode/vsce@${extension_vsce} && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npx gulp download_lombok && \
npm run compile && \
npm run vscode:prepublish && \
vsce package --out /${extension_name}.vsix
Loading