21 references to WithWrapperPath
Aspire.Hosting.Java (5)
JavaHostingExtensions.cs (5)
635/// and can be overridden with <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 663/// directory and can be overridden with <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 1443/// <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/>. 1455/// and <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/> is documented as usable after the 1520/// known whether a <see cref="WithWrapperPath{T}(IResourceBuilder{T}, string)"/> override supplied
Aspire.Hosting.Java.Tests (16)
AddJavaAppPublishTests.cs (6)
1278.WithWrapperPath(Path.Combine("..", "sibling", "mvnw")); 1386.WithWrapperPath(windowsWrapper)); 1409.WithWrapperPath("mvnw.cmd"); 1456.WithWrapperPath(Path.Combine("scripts", "custom-mvnw"))); 2138.WithWrapperPath(Path.Combine("build tools", "mvnw")); 2340var 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");