redhat-developer / vscode-rsp-ui

A unified UI for all RSP servers and RSP server-providers to integrate with
Eclipse Public License 2.0
38 stars 21 forks source link

Is it possible to ignore compatibility checks? #251

Closed ninelore closed 1 year ago

ninelore commented 1 year ago

My company runs its project on wildfly 11 with jdk 11 without issues. I'd like to switch from netbeans to vscode but the compatibility check is keeping mefrom doing so. Is there a way to ignore the check?

robstryker commented 1 year ago

Can you remind me or show a screenshot of which compatibility check you're referring to?

ninelore commented 1 year ago

Can you remind me or show a screenshot of which compatibility check you're referring to?

image

robstryker commented 1 year ago

The first version that is supposed to run on JDK11 is WildFly 15. With that said, there's no current way to circumvent the compatability check.

I have no real plans to change this, but, you could, in theory, go find the file in charge of your wildfly adapter (~/.rsp/redhat-server-connector/servers/WildFly\ 11) and see if you can replace the line "org.jboss.tools.rsp.server.typeId": "org.jboss.ide.eclipse.as.wildfly.110" with .as.wildfly.150. This may make the compatibility check pass.

I don't believe anything else would be negatively effected by this. You're basically telling the tooling to treat this server as if it's a wf15 server.

robstryker commented 1 year ago

If this workaround does in fact work, I'd appreciate it if you can report back adn close the issue ;)

ninelore commented 1 year ago

It seems to work. Thanks!