Skip to content

dhirajsardana/classpath-directory-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This utility reads directory ( which contains multi sub directory) from classpath and create similar tree structure on given path. This is useful when u need classptah resources(big bundle) during runtime.

To quickly verifies , please build the jar and execute by any of option:

  1. By default it will be in target directory : java -jar target/reading-from-jar-poc-1.0-SNAPSHOT.jar

2)Providing destination path : java -jar target/reading-from-jar-poc-1.0-SNAPSHOT.jar <Path_Where_You_Want_Dir_ToBeCopied>

You will see that 'resDir' and all its sub-directories will be copied to given path. Note : You can execute this jar from anywhere, because resources are bundled inside jar

About

Reads and copies directories which are under classpath

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages