Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 897 for match (0.03 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e);
                }
            });
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt

                val implementationClass = pluginProperties.getProperty("implementation-class")
                PluginEntry(id, implementationClass)
            }.toList()
        }
    } catch (cause: IOException) {
        throw IllegalArgumentException(
            "Failed to extract plugin metadata from '" + jar.path + "'",
            cause
        )
    }
    
    
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
                return null;
            } catch (InvocationTargetException e) {
                throw new IntrospectionException(e.getTargetException());
            } catch (AmbiguousException | IllegalAccessException e) {
                throw new IntrospectionException(e);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. generics.go

    	err := g.g.apply(ctx).Find(&r).Error
    	return r, err
    }
    
    func (g execG[T]) FindInBatches(ctx context.Context, batchSize int, fc func(data []T, batch int) error) error {
    	var data []T
    	return g.g.apply(ctx).FindInBatches(&data, batchSize, func(tx *DB, batch int) error {
    		return fc(data, batch)
    	}).Error
    }
    
    func (g execG[T]) Row(ctx context.Context) *sql.Row {
    	return g.g.apply(ctx).Row()
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                                        .get());
                    }
                    return doInvoke(context);
                } catch (InvokerException.ExitException e) {
                    // contract of ExitException is that nothing needed by us
                    throw e;
                } catch (Exception e) {
                    // other exceptions (including InvokerException but sans Exit, see above): we need to inform user
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            try {
                Files.createDirectories(destination.toPath().getParent());
                Files.copy(file.toPath(), destination.toPath());
            } catch (IOException e) {
                throw new RepositoryMetadataStoreException("Error copying POM to the local repository.", e);
            }
        }
    
        @Override
        public String toString() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlService.read(new StringReader("<configuration>" + xml + "</configuration>")));
            } catch (XMLStreamException e) {
                throw new IllegalArgumentException(e);
            }
        }
    
        @Test
        void testMinimal() throws BeanConfigurationException {
            SomeBean bean = new SomeBean();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

        public void flush() {
            for (CacheRecord record : cache.values()) {
                ClassRealm realm = record.getRealm();
                try {
                    realm.getWorld().disposeRealm(realm.getId());
                } catch (NoSuchRealmException e) {
                    // ignore
                }
            }
            cache.clear();
        }
    
        @Override
        public void register(MavenProject project, Key key, CacheRecord record) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

    import java.util.List;
    
    /**
     * CleanArgument
     */
    @Deprecated
    public class CleanArgument {
        public static String[] cleanArgs(String[] args) {
            try {
                return doCleanArgs(args);
            } catch (RuntimeException e) {
                for (String a : args) {
                    System.out.println("Arg: '" + a + "'");
                }
                throw e;
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

                ConfigurableFileCollection additionalJapicmpClasspath = (ConfigurableFileCollection) additionalJapicmpClasspathField.get(this);
                additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable());
            } catch (Exception e) {
                throw new RuntimeException("Got an error while patching JapicmpTask task", e);
            }
        }
    
        private Configuration resolveKotlinCompilerEmbeddable() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top