Updated build.xml to handle jps-shared and dependencies.