Examples of AdaptrexJS


Examples of com.adaptrex.tools.framework.javascript.AdaptrexJS

     * Update the list of weblibs
     */
    if (weblib.exists()) {
      for (String folderName : weblib.list()) {
        if (folderName.startsWith("adaptrex")) {
          AdaptrexJS fw = new AdaptrexJS(env.getWebrootPath() + "/weblib/" + folderName);
          if (fw != null && fw.getVersion() != null)
            this.env.getAdaptrexFrameworks().put(folderName,fw);
        }
       
        if (folderName.startsWith("ext")) {
          ExtJS fw = new ExtJS(env.getWebrootPath() + "/weblib/" + folderName);
          if (fw != null && fw.getVersion() != null)
            this.env.getExtFrameworks().put(folderName,fw);
        }
       
        if (folderName.startsWith("sencha")) {
          SenchaTouch fw = new SenchaTouch(env.getWebrootPath() + "/weblib/" + folderName);
          if (fw != null && fw.getVersion() != null)
            this.env.getSenchaTouchFrameworks().put(folderName,fw);
       
      }     
    }
   
View Full Code Here

Examples of com.adaptrex.tools.framework.javascript.AdaptrexJS

        "Webapp Path      : " + webapp.getFullPath() + CR +
        "Common Namespace : " + webapp.getGlobalNamespace() + CR +
        "Common JS Folder : " + webapp.getGlobalFolder() + CR +
        HR);

    AdaptrexJS adaptrex = webapp.getAdaptrex();
    ExtJS ext = webapp.getExt();
    SenchaTouch st = webapp.getSenchaTouch();
    String orm = webapp.getOrm();
    String presentation = webapp.getPresentation();
    String di = webapp.getDi();
    System.out.println(CR + "Frameworks" + CR + HR + CR +
        "AdaptrexJS       : " +
          (adaptrex == null ? "-" : adaptrex.getVersion() +
          " (" + adaptrex.getFolderName() + ")") + CR +
        "ExtJS            : "
          + (ext == null ? "-" : ext.getVersion() + " (" + ext.getFolderName() + ")") + CR +
        "Sencha Touch     : " +
          (st == null ? "-" : st.getVersion() + " (" + st.getFolderName() + ")") + CR +
        "ORM              : " + (orm == null ? "-" : orm) + CR +
View Full Code Here

Examples of com.adaptrex.tools.framework.javascript.AdaptrexJS

    System.out.println("Available Frameworks" + CR + HR);

    Map<String, AdaptrexJS> adaptrexFrameworks = env.getAdaptrexFrameworks();
    for (String key : adaptrexFrameworks.keySet()) {
      AdaptrexJS adaptrex = adaptrexFrameworks.get(key);
      System.out.println("Adaptrex        : " + adaptrex.getVersion() + " (" + adaptrex.getFolderName()
          + ")");
    }

    Map<String, ExtJS> extFrameworks = env.getExtFrameworks();
    for (String key : extFrameworks.keySet()) {
View Full Code Here

Examples of com.adaptrex.tools.framework.javascript.AdaptrexJS

     */
    Environment env = environmentService.getEnvironment();
    if (adaptrexVersion.equals(JavaScriptFramework.DEFAULT)) {
      Map<String,AdaptrexJS> fw = env.getAdaptrexFrameworks();
      if (fw.size() == 1) {
        AdaptrexJS adaptrex = (AdaptrexJS) fw.get(fw.keySet().iterator().next());
        adaptrexVersion = adaptrex.getFolderName();
      }
    }
   
    if (extFolder.equals(JavaScriptFramework.DEFAULT)) {
      Map<String,ExtJS> fw = env.getExtFrameworks();
View Full Code Here

Examples of com.adaptrex.tools.framework.javascript.AdaptrexJS

     */
    Environment env = environmentService.getEnvironment();
    if (adaptrexVersion.equals(JavaScriptFramework.DEFAULT)) {
      Map<String,AdaptrexJS> fw = env.getAdaptrexFrameworks();
      if (fw.size() == 1) {
        AdaptrexJS adaptrex = (AdaptrexJS) fw.get(fw.keySet().iterator().next());
        adaptrexVersion = adaptrex.getFolderName();
      }
    }
   
    if (extFolder.equals(JavaScriptFramework.DEFAULT)) {
      Map<String,ExtJS> fw = env.getExtFrameworks();
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.