Skip to content

Commit c8cfbb5

Browse files
committed
Fix for single README file
1 parent a0ad1ff commit c8cfbb5

File tree

5 files changed

+23
-212
lines changed

5 files changed

+23
-212
lines changed

build.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,19 +246,36 @@
246246

247247
<copy file="${basedir}/LICENSE.txt" todir="${basedir}/vscode" />
248248
<copy file="${basedir}/THIRD_PARTY_LICENSES.txt" todir="${basedir}/vscode" />
249-
249+
<copy file="${basedir}/README.md" todir="${basedir}/vscode" />
250+
<replace file="${basedir}/vscode/README.md" value="">
251+
<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)
252+
]]></replacetoken>
253+
</replace>
254+
<replace file="${basedir}/vscode/README.md" value="">
255+
<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)
256+
]]></replacetoken>
257+
</replace>
258+
<replace file="${basedir}/vscode/README.md" value="">
259+
<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)
260+
]]></replacetoken>
261+
</replace>
262+
<replace file="${basedir}/vscode/README.md" value="">
263+
<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)
264+
]]></replacetoken>
265+
</replace>
250266
<exec executable="${build.dir}/vsce/node_modules/.bin/vsce${cmd.suffix}" failonerror="true" dir="${basedir}/vscode">
251267
<arg value="package" />
252268
<arg line="${vsce.extra.args}" />
253269
<arg value="--baseContentUrl" />
254-
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/vscode" />
270+
<arg value="https://github.com/oracle/javavscode/blob/${metabuild.hash}/" />
255271
<arg value="--baseImagesUrl" />
256-
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/vscode" />
272+
<arg value="https://github.com/oracle/javavscode/raw/${metabuild.hash}/" />
257273
<arg value="--out" />
258274
<arg value="${build.dir}/oracle-java-${vsix.version}.vsix" />
259275
</exec>
260276
<delete file="${basedir}/vscode/LICENSE.txt"/>
261277
<delete file="${basedir}/vscode/THIRD_PARTY_LICENSES.txt"/>
278+
<delete file="${basedir}/vscode/README.md"/>
262279
</target>
263280
<target name="test-lsp-server" description="Tests the LSP server behavior">
264281
<ant dir="nbcode" target="test" inheritall="false" inheritrefs="false">

vscode/.vscodeignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ vsc-extension-quickstart.md
1111
.nyc_output/**
1212
coverage/**
1313
**/.nycrc.json
14-
esbuild.js
14+
esbuild.js
15+
images/*

vscode/README.md

Lines changed: 0 additions & 207 deletions
This file was deleted.
File renamed without changes.

vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/oracle/javavscode"
1212
},
1313
"publisher": "Oracle",
14-
"icon": "images/logo.png",
14+
"icon": "icons/logo.png",
1515
"categories": [
1616
"Programming Languages",
1717
"Debuggers",

0 commit comments

Comments
 (0)