()
| 353 | } |
| 354 | |
| 355 | private void markPredeployedJarsFromProperties() throws ExecException { |
| 356 | // mark jars as predeployed from properties |
| 357 | String jar_str = pigContext.getProperties().getProperty("pig.predeployed.jars"); |
| 358 | |
| 359 | if(jar_str != null){ |
| 360 | // Use File.pathSeparator (":" on Linux, ";" on Windows) |
| 361 | // to correctly handle path aggregates as they are represented |
| 362 | // on the Operating System. |
| 363 | for(String jar : jar_str.split(File.pathSeparator)){ |
| 364 | if (jar.length() > 0) { |
| 365 | pigContext.markJarAsPredeployed(jar); |
| 366 | } |
| 367 | } |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | public PigContext getPigContext(){ |
| 372 | return pigContext; |
no test coverage detected