public boolean performJavaCompilations ( File binDir , String serverSettings , String [ ] args , Set < String > recentlyCompiled , boolean [ ] rcValue ) { Map < String , Transformer > suffixRules = new HashMap < String , Transformer > ( ) ; suffixRules . put ( ".java" , compileJavaPackages ) ; compileJavaPackages . setExtra ( serverSettings ) ; compileJavaPackages . setExtra ( args ) ; rcValue [ 0 ] = perform ( binDir , suffixRules ) ; recentlyCompiled . addAll ( taintedPackages ( ) ) ; clearTaintedPackages ( ) ; boolean again = ! packagesWithChangedPublicApis . isEmpty ( ) ; taintPackagesDependingOnChangedPackages ( packagesWithChangedPublicApis , recentlyCompiled ) ; packagesWithChangedPublicApis = new HashSet < String > ( ) ; return again && rcValue [ 0 ] ; }
Compile all the java sources . Return true if it needs to be called again!