コード例 #1
0
  @BeforeClass
  public static void setUpPython() throws Exception {
    GeoServerResourceLoader loader = new GeoServerResourceLoader(new File("target"));

    python = new Python(loader);
    GeoserverDataDirectory.setResourceLoader(loader);
  }
コード例 #2
0
 @AfterClass
 public static void tearDownPython() throws Exception {
   GeoserverDataDirectory.setResourceLoader(null);
 }