anchor.diff:  	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/webapps
   
   	    # Symlink all the given common libs files or paths into the lib/ directory
  -	    for i in ${pkgs.tomcat6} ${toString cfg.commonLibs}
  +	    for i in ${tomcat} ${toString cfg.commonLibs}
   	    do
   		if [ -f $i ]
   		then
  
positive.code: 	    mkdir -p ${cfg.baseDir}
  
  	    # Create a symlink to the bin directory of the tomcat component
  	    ln -sfn ${pkgs.tomcat6}/bin ${cfg.baseDir}/bin
  
  	    # Create a conf/ directory
  	    mkdir -p ${cfg.baseDir}/conf
  	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/conf
  
  	    # Symlink the config files in the conf/ directory (except for catalina.properties and server.xml)
  	    for i in $(ls ${pkgs.tomcat6}/conf | grep -v catalina.properties | grep -v server.xml)
  	    do
  	        ln -sfn ${pkgs.tomcat6}/conf/$i ${cfg.baseDir}/conf/`basename $i`
  	    done
  
              # Create subdirectory for virtual hosts
  
negative.code:       };
  
        webapps = mkOption {
          default = [ tomcat ];
          description = "List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat";
        };
  
  