21 references to WithWrapperPath
Aspire.Hosting.Java (5)
JavaHostingExtensions.cs (5)
638/// and can be overridden with <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 666/// directory and can be overridden with <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 1446/// <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 1458/// and <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/> is documented as usable after the 1523/// known whether a <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/> override supplied
Aspire.Hosting.Java.Tests (16)
AddJavaAppPublishTests.cs (6)
887.WithWrapperPath(Path.Combine("..", "sibling", "mvnw")); 995.WithWrapperPath(windowsWrapper)); 1018.WithWrapperPath("mvnw.cmd"); 1065.WithWrapperPath(Path.Combine("scripts", "custom-mvnw"))); 1747.WithWrapperPath(Path.Combine("build tools", "mvnw")); 1949var app = builder.AddJavaApp("api", appDirectory.Path).WithMavenBuild().WithWrapperPath(@"C:\tools\mvnw");
AddJavaAppTests.cs (9)
518var action = () => builder.WithWrapperPath("custom-mvnw"); 530var nullAction = () => app.WithWrapperPath(null!); 531var emptyAction = () => app.WithWrapperPath(string.Empty); 547.WithWrapperPath("scripts/custom-mvnw") 565.WithWrapperPath("scripts/custom-gradlew") 788.WithWrapperPath(Path.Combine("tools", "mvnw")); 848.WithWrapperPath("tools/mvnw"); 870.WithWrapperPath("/opt/maven/bin/mvn") 1308.WithWrapperPath("tools/mvn")
JavaBuildToolResolverTests.cs (1)
36var app = builder.AddJavaApp("api", tempDir.Path).WithWrapperPath("tools/custom-wrapper");