Skip to content
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
23 changes: 20 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -246,19 +246,36 @@

<copy file="${basedir}/LICENSE.txt" todir="${basedir}/vscode" />
<copy file="${basedir}/THIRD_PARTY_LICENSES.txt" todir="${basedir}/vscode" />

<copy file="${basedir}/README.md" todir="${basedir}/vscode" />
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/Oracle.oracle-java?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Installs](https://img.shields.io/visual-studio-marketplace/i/Oracle.oracle-java?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=Oracle.oracle-java)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![Build Status](https://img.shields.io/github/actions/workflow/status/oracle/javavscode/main.yml?branch=main&style=for-the-badge&logo=github)](https://github.com/oracle/javavscode/actions?query=workflow:Java%20Platform%20Support%20for%20Visual%20Studio%20Code)
]]></replacetoken>
</replace>
<replace file="${basedir}/vscode/README.md" value="">
<replacetoken><![CDATA[[![License](https://img.shields.io/github/license/oracle/javavscode?style=for-the-badge&logo=apache)](https://github.com/oracle/javavscode/blob/main/LICENSE.txt)
]]></replacetoken>
</replace>
<exec executable="${build.dir}/vsce/node_modules/.bin/vsce${cmd.suffix}" failonerror="true" dir="${basedir}/vscode">
<arg value="package" />
<arg line="${vsce.extra.args}" />
<arg value="--baseContentUrl" />
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/vscode" />
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/" />
<arg value="--baseImagesUrl" />
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/vscode" />
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/" />
<arg value="--out" />
<arg value="${build.dir}/oracle-java-${vsix.version}.vsix" />
</exec>
<delete file="${basedir}/vscode/LICENSE.txt"/>
<delete file="${basedir}/vscode/THIRD_PARTY_LICENSES.txt"/>
<delete file="${basedir}/vscode/README.md"/>
</target>
<target name="test-lsp-server" description="Tests the LSP server behavior">
<ant dir="nbcode" target="test" inheritall="false" inheritrefs="false">
Expand Down
3 changes: 2 additions & 1 deletion vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ vsc-extension-quickstart.md
.nyc_output/**
coverage/**
**/.nycrc.json
esbuild.js
esbuild.js
images/*
207 changes: 0 additions & 207 deletions vscode/README.md

This file was deleted.

File renamed without changes
2 changes: 1 addition & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/oracle/javavscode"
},
"publisher": "Oracle",
"icon": "images/logo.png",
"icon": "icons/logo.png",
"categories": [
"Programming Languages",
"Debuggers",
Expand Down
Loading