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

tomcat.customEnv for “Generate War Package from Current Folder” Useless #336

Open
zy101843 opened this issue Feb 7, 2022 · 0 comments

Comments

@zy101843
Copy link

zy101843 commented Feb 7, 2022

  • VSCode Version: 1.61.2
  • OS Version: Windows 10 21H2
  • Tomcat Extension Version: 0.12.1

Steps to Reproduce:

  1. setting JAVA_HOME
    "tomcat.customEnv": [
    {
    "environmentVariable": "JAVA_HOME", // variable name
    "value": "/javaprj/jdk-15" // value
    }
    ].
  2. generater show : /bin/sh: jar: command not found

i find in code \src\Tomcat\TomcatController.ts on line 366
await Utility.executeCMD(this._outputChannel, server.getName(), 'jar', { cwd: folderLocation }, 'xvf', ${webappPath});

if not direct jar ,if like java Utility.getJavaExecutable()
i think it will be solve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant