You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2012/12/05 11:42:18 UTC

svn commit: r1417345 - in /myfaces/extensions/scripting/trunk/extscript-examples: myfaces20-example/src/main/webapp/WEB-INF/web.xml spring-example/src/main/webapp/WEB-INF/web.xml

Author: werpu
Date: Wed Dec  5 10:42:18 2012
New Revision: 1417345

URL: http://svn.apache.org/viewvc?rev=1417345&view=rev
Log:
EXTSCRIPT-185

Preparations for the 1.0.5 release
removing debugging code

Modified:
    myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml
    myfaces/extensions/scripting/trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml

Modified: myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml?rev=1417345&r1=1417344&r2=1417345&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml Wed Dec  5 10:42:18 2012
@@ -34,43 +34,8 @@
         </param-value>
     </context-param>
 
-    <context-param>
-        <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
-            of the deployment dir
-        </description>
-        <param-name>org.apache.myfaces.extensions.scripting.groovy.LOADER_PATHS</param-name>
-        <param-value>
-            /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/groovy
-        </param-value>
-    </context-param>
-    <context-param>
-        <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
-            of the deployment dir
-        </description>
-        <param-name>org.apache.myfaces.extensions.scripting.java.LOADER_PATHS</param-name>
-        <param-value>
-            /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/java
-        </param-value>
-    </context-param>
-    <context-param>
-        <description>Additional comma separated loader paths to allow direct editing on the source
-            directories of the deployment dir.
-        </description>
-        <param-name>org.apache.myfaces.extensions.scripting.ruby.LOADER_PATHS</param-name>
-        <param-value>
-            /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/ruby
-        </param-value>
-    </context-param>
-
-    <context-param>
-        <description>resource paths for our custom JSF2 resource resolver</description>
-        <param-name>org.apache.myfaces.extensions.scripting.resources.LOADER_PATHS</param-name>
-        <param-value>
-            /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/myfaces20-example/src/main/webapp
-        </param-value>
-    </context-param>
-
-    <context-param>
+    <!--
+     <context-param>
         <description>a redirecting Facelet resource resolver which allows to pick up templates and resources from our
             source dir
         </description>
@@ -78,7 +43,6 @@
         <param-value>org.apache.myfaces.extensions.scripting.jsf.facelet.ReroutingResourceResolver</param-value>
     </context-param>
 
-    <!--
     <context-param>
         <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
             of the deployment dir
@@ -89,7 +53,6 @@
         </param-value>
     </context-param>
 
-
     <context-param>
         <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
             of the deployment dir
@@ -100,7 +63,6 @@
         </param-value>
     </context-param>
 
-
     <context-param>
         <description>Additional comma separated loader paths to allow direct editing on the source
         directories of the deployment dir.
@@ -111,18 +73,36 @@
         </param-value>
     </context-param>
 
+     <context-param>
+        <description>Additional comma separated loader paths to allow direct editing on the source
+        directories of the deployment dir.
+        </description>
+        <param-name>org.apache.myfaces.extensions.scripting.ruby.LOADER_PATHS</param-name>
+        <param-value>
+            /whatever/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/scala
+        </param-value>
+    </context-param>
+
     <context-param>
-        <description>resource paths for our custom JSF2 resource resolver</description>
+        <description>resource paths for our custom JSF2 rerouting resource resolver</description>
         <param-name>org.apache.myfaces.extensions.scripting.resources.LOADER_PATHS</param-name>
         <param-value>
             /whatever/extscript-examples/myfaces20-example/src/main/webapp
         </param-value>
     </context-param>
 
-
+    <context-param>
+        <description>Some containers do not expand their war/ear files and do not return a proper classpath for the
+        compilers.
+        For those you can set an additional classpath as comma separated list of paths so that the compiler can pick
+        up dependencies from other directories. Wildcarding regarding jar and zip files is allowed.
+        </description>
+        <param-name>org.apache.myfaces.extensions.scripting.ADDITIONAL_CLASSPATH</param-name>
+        <param-value>/whatever/extscript-examples/myfaces20-example/target/myfaces20-extscript-helloworld-1.0.4-SNAPSHOT/WEB-INF/lib/*.jar,
+        /whatever/extscript-examples/myfaces20-example/target/myfaces20-extscript-helloworld-1.0.4-SNAPSHOT/WEB-INF/classes</param-value>
+    </context-param>
     -->
 
-
     <context-param>
         <param-name>javax.faces.PROJECT_STAGE</param-name>
         <param-value>Development</param-value>

Modified: myfaces/extensions/scripting/trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml?rev=1417345&r1=1417344&r2=1417345&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/scripting/trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml Wed Dec  5 10:42:18 2012
@@ -42,15 +42,14 @@
     </context-param>
 
     <context-param>
-            <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
-                of the deployment dir
-            </description>
-            <param-name>org.apache.myfaces.extensions.scripting.ruby.LOADER_PATHS</param-name>
-            <param-value>
-                /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/ruby            </param-value>
-        </context-param>
-    -->
-    <!--
+        <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
+            of the deployment dir
+        </description>
+        <param-name>org.apache.myfaces.extensions.scripting.ruby.LOADER_PATHS</param-name>
+        <param-value>
+            /Users/werpu2/development/workspace/extscript_trunk/extscript-examples/spring-example/src/main/webapp/WEB-INF/ruby            </param-value>
+    </context-param>
+
     <context-param>
         <description>Additional comma separated loader paths to allow direct editing on the sources directory instead
             of the deployment dir
@@ -71,9 +70,6 @@
         </param-value>
     </context-param>
 
-
-
-
     <context-param>
         <description>resource paths for our custom JSF2 resource resolver</description>
         <param-name>org.apache.myfaces.extensions.scripting.resources.LOADER_PATHS</param-name>
@@ -108,31 +104,16 @@
         <param-value>/WEB-INF/spring-config.xml</param-value>
     </context-param>
 
-    <context-param>
-        <param-name>sourcePathLocation</param-name>
-        <param-value>/home/bhuemer/Projects/spring-scripting/spring-scripting-usecase/src/main/java</param-value>
-    </context-param>
-
     <!-- Listener, to allow Jetty serving MyFaces apps -->
-  
     <listener>
         <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
     </listener>
     
     <listener>
-        <!--
-        <listener-class>
-            org.springframework.web.context.ContextLoaderListener
-        </listener-class>
-        -->
+        <!-- this listener class enables our spring reloading -->
         <listener-class>
             org.apache.myfaces.extensions.scripting.spring.context.CompilationAwareContextLoaderListener
         </listener-class>
-        <!--
-          <listener-class>
-          at.irian.springframework.extensions.scripting.context.CompilationAwareContextLoaderListener
-        </listener-class>
-        -->
     </listener>
 
 </web-app>