Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for source_file (0.2 sec)

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

    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class XIncludeAwareXmlProvider {
    
        Document root
    
        Element parse(File sourceFile) {
            root = parseSourceFile(sourceFile)
            root.documentElement
        }
    
        Node emptyDoc() {
            root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

     * <ul>
     * <li>Meta-data extracted from the source by {@link gradlebuild.docs.dsl.source.ExtractDslMetaDataTask}.</li>
     * <li>Meta-data about the plugins, in the form of an XML file.</li>
     * <li>{@code sourceFile} - A main docbook template file containing the introductory material and a list of classes to document.</li>
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                    }
                }
            )
        }
    }
    
    
    fun JarOutputStream.addJarEntry(entryName: String, sourceFile: File) {
        val entry = ZipEntry(entryName)
        entry.time = CONSTANT_TIME_FOR_ZIP_ENTRIES
        putNextEntry(entry)
        BufferedInputStream(FileInputStream(sourceFile)).use { inputStream -> inputStream.copyTo(this) }
        closeEntry()
    }
    
    
    fun File.getClassSuperTypes(): Set<String> {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            }
    
            return sequenceOf(directory)
        }
    
        private
        fun aJar(sourceFiles: Sequence<Path>): Sequence<Path> {
            val outputPath = projectDir.resolve("mylib.jar")
            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @Input
        abstract Property<String> getVersion();
    
        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformImpl(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformImpl(Document doc) {
            use(BuildableDOMCategory) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    belonging to the package and which are accessible in all files
    of the same package. Those elements may be
    <a href="#Exported_identifiers">exported</a> and used in another package.
    </p>
    
    <h3 id="Source_file_organization">Source file organization</h3>
    
    <p>
    Each source file consists of a package clause defining the package
    to which it belongs, followed by a possibly empty set of import
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. doc/go_spec.html

    belonging to the package and which are accessible in all files
    of the same package. Those elements may be
    <a href="#Exported_identifiers">exported</a> and used in another package.
    </p>
    
    <h3 id="Source_file_organization">Source file organization</h3>
    
    <p>
    Each source file consists of a package clause defining the package
    to which it belongs, followed by a possibly empty set of import
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top