コード例 #1
0
ファイル: Trove.java プロジェクト: Quintar/Illarion-Java
  /** Generate and return the files needed to be added to the class path for this resource. */
  @Override
  public Collection<File> getClassPath() {
    if (classpath == null) {
      final Collection<File> cp = new ArrayList<File>();
      cp.add(new File(LibraryDirectory.getInstance().getDirectory(), "trove.jar")); // $NON-NLS-1$

      classpath = cp;
    }
    return classpath;
  }
コード例 #2
0
ファイル: Xpp.java プロジェクト: Tiim/Illarion-Java
  /** Generate and return the files needed to be added to the class path for this resource. */
  @Override
  public Collection<File> getClassPath() {
    if (classpath == null) {
      final Collection<File> cp = new ArrayList<File>();
      final String dir = LibraryDirectory.getInstance().getDirectory();
      cp.add(new File(dir, "xpp3-1.1.4c.jar")); // $NON-NLS-1$
      cp.add(new File(dir, "xpp3_xpath-1.1.4c.jar")); // $NON-NLS-1$

      classpath = cp;
    }
    return classpath;
  }