Get the full blown classpath.
()
| 449 | Get the full blown classpath. |
| 450 | */ |
| 451 | public BshClassPath getClassPath() throws ClassPathException |
| 452 | { |
| 453 | if ( fullClassPath != null ) |
| 454 | return fullClassPath; |
| 455 | |
| 456 | fullClassPath = new BshClassPath("BeanShell Full Class Path"); |
| 457 | fullClassPath.addComponent( BshClassPath.getUserClassPath() ); |
| 458 | try { |
| 459 | fullClassPath.addComponent( BshClassPath.getBootClassPath() ); |
| 460 | } catch ( ClassPathException e ) { |
| 461 | System.err.println("Warning: can't get boot class path"); |
| 462 | } |
| 463 | fullClassPath.addComponent( baseClassPath ); |
| 464 | |
| 465 | return fullClassPath; |
| 466 | } |
| 467 | |
| 468 | /** |
| 469 | Support for "import *;" |
no test coverage detected