Generate the java and cpp sources in Xcode.
Fix eclipse build processes.