Examples of IamlRuntimeLibrariesPlugin


Examples of org.openiaml.model.runtime.IamlRuntimeLibrariesPlugin

       * TODO Currently this is implemented fairly inefficiently; every additional
       * runtime source has a copy/pasted implementation. It should be refactored.
       */
     
      {
        IamlRuntimeLibrariesPlugin runtime = IamlRuntimeLibrariesPlugin.getInstance();
       
        // add a listener
        runtime.addFileCopyListener(this);
 
        try {
          runtime.copyRuntimeFiles(project, new SubProgressMonitor(monitor, 10));
        } catch (IOException e) {
          return new Status(Status.ERROR, PLUGIN_ID, "Cannot yet copy over runtime files: " + e.getMessage(), e);
        } catch (CoreException e) {
          return new Status(Status.ERROR, PLUGIN_ID, "Cannot yet copy over runtime files: " + e.getMessage(), e);
        }
      }

      {
        IamlRuntimePhpmailerPlugin runtime = IamlRuntimePhpmailerPlugin.getInstance();
       
        // add a listener
        runtime.addFileCopyListener(this);
 
        try {
          runtime.copyRuntimeFiles(project, new SubProgressMonitor(monitor, 10));
        } catch (IOException e) {
          return new Status(Status.ERROR, PLUGIN_ID, "Cannot yet copy over runtime files: " + e.getMessage(), e);
        } catch (CoreException e) {
          return new Status(Status.ERROR, PLUGIN_ID, "Cannot yet copy over runtime files: " + e.getMessage(), e);
        }
View Full Code Here

Examples of org.openiaml.model.runtime.IamlRuntimeLibrariesPlugin

   * should include the plugin version.
   */
  public void testIndexHtmlVersion() throws Exception {
    String pluginVersion = getPluginVersion();
   
    IamlRuntimeLibrariesPlugin plugin = IamlRuntimeLibrariesPlugin.getInstance();
    URL indexHtml = plugin.getResolvedFile("src/web/index.html");
   
    assertContains(indexHtml.openStream(), pluginVersion);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.