Skip to content

Use processstarter for launching tools#790

Merged
PeterJohnson merged 13 commits intowpilibsuite:mainfrom
sciencewhiz:processstarter
Oct 4, 2025
Merged

Use processstarter for launching tools#790
PeterJohnson merged 13 commits intowpilibsuite:mainfrom
sciencewhiz:processstarter

Conversation

@sciencewhiz
Copy link
Contributor

No description provided.

@sciencewhiz sciencewhiz marked this pull request as ready for review September 19, 2025 03:55
PeterJohnson
PeterJohnson previously approved these changes Sep 30, 2025
cppTools.add(new WPICppTool(project, "wpical", wpi.getVersions().getwpicalToolVersion(),
"edu.wpi.first.tools:wpical", toolsFolder));

cppTools.add(new WPICppTool(project, "processstarter", wpi.getVersions().getprocessstarterToolVersion(),
Copy link
Member

Choose a reason for hiding this comment

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

Fix formatting, its not indented.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think that's an artifact of the github view. Although the next line was indented too much, so I fixed that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nevermind, it wasn't supposed to be in that conditional. Fixed.

build.gradle Outdated
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testImplementation gradleTestKit()

processstarterDownload 'edu.wpi.first.tools:processstarter:+:windowsx86-64@zip'
Copy link
Member

Choose a reason for hiding this comment

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

Lock the versions used here against updateVersions.

Also, I'm curious how this actually works, as we don't have the wpilib maven repo as a repository.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I figured out where the repository came from. Its in versionupdates.gradle. I was just confused how it was actually finding an update.

So yeah just fix this to have a fixed version updated from the updateVersions task.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was a little worried about rewriting build.gradle, but it seems to work

@PeterJohnson PeterJohnson merged commit 1bb6b91 into wpilibsuite:main Oct 4, 2025
6 checks passed
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.

3 participants