From 665a1f30edbcecd90a63336fe4f8cd43ec6aa433 Mon Sep 17 00:00:00 2001 From: Jason Daming Date: Wed, 27 Nov 2024 21:09:29 -0600 Subject: [PATCH 1/3] Update pplib-Build-an-Auto.md --- Writerside/topics/pplib-Build-an-Auto.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Writerside/topics/pplib-Build-an-Auto.md b/Writerside/topics/pplib-Build-an-Auto.md index 840171c6..05153fd4 100644 --- a/Writerside/topics/pplib-Build-an-Auto.md +++ b/Writerside/topics/pplib-Build-an-Auto.md @@ -376,11 +376,10 @@ every auto in the project. > **Warning** > -> This method will load all autos in the deploy directory. Since the deploy process does not automatically clear the -> deploy directory, old auto files that have since been deleted from the project could remain on the RIO, therefore -> being added to the auto chooser. +> This method will load all autos in the deploy directory. [Make sure you have the line](https://docs.wpilib.org/en/latest/docs/software/advanced-gradlerio/compiler-args.html#deleting-unused-deploy-files) +> `deleteOldFiles = true` in your build.gradle file or the deploy directory will not be cleared and you will see deleted autos. > -> To remove old options, the deploy directory will need to be cleared manually via SSH, WinSCP, reimaging the RIO, etc. +> To manually remove old options, use SSH, WinSCP, reimaging the RIO, etc. > {style="warning"} From e5c3d230533771f834e47fcea8189827b349a5bf Mon Sep 17 00:00:00 2001 From: Jason Daming Date: Wed, 27 Nov 2024 21:17:58 -0600 Subject: [PATCH 2/3] Update build.gradle --- examples/java/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/java/build.gradle b/examples/java/build.gradle index a077c4e0..90c190c4 100644 --- a/examples/java/build.gradle +++ b/examples/java/build.gradle @@ -33,6 +33,7 @@ deploy { frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) { files = project.fileTree('src/main/deploy') directory = '/home/lvuser/deploy' + deleteOldFiles = true } } } From 0ba697038568edd0cab4c959640ee58ee0bf7635 Mon Sep 17 00:00:00 2001 From: Jason Daming Date: Wed, 27 Nov 2024 21:18:32 -0600 Subject: [PATCH 3/3] Update build.gradle --- examples/cpp/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/cpp/build.gradle b/examples/cpp/build.gradle index f49913a4..4a6fd6a8 100644 --- a/examples/cpp/build.gradle +++ b/examples/cpp/build.gradle @@ -27,6 +27,7 @@ deploy { frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) { files = project.fileTree('src/main/deploy') directory = '/home/lvuser/deploy' + deleteOldFiles = true } } }