Currently, if the user tries to export jar button from a workspace node, as shown in the following screenshot:

If the setting java.project.exportJar.targetPath is set to ${workspaceFolder}/${workspaceFolderBasename}.jar, the output folder will always be the first workspace folder, regardless of the entry node.
Currently, if the user tries to export jar button from a workspace node, as shown in the following screenshot:
If the setting
java.project.exportJar.targetPathis set to${workspaceFolder}/${workspaceFolderBasename}.jar, the output folder will always be the first workspace folder, regardless of the entry node.