Package anvil.server

Examples of anvil.server.CompilerPreferences


  {
    _cache   = cache;
    _address = address;
    _version = version;
   
    CompilerPreferences  prefs = address.getZone().getCompilerPreferences();
    String path = anvil.Version.getBuild() + address.getPathinfo();
    String postfix = (version!=0) ? "/v_"+version : "";
    String descriptor = mangle(path);
    boolean usetimestamp = prefs.getUseTimestamp();
    if (!(usetimestamp && forceParsing)) {
      _lastModified = -1;
      _descriptor = descriptor + postfix;
      if (!forceParsing) {
        if (loadClass()) {
View Full Code Here


      if (configFile != null) {
        ConfigReader reader = new ConfigReader(null, new File(configFile));
        server = reader.parse();
      } else {
        server = new Server(null);
        CompilerPreferences compiler = new CompilerPreferences(server);
        compiler.setUseTimestamp(false);
        compiler.setStoreImages(false);
        compiler.setClassPath("/var/tmp/");
        server.configure(compiler);
      }
      server.setShouldInvalidate(false);
      server.setContainer("file:/");
      if (namespace != null) {
View Full Code Here

      _server = new ConfigReader(null, new File(config)).parse()
      reconfigure(_server);
     
      Log.log().setSeverity(verbose ? Log.DEBUG : Log.ERROR);
     
      CompilerPreferences prefs = new CompilerPreferences(_server);
      prefs.setUseTimestamp(timestamp);
      prefs.setClassPath(target);
      _server.configure(prefs);
      _server.start();
     
      Vector envelopes = new Vector();
View Full Code Here

TOP

Related Classes of anvil.server.CompilerPreferences

Copyright © 2018 www.massapicom. 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.