Package com.webobjects.appserver._private

Examples of com.webobjects.appserver._private.WODeployedBundle.bundlePath()


    Object obj = null;
    try {
      WODeployedBundle wodeployedbundle = WODeployedBundle.deployedBundle();
      obj = wodeployedbundle.projectBundle();
      if (obj != null) {
        log.warn("Application project found: Will locate resources in '" + ((WOProjectBundle) obj).projectPath() + "' rather than '" + wodeployedbundle.bundlePath() + "' .");
      }
      else {
        obj = wodeployedbundle;
      }
    }
View Full Code Here


  public ERXStaticResourceRequestHandler(String frameworkName) {
    if ("app".equals(frameworkName)) {
      frameworkName = null;
    }
    WODeployedBundle bundle = WOApplication.application().resourceManager()._cachedBundleForFrameworkNamed(frameworkName);
    File bundleFile = new File(bundle.bundlePath());
    if (bundle.isFramework()) {
      bundleFile = new File(bundleFile, "WebServerResources");
    }
    else {
      bundleFile = new File(new File(bundleFile, "Contents"), "WebServerResources");
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.