add resource dirs to classpath