Open
Description
Environment
- Operating System: Windows 10
- JDK version: 14
- Visual Studio Code version: 1.63.2
- Java extension version: 0.20.0 (Extension pack)
Steps To Reproduce
- Set
sourceDirectory
inpom.xml
to${project.basedir}
- Update project and use the command palette to open
Java: Configure Classpath
. - See the result.
- Change
${project.basedir}
to${project.basedir}/src
or anyone else. Repeat the steps above and see result.
[Sample project reproducing the error]https://github.com/Berkeley-CS61B/skeleton-sp21/tree/master/lab2setup
Current Result
${project.basedir}
is interpreted as a fake absolute path. For example:Users\aoliu\OneDrive\Projects\cs61b-sp21\lab2setup
which should beC:\Users\aoliu\OneDrive\Projects\cs61b-sp21\lab2setup
in Windows 10.${project.basedir}\src
or other path that under the basedir is correctly interpreted. For example:${project.basedir}\src
is interpreted assrc
, a relative path.