A FileTree represents a hierarchy of files
Questions tagged [filetree]
81 questions
24
votes
2 answers
How to get files and directories name using Gradle?
I have dir in which another task create files and directories so in this dir there are files, directories, subdirectroies, files in them and ect. I want to put all absolute path of files and directories in a list.
def listNames =…

Xelian
- 16,680
- 25
- 99
- 152
17
votes
5 answers
Shortest sequence of operations transforming a file tree to another
Given two file trees A and B, is it possible to determine the shortest sequence of operations or a short sequence of operations that is necessary in order to transform A to B?
An operation can be:
Create a new, empty folder
Create a new file with…

Benoit
- 76,634
- 23
- 210
- 236
8
votes
1 answer
Exclude files from FileTree in Gradle
I want to exclude src\main and src\test files from src
FileCollection files =
project.fileTree(/src/).minus(project.fileTree(/src\main/)).minus(project.fileTree(/src\test/))
How can I exclude this directories without double minus usage?

Xelian
- 16,680
- 25
- 99
- 152
7
votes
1 answer
Gradle - how to iterate in fileTree only for certain type of file
in my gradle task I iterate through fileTree and all works good:
myTask {
fileTree("${project.projectDir}/dir").visit { FileVisitDetails details ->
exec {
//do some operations
}
}
}
but now I have different types of files in my…

Adrian
- 482
- 5
- 20
6
votes
1 answer
Angular Material Flat Tree Parent Children Graphical Representaion
I want to show Parent Children graphical representation on Angular Material Flat Tree.
This is the design :
Here is the DEMO what i done so far.

Anzil khaN
- 1,974
- 1
- 19
- 30
4
votes
1 answer
Skip subdirectories when using ntfw in c
I am trying to get all the files and directories in the current or mentioned folder using nftw. But how do I instruct the function not to go further in any subdirectory? What is the purpose of the flag FTW_SKIP_SUBTREE? Also what is the header file…

bytestorm
- 1,411
- 3
- 20
- 36
4
votes
3 answers
jquery file tree highlight selected
I am implementing a jQueryFileTree (http://www.abeautifulsite.net/jquery-file-tree/) as a file browser and would like each file or directory the user clicks on to stay highlighted. I know this can be done using simple JavaScript or CSS, but I don't…

Eroth
- 51
- 1
4
votes
1 answer
Monticello - Save to Squeaksource and Filetree in one commit
What I want is to commit a package or group of packages to both repositories at once, with the same version number if possible, so one repo can be mirror of the other.
Is it possible using Gofer?

Nahuel Garbezza
- 127
- 1
- 10
3
votes
1 answer
Django recursive model
I'm making my own "cloud server" with django, for my projects and files.
I'm trying to create tree file structure, but I cant figure out the way to do it.
And how I can make username based URL, like (username/root/home/Documents/...)I'm also…

Jertzuuka
- 163
- 1
- 1
- 5
2
votes
2 answers
Asynchronous operation of FileTree files?
Is there a way I can easily make the processing of FileTree files in a smart way in gradle tasks? I basically need to wait for the execution of all files, much like what you can do with GPars, but how do I do this gradle with FileTree?
task…

Stefan Kendall
- 66,414
- 68
- 253
- 406
2
votes
1 answer
jQuery File Tree always uses root folder as selected folder
I am having trouble displaying data using jQuery File Tree plugin. No matter what I use for 'root', it always uses '\' and displays content of C drive!
I am using aspx (with code behind that I am not using) and a master page.

NoBullMan
- 2,032
- 5
- 40
- 93
2
votes
1 answer
Gradle copy task not copying files from temp folder first time around
I've a build file that runs tasks like this.
Task 1 (unpackWar): Unzips war file to Temp folder
Task 2 (copyWarFilesToWebContent): Copies the files to WebContent folder with some exclusions
Task 3 (copyRequiredJarFilesToWebContent): Unzips a couple…

Predz
- 201
- 1
- 7
- 17
2
votes
1 answer
How to execute a shell command for each file in a Gradle file collection?
I've recently been directed to implement all build/release engineering jobs in Gradle.
So I'm new to Gradle and some things which are drop-dead obvious at a shell prompt are just hard to fathom in this brave new world.
My build creates a set of jar…

Bob Schaff
- 21
- 1
- 3
2
votes
1 answer
jQuery FileTree cannot read local shared folder?
I am trying to use jQuery FileTree to access a local shared folder. My code is below, which works absolutely fine if the folder has not been shared on the network. However, as soon as I share the folder, FileTree (or Javascript?) refuses to read it.…

Typel
- 1,109
- 1
- 11
- 34
1
vote
1 answer
Using contextMenu plugin with fileTree plugin without losing draggable support
The server is running off Ruby on Rails. Javascript is written using Coffeescript.
I am currently using the jQuery File Tree plugin with the Context Menu plugin. Both are working at the moment, with one minor problem. I also have draggable enabled…

Mizuho
- 90
- 9