Skip to content

Commit 7b9a4a4

Browse files
committed
Rename the extension, make small changes to build scripts
Signed-off-by: Rob Stryker <rob@oxbeef.net>
1 parent bb2d6fa commit 7b9a4a4

7 files changed

Lines changed: 13 additions & 21 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Server Connector
1+
# JBoss Toolkit
22

33
[![Visual Studio Marketplace](https://img.shields.io/visual-studio-marketplace/v/redhat.vscode-server-connector?style=for-the-badge&label=VS%20Marketplace&logo=visual-studio-code&color=blue)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-server-connector)
44
[![Downloads](https://img.shields.io/visual-studio-marketplace/d/redhat.vscode-server-connector?style=for-the-badge&color=purple)](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-server-connector)
55
[![License](https://img.shields.io/badge/license-EPLv2.0-brightgreen.png?style=for-the-badge)](https://github.com/redhat-developer/vscode-server-connector/blob/master/LICENSE)
66

7-
A Visual Studio Code extension for interacting with Red Hat JBoss EAP Servers and Runtimes.
7+
A Visual Studio Code extension for interacting with Red Hat Servers and Runtimes like WildFly and Red Hat EAP.
88

99
### Supported Servers
1010
* WildFly 33 and below (WildFly 8)
@@ -14,7 +14,7 @@ A Visual Studio Code extension for interacting with Red Hat JBoss EAP Servers an
1414

1515
![ screencast ](https://raw.githubusercontent.com/redhat-developer/vscode-server-connector/master/screencast/vscode-server-connector.gif)
1616

17-
This extension depends on VSCode RSP UI Extension which is going to be installed automatically along with VSCode Server Connector Extension. RSP UI in conjunction with Server Connector Extension supports several commands for interacting with supported server adapters; these are accessible via the command menu (`Cmd+Shift+P` on macOS or `Ctrl+Shift+P` on Windows and Linux) and may be bound to keys in the normal way.
17+
This extension depends on VSCode RSP UI Extension which is going to be installed automatically along with the JBoss Toolkit Extension. RSP UI, in conjunction with JBoss Toolkit Extension supports several commands for interacting with supported server adapters; these are accessible via the command menu (`Cmd+Shift+P` on macOS or `Ctrl+Shift+P` on Windows and Linux) and may be bound to keys in the normal way.
1818

1919
### Available Commands
2020
This extension provides no additional commands other than those available in [rsp-ui](https://github.com/redhat-developer/vscode-rsp-ui#available-commands)
@@ -55,7 +55,7 @@ Right-click your server -> Edit Server -> add "jboss.server.port": "8888". Chang
5555

5656
Now if you start the server it should run on the specified port.
5757

58-
### 3. Is there a video that explain how the VSCode Server Connector extension and the Runtime Server Protocol work?
58+
### 3. Is there a video that explain how the JBoss Toolkit extension and the Runtime Server Protocol work?
5959
Yes. This is the video you can watch to learn more about this extension https://www.youtube.com/watch?v=sP2Hlw-C_7I
6060

6161
-----------------------------------------------------------------------------------------------------------
@@ -68,7 +68,7 @@ Stable releases are archived under http://download.jboss.org/jbosstools/adapters
6868

6969
## Community, discussion, contribution, and support
7070

71-
**Issues:** If you have an issue/feature-request with the Server Connector extension, please file it [here](https://github.com/redhat-developer/vscode-server-connector/issues).
71+
**Issues:** If you have an issue/feature-request with the JBoss Toolkit extension, please file it [here](https://github.com/redhat-developer/vscode-server-connector/issues).
7272

7373
**Contributing:** Want to become a contributor and submit your code? Have a look at our [development guide](https://github.com/redhat-developer/vscode-server-connector/blob/master/CONTRIBUTING.md).
7474

build/package.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@ const qualifier = process.env.RSP_QUALIFIER === 'snapshots' ? 'snapshots' : 'sta
66
console.log("The qualifier is " + qualifier);
77
const RSP_PREFIX = `http://download.jboss.org/jbosstools/adapters/${qualifier}/rsp-server`;
88
const RSP_SERVER_LATEST = 'LATEST';
9-
const RSP_SERVER_LATEST_URL = `${RSP_PREFIX}/${RSP_SERVER_LATEST}`;
10-
const RSP_SERVER_JAR_NAME = 'org.jboss.tools.rsp.distribution-latest.zip';
11-
const RSP_SERVER_JAR_URL = `${RSP_PREFIX}/${RSP_SERVER_JAR_NAME}`;
9+
const RSP_SERVER_LATEST_URL = "https://raw.githubusercontent.com/redhat-developer/rsp-server/refs/heads/master/LATEST"
1210

1311

1412
function clean() {
15-
return Promise.resolve()
16-
.then(()=>fs.remove('server'))
17-
.then(()=>fs.pathExists(RSP_SERVER_JAR_NAME))
18-
.then((exists)=>(exists?fs.unlink(RSP_SERVER_JAR_NAME):undefined));
13+
return Promise.resolve();
1914
}
2015

2116
Promise.resolve()

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vscode-server-connector",
3-
"displayName": "Server Connector",
4-
"description": "Allows to start, stop and deploy to Red Hat server and runtime products like Wildfly, JBoss EAP (Enterprise Application Platform), Minishift, CDK (Container Development Kit).",
3+
"displayName": "JBoss Toolkit",
4+
"description": "Allows a user to start, stop and deploy to Red Hat server and runtime products like Wildfly and JBoss EAP (Enterprise Application Platform).",
55
"version": "0.26.17",
66
"license": "SEE LICENSE IN LICENSE",
77
"publisher": "redhat",
@@ -48,9 +48,6 @@
4848
"red hat",
4949
"jboss",
5050
"wildfly",
51-
"minishift",
52-
"container development kit",
53-
"cdk",
5451
"enterprise application platform",
5552
"eap"
5653
],

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const RSP_PROVIDER_ID = 'redhat.vscode-server-connector';
1414
/**
1515
* RSP Provider Name - it will be displayed in the tree node
1616
*/
17-
const RSP_PROVIDER_NAME = 'Red Hat Server Connector';
17+
const RSP_PROVIDER_NAME = 'JBoss Toolkit';
1818

1919
/**
2020
* The provider id to be used in the .rsp folder

src/impl/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class FelixRspLauncher {
224224
vscode.commands.executeCommand('vscode.open', btnSelected.openUrl);
225225
} else {
226226
vscode.window.showInformationMessage(
227-
`To configure Java for Server Connector Extensions add "rsp-ui.rsp.java.home" property to your settings file
227+
`To configure Java for the JBoss Toolkit Extension, add "rsp-ui.rsp.java.home" property to your settings file
228228
(ex. "rsp-ui.rsp.java.home": "/usr/local/java/jdk-${this.options.minimumSupportedJava}.0.1").`);
229229
vscode.commands.executeCommand(
230230
'workbench.action.openSettingsJson'

test/extensionApi.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ suite('Extension API', () => {
6565
await extensionApi.startRSP(stdCallback, stdCallback);
6666
expect.fail('No error was thrown');
6767
} catch (err) {
68-
expect(err).equals('RSP Error - Red Hat Server Connector failed to start - Error');
68+
expect(err).equals('RSP Error - JBoss Toolkit failed to start - Error');
6969
}
7070
});
7171

test/ui-test/common/constants/adaptersContants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class AdaptersConstants {
2020
public static readonly RSP_DOWNLOADING_NOTIFICATION = 'Job Download runtime:';
2121

2222
// RSP server provider constants
23-
public static readonly RSP_SERVER_PROVIDER_NAME = 'Red Hat Server Connector';
23+
public static readonly RSP_SERVER_PROVIDER_NAME = 'JBoss Toolkit';
2424
public static readonly RSP_SERVER_PROVIDER_CREATE_NEW_SERVER = 'Create New Server...';
2525
public static readonly RSP_SERVER_PROVIDER_START = 'Start / Connect to RSP Provider';
2626
public static readonly RSP_SERVER_PROVIDER_STOP = 'Stop RSP Provider';

0 commit comments

Comments
 (0)