Package org.bladerunnerjs.model

Examples of org.bladerunnerjs.model.App.dir()


  {
    File servletContextFilePath = new File(servletContext.getRealPath("/"));
    App app = brjs.locateAncestorNodeOfClass(servletContextFilePath, App.class);
    if (app == null) {
      App brjsApp = brjs.app( servletContextFilePath.getName() );
      if (brjsApp.dirExists() && brjsApp.dir().equals(servletContextFilePath)) {
        app = brjsApp;
      }
    }
   
    if (app == null) {
View Full Code Here


      NotFileFilter brjsJarFilter = new NotFileFilter(new AndFileFilter(new PrefixFileFilter("brjs-"), new SuffixFileFilter(".jar")));
      IOFileFilter combinedFilter = new AndFileFilter(new ExcludeDirFileFilter("bundles"), brjsJarFilter);
     
      combinedFilter = new AndFileFilter(combinedFilter, excludeUserLibraryTestsFilter);
     
      createResourcesFromSdkTemplate(app.dir(), temporaryExportDir, combinedFilter);
      if (banner != null) {
        String jsBanner = "/*\n" + banner + "\n*/\n\n";
        includeBannerInDirectoryClasses(new File(temporaryExportDir, "libs"), jsBanner, bannerExtensions);
      }
      FileUtility.zipFolder(temporaryExportDir, destinationZipLocation, false);
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.