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

Fix vscode cwd property for subprojects, delete unused runDir property #1247

Closed
wants to merge 1 commit into from

Conversation

fewizz
Copy link

@fewizz fewizz commented Jan 8, 2025

This commit ce0a330#diff-cec0045fe90b97a34702058c744a64e1efe8ddf298598a297d2eeb873e108dc2R110 made run configs relative to project.

Then this commit 543e49d#diff-cec0045fe90b97a34702058c744a64e1efe8ddf298598a297d2eeb873e108dc2R162 added an unused runDir property for vscode launch.json file, and made cwd property non-relative again.

@modmuss50 modmuss50 changed the base branch from dev/1.9 to exp/1.10 January 22, 2025 18:00
@@ -140,7 +139,7 @@ public void genRuns() throws IOException {
toRemove.forEach(configurations::remove);
configurations.add(configurationJson);

Files.createDirectories(Paths.get(configuration.runDir));
Files.createDirectories(configuration.absoluteRunDirPath(getProject()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot use getProject() during task execution, this is casusing the tests to fail. I might have a look at this.

@modmuss50
Copy link
Member

Fixed here: 1c02578 many thanks for the help.

@modmuss50 modmuss50 closed this Jan 26, 2025
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

Successfully merging this pull request may close these issues.

2 participants