moving old code out

git-svn-id: https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk@1300493 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/GroovyGlobalReloadingStrategy.groovy b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/GroovyGlobalReloadingStrategy.groovy
deleted file mode 100644
index 6b6e156..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/GroovyGlobalReloadingStrategy.groovy
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.myfaces.extensions.scripting.groovyloader.core
-
-import org.apache.myfaces.extensions.scripting.api.ReloadingStrategy
-import org.apache.myfaces.extensions.scripting.core.reloading.SimpleReloadingStrategy
-import org.apache.myfaces.extensions.scripting.api.BaseWeaver
-import org.apache.myfaces.extensions.scripting.core.reloading.NoMappingReloadingStrategy
-import org.apache.myfaces.extensions.scripting.api.ScriptingWeaver;
-
-/**
- * Reloading strategy for the groovy
- * connectors
- *
- * Groovy has a different behavior, because
- * every attribute normally is reachable even
- * some introspection ones which under no circumstances
- * should be overwritten
- *
- * so er have to set the all others instance var to a specialized reloading strategy
- * and cope with the rest the standard java way by not doing anything
- *
- */
-public class GroovyGlobalReloadingStrategy extends org.apache.myfaces.extensions.scripting.core.reloading.GlobalReloadingStrategy {
-
-  //we cannot use a constructor here to bypass a groovy bug
-  //we use an explicit call to setWeaver instead
-
-  public GroovyGlobalReloadingStrategy() {
-    super();
-    _allOthers = new StandardGroovyReloadingStrategy()
-  }
-
-  public void setWeaver(ScriptingWeaver weaver) {
-    super.setWeaver(weaver)
-    _allOthers.setWeaver(weaver)
-  }
-
-}
\ No newline at end of file
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/StandardGroovyReloadingStrategy.groovy b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/StandardGroovyReloadingStrategy.groovy
deleted file mode 100644
index 8ff947d..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/StandardGroovyReloadingStrategy.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.myfaces.extensions.scripting.groovyloader.core
-
-import org.apache.myfaces.extensions.scripting.api.BaseWeaver
-import org.apache.myfaces.extensions.scripting.core.reloading.SimpleReloadingStrategy
-
-public class StandardGroovyReloadingStrategy extends SimpleReloadingStrategy {
-
-  public StandardGroovyReloadingStrategy(BaseWeaver weaver) {
-    super(weaver);
-  }
-
-  public StandardGroovyReloadingStrategy() {
-    super();
-  }
-
-  /**
-   * central algorithm which determines which property values are overwritten and which are not
-   */
-  protected void mapProperties(def target, def src) {
-    src.properties.each {property ->
-      //ok here is the algorithm, basic datatypes usually are not copied but read in anew and then overwritten
-      //later on
-      //all others can be manually overwritten by adding an attribute <attributename>_changed
-
-      try {
-        if (target.properties.containsKey(property.key)
-                && !property.key.equals("metaClass")        //the class information and meta class information cannot be changed
-                && !property.key.equals("class")            //otherwise we will get following error
-                // java.lang.IllegalArgumentException: object is not an instance of declaring class
-                && !(
-        target.properties.containsKey(property.key + "_changed") //||
-        //nothing further needed the phases take care of that
-        )) {
-          target.setProperty(property.key, property.value)
-        }
-      } catch (Exception e) {
-
-      }
-    }
-  }
-}
-
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/readme.txt b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/readme.txt
deleted file mode 100644
index f2de993..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/extensions/scripting/groovyloader/core/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-This is the core of the groovy loader
-we have two things in here
-a groovy proxy which allows the reloading
-of groovy objects loaded via our classloader under certain circumstances
-The proxy on the groovy side loads itself into the class metadata
-so that the objects under the best circumstances
-can run new code or run a new instance
-
-
-secondly our threaded filewatcher
-and object reloader
-which checks if files have changed and then reloads
-objects wherever possible
-
-
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/GroovyGlobalReloadingStrategy.groovy b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/GroovyGlobalReloadingStrategy.groovy
deleted file mode 100644
index bcfa2cb..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/GroovyGlobalReloadingStrategy.groovy
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.myfaces.groovyloader.core
-
-import org.apache.myfaces.extensions.scripting.api.ReloadingStrategy
-import org.apache.myfaces.extensions.scripting.core.reloading.SimpleReloadingStrategy
-import org.apache.myfaces.extensions.scripting.api.BaseWeaver
-import org.apache.myfaces.extensions.scripting.core.reloading.NoMappingReloadingStrategy
-import org.apache.myfaces.extensions.scripting.api.ScriptingWeaver;
-
-/**
- * Reloading strategy for the groovy
- * connectors
- *
- * Groovy has a different behavior, because
- * every attribute normally is reachable even
- * some introspection ones which under no circumstances
- * should be overwritten
- *
- * so er have to set the all others instance var to a specialized reloading strategy
- * and cope with the rest the standard java way by not doing anything
- *
- */
-public class GroovyGlobalReloadingStrategy extends org.apache.myfaces.extensions.scripting.core.reloading.GlobalReloadingStrategy {
-
-  //we cannot use a constructor here to bypass a groovy bug
-  //we use an explicit call to setWeaver instead
-
-  public GroovyGlobalReloadingStrategy() {
-    super();
-    _allOthers = new StandardGroovyReloadingStrategy()
-  }
-
-  public void setWeaver(ScriptingWeaver weaver) {
-    super.setWeaver(weaver)
-    _allOthers.setWeaver(weaver)
-  }
-
-}
\ No newline at end of file
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/StandardGroovyReloadingStrategy.groovy b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/StandardGroovyReloadingStrategy.groovy
deleted file mode 100644
index 8985432..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/StandardGroovyReloadingStrategy.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.myfaces.groovyloader.core
-
-import org.apache.myfaces.extensions.scripting.api.BaseWeaver
-import org.apache.myfaces.extensions.scripting.core.reloading.SimpleReloadingStrategy
-
-public class StandardGroovyReloadingStrategy extends SimpleReloadingStrategy {
-
-  public StandardGroovyReloadingStrategy(BaseWeaver weaver) {
-    super(weaver);
-  }
-
-  public StandardGroovyReloadingStrategy() {
-    super();
-  }
-
-  /**
-   * central algorithm which determines which property values are overwritten and which are not
-   */
-  protected void mapProperties(def target, def src) {
-    src.properties.each {property ->
-      //ok here is the algorithm, basic datatypes usually are not copied but read in anew and then overwritten
-      //later on
-      //all others can be manually overwritten by adding an attribute <attributename>_changed
-
-      try {
-        if (target.properties.containsKey(property.key)
-                && !property.key.equals("metaClass")        //the class information and meta class information cannot be changed
-                && !property.key.equals("class")            //otherwise we will get following error
-                // java.lang.IllegalArgumentException: object is not an instance of declaring class
-                && !(
-        target.properties.containsKey(property.key + "_changed") //||
-        //nothing further needed the phases take care of that
-        )) {
-          target.setProperty(property.key, property.value)
-        }
-      } catch (Exception e) {
-
-      }
-    }
-  }
-}
-
diff --git a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/readme.txt b/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/readme.txt
deleted file mode 100644
index f2de993..0000000
--- a/extscript-core-root/extscript-core/src/main/groovy/org/apache/myfaces/groovyloader/core/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-This is the core of the groovy loader
-we have two things in here
-a groovy proxy which allows the reloading
-of groovy objects loaded via our classloader under certain circumstances
-The proxy on the groovy side loads itself into the class metadata
-so that the objects under the best circumstances
-can run new code or run a new instance
-
-
-secondly our threaded filewatcher
-and object reloader
-which checks if files have changed and then reloads
-objects wherever possible
-
-