(String[] args)
| 653 | } // modify |
| 654 | |
| 655 | public static void main(String[] args) { |
| 656 | System.out.println(System.getProperty("path.separator")); |
| 657 | System.out.println("intre"); |
| 658 | System.out.println(System.getProperty("java.class.path")); |
| 659 | BootStrap bootStrap = new BootStrap(); |
| 660 | Set<String> interfaces = new HashSet<String>(); |
| 661 | interfaces.add("gate.Document"); |
| 662 | interfaces.add("gate.ProcessingResource"); |
| 663 | try{ |
| 664 | |
| 665 | bootStrap.createResource("morph","creole.sheffield.ac.lisa","LanguageResource", |
| 666 | "Documente", interfaces, "z:/test"); |
| 667 | } catch (GateException ge) { |
| 668 | ge.printStackTrace(Err.getPrintWriter()); |
| 669 | } catch (ClassNotFoundException cnfe) { |
| 670 | cnfe.printStackTrace(Err.getPrintWriter()); |
| 671 | } catch (IOException ioe) { |
| 672 | ioe.printStackTrace(Err.getPrintWriter()); |
| 673 | } catch (InterruptedException ie){ |
| 674 | ie.printStackTrace(Err.getPrintWriter()); |
| 675 | } |
| 676 | }// main |
| 677 | |
| 678 | } // class BootStrap |
| 679 |
nothing calls this directly
no test coverage detected