Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for getResources (0.25 sec)

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

                // DSL ref has custom javascript
                ConfigurableFileTree js = objects.fileTree();
                js.from(dslReference.getRoot());
                js.include("*.js");
                dslRef.getResources().from(js);
    
                dslRef.getResources().from(extension.getCssFiles());
    
                dslRef.getRoot().convention(extension.getSourceRoot().dir("dsl"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         * @return リソースに対する URL
         *         オブジェクトの列挙。リソースが見つからなかった場合、列挙は空になる。クラスローダがアクセスを持たないリソースは列挙に入らない
         * @see java.lang.ClassLoader#getResources(String)
         */
        public static Iterator<URL> getResources(final String name) {
            assertArgumentNotEmpty("name", name);
    
            return getResources(Thread.currentThread().getContextClassLoader(), name);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

         */
        @Test
        public void testGetResources() throws Exception {
            final String name = TestCase.class.getName().replace('.', '/') + ".class";
            final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name);
            assertThat(itr, is(notNullValue()));
            final URL url = itr.next();
            assertThat(url, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                build.setTestSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir));
    
                for (Resource resource : build.getResources()) {
                    resource.setDirectory(alignToBaseDirectory(resource.getDirectory(), basedir));
                }
    
                for (Resource resource : build.getTestResources()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

            String slf4jBinding = loggerFactory.getClass().getCanonicalName();
    
            try {
                Enumeration<URL> resources =
                        Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE);
    
                while (resources.hasMoreElements()) {
                    URL resource = resources.nextElement();
                    try {
                        InputStream is = resource.openStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

         */
        public abstract RegularFileProperty getHighlightStylesheet();
    
        /**
         * Resources to include with the generated documentation.
         */
        public abstract ConfigurableFileCollection getResources();
    
        /**
         * Location to stage the intermediate documentation. This is like a working directory.
         */
        public abstract DirectoryProperty getStagingRoot();
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java

        public abstract DirectoryProperty getStagedDocumentation();
    
        /**
         * Additional resources to include in the final docs
         */
        public abstract ConfigurableFileCollection getResources();
    
        /**
         * A collection of the final rendered user manual
         */
        public abstract ConfigurableFileCollection getRenderedDocumentation();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            }
        }
    
        @Override
        public List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope) {
            Project prj = nonNull(project, "project");
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                return prj.getBuild().getResources();
            } else if (scope == ProjectScope.TEST) {
                return prj.getBuild().getTestResources();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            Set<String> artifacts = new LinkedHashSet<>();
            Set<String> packages = new LinkedHashSet<>();
    
            try {
                Enumeration<URL> urls = loader.getResources(BUILDER.getExtensionDescriptorLocation());
                while (urls.hasMoreElements()) {
    
                    try (InputStream is = urls.nextElement().openStream()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                        .scriptSourceDirectory(alignToBaseDirectory(build.getScriptSourceDirectory(), basedir))
                        .resources(map(build.getResources(), r -> alignToBaseDirectory(r, basedir)))
                        .testResources(map(build.getTestResources(), r -> alignToBaseDirectory(r, basedir)))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top