EXTSCRIPT-185
Preparations for the 1.0.5 release
removing debugging code
git-svn-id: https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk@1417345 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml b/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml
index 533b988..c233859 100644
--- a/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml
+++ b/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/web.xml
@@ -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>
diff --git a/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml b/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml
index 2205af3..1d89fe6 100644
--- a/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml
+++ b/extscript-examples/spring-example/src/main/webapp/WEB-INF/web.xml
@@ -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>