The Main-Class for the Pig Jar that will provide a shell and setup a classpath appropriate for executing Jar files. Warning, this method calls System.exit(). @param args -jar can be used to add additional jar files (colon separated). - will start a shell. -e will execute the
(String args[])
| 172 | * @throws IOException |
| 173 | */ |
| 174 | public static void main(String args[]) { |
| 175 | System.exit(run(args, null)); |
| 176 | } |
| 177 | |
| 178 | static int run(String args[], PigProgressNotificationListener listener) { |
| 179 | DateTime startTime = new DateTime(); |