build directory of resource added