Register / Login
Ant, Maven and Other Build Tools
Get Dir List
posted 4 years ago
I want to get Dir List from a root folder using
The problem in DirSet is, it brings subdirectory in the list. example
My RootFolder = Root +Dir1 +Dir2 + SubDir2_A +Dir3 + SubDir3_A + SubDir3_B
I will provide Root Folder as Input, the Dir List includes SubDir2_A and SubDir3_A and SubDir3_B, But i want to get only Dir1,Dir2 and Dir3.
Can anyone tell how to handle this? thanks in advance, your input is more valuable.
Basic Ant excludes question
Using find, excluding directories
classpath setup by taking jars from multiple directory
Moving files in java
Development: trouble with import and classpath