Commit 7a05f80
committed
Fix project-aware CDS compile file paths
Fixes a regression where the project base directory was being used
to set the `cwd` of the process spawned for running the CDS compiler
for "project-aware" compilation. Adds unit tests to ensure the `cwd`
is always set to the value of the `sourceRoot` directory.
Further refactoring of the `cds/compiler` and `cds/parser` packages
within the source code of the CDS extractor.
This commit is expected to actually cause more problems with existing
queries, despite fixing the relative-file-path problem / regression.
Some changes to existing CodeQL queries and/or expected results may be
required as, at this point, the JSON data generated by the CDS compiler
(via the CDS extractor) seems valid.1 parent 27743ba commit 7a05f80
File tree
10 files changed
+971
-149
lines changed- extractors/cds/tools
- src/cds
- compiler
- parser
- test/src
- cds
- compiler
- parser
10 files changed
+971
-149
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
103 | 124 | | |
104 | 125 | | |
105 | 126 | | |
| |||
0 commit comments