Code Monkey home page Code Monkey logo

jvff / gradle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gradle/gradle

0.0 0.0 0.0 147.72 MB

A powerful build system for the JVM

Home Page: gradle.org

License: Apache License 2.0

Java 50.09% Groovy 43.53% CSS 0.13% Scala 0.07% XSLT 0.10% C 0.28% Brainfuck 0.01% HTML 0.08% JavaScript 0.58% GAP 0.01% Assembly 0.01% C++ 5.10% Objective-C 0.02% Objective-C++ 0.01% CoffeeScript 0.01% Shell 0.02% Python 0.01% Kotlin 0.01% Gherkin 0.01%

gradle's People

Contributors

adammurdoch avatar adrianbk avatar bamboo avatar big-guy avatar bigdaz avatar breskeby avatar cbeams avatar donat avatar eriwen avatar eskatos avatar etiennestuder avatar freekh avatar ghale avatar hansd avatar jjohannes avatar ldaley avatar lhotari avatar lptr avatar melix avatar mockitoguy avatar oehme avatar perryn avatar pioterj avatar pledbrook avatar pniederw avatar radimk avatar riemenschneider avatar rraziel avatar teyckmans avatar wolfs avatar

Watchers

 avatar  avatar

gradle's Issues

Verify that SingleIncludePatternFileTree is implemented correctly

The doVisit() method keeps track of the relative path in a LinkedList and uses an integer to track the segment index. Because integers aren't stored in the heap (they are immutable), it can't be stored as a final method variable to be used in the SymlinkAwareFileVisitor anonymous class instance. The workaround used was to simply use the relative path list size, but this might not be optimal.

Keep default FileVisitor symlink handling consistent

Jdk7DirectoryWalker by default follows all links. Need to see if this behaviour should be kept, and then make all implementations that have both a visit(FileVisitor) and a visit(SymlinkAwareFileVisitor) methods consistent.

Maybe change Java 7 NIO symlink code with Gradle `FileSystem` code

Some classes use NIO to detect if a File is a symbolic link or not, maybe this should use a FileSystem instance instead to not be dependent on Java 7.

Classes:

  • AbstractFileTreeElement
  • DefaultFileTreeElement
  • DefaultDirectoryWalker
  • DirectoryFileTree
  • SingletonFileTree
  • SingleIncludePatternFileTree

Decide how to follow symbolic links FileTree streams

An example is a Tar file. It is read as a stream, and the stream file entries can be symbolic links. When visiting, the file entries are visited in the stream order. The problem arises when a symbolic link is read and the symbolic link strategy is set to follow. A couple of situations can appear:

  1. The symlink references a file that has already been visited
  2. The symlink references a file that will be visited in the future
  3. The symlink potentially references a file not the archive
    1. The refereced path is relative
    2. The referenced path is absolute (e.g., link to a system file)

Need to consider how to handle these situations.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.