- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 91 for Separator (0.17 seconds)
-
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
*/ private fun File.injectAgentOptions(separator: String) { if (agentJarNames.isEmpty()) { return } var replacementsCount = 0 // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too. writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line -> when {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Apr 08 01:46:59 GMT 2025 - 6.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root s = file.getAbsolutePath(); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
} private static String runner(Map<String, String> add) throws Exception { String separator = FileSystems.getDefault().getSeparator(); String classpath = System.getProperty("java.class.path"); String path = System.getProperty("java.home") + separator + "bin" + separator + (Os.IS_WINDOWS ? "java.exe" : "java"); ProcessBuilder processBuilder =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
cmd/metacache-set_gen.go
} case "Recursive": z.Recursive, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "Recursive") return } case "Separator": z.Separator, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Separator") return } case "Create": z.Create, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "Create") return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/Gradleception.kt
"With${idParts.joinToString(separator = "And")}" } else { "" } id("${model.projectId}_Gradleception$idSuffix") name = "Gradleception - ${labels.joinToString(separator = " ")}" val descriptionSuffix = if (descriptionParts.isNotEmpty()) { " (${descriptionParts.joinToString(separator = ", ")})" } else { ""Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 7.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
// - The actual file system being used determines the separator String actualLocation = location.getSource().getLocation(); String expectedPath = "pom-with-profiles" + separator + "pom.xml"; // The test will pass with File.separator but this shows the platform differences assertTrue(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
} private PomTestWrapper buildPom(String pomPath) throws Exception { File pomFile = new File(testDirectory + File.separator + pomPath, "pom.xml"); File settingsFile = new File(testDirectory + File.separator + pomPath, "settings.xml"); Settings settings = readSettingsFile(settingsFile); ProjectBuildingRequest config = new DefaultProjectBuildingRequest();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done result = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root result = file.getAbsolutePath();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.1K bytes - Click Count (0) -
cmd/metacache-entries.go
func (e metaCacheEntry) isInDir(dir, separator string) bool { if len(dir) == 0 { // Root idx := strings.Index(e.name, separator) return idx == -1 || idx == len(e.name)-len(separator) } ext := strings.TrimPrefix(e.name, dir) if len(ext) != len(e.name) { idx := strings.Index(ext, separator) // If separator is not found or is last entry, ok.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
fun String.withTrimmableMargin(): String = lines().joinToString(separator = "\n |") private fun groovyImports(): String { val imports: List<String> = generateImportPackages() .map { "$it.*" } + "" + AnnotationGenerator.ADDITIONAL_DEFAULT_IMPORTS return imports.joinToString(separator = "\n") { if (it.isBlank()) "" else "import $it" }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Jul 07 16:02:18 GMT 2024 - 8.1K bytes - Click Count (0)