need to recompute the root name for java test cases
need to recompute the root name for java test cases

Java needs the root for classpath so we have to recompute it after translating
test cases. The old method (recursive) would implicitly recompute through args.

timoc/ragel,timoc/ragel,timoc/ragel,timoc/ragel