automatically configure source folders and xbase dependency for java generating languages