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/09/13 10:43:32 UTC
svn commit: r1384235 -
/myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml
Author: werpu
Date: Thu Sep 13 08:43:32 2012
New Revision: 1384235
URL: http://svn.apache.org/viewvc?rev=1384235&view=rev
Log:
EXTSCRIPT-174 adding the additional classpath to the configuration
Modified:
myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml
Modified: myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml?rev=1384235&r1=1384234&r2=1384235&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/extensions/scripting/trunk/extscript-examples/myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/web.xml Thu Sep 13 08:43:32 2012
@@ -47,7 +47,7 @@
</description>
<param-name>org.apache.myfaces.extensions.scripting.groovy.LOADER_PATHS</param-name>
<param-value>
- /whatever/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/groovy
+ /whatever//myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/groovy
</param-value>
</context-param>
@@ -58,15 +58,26 @@
</description>
<param-name>org.apache.myfaces.extensions.scripting.java.LOADER_PATHS</param-name>
<param-value>
- /whatever/extscript-examples/myfaces20-example/src/main/webapp/WEB-INF/java
+ /whatever//myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/java
</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.scala.LOADER_PATHS</param-name>
+ <param-value>
+ /whatever//myfaces20-extscript-helloworld/src/main/webapp/WEB-INF/scala
+ </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>
- /whatever/extscript-examples/myfaces20-example/src/main/webapp
+ /whatever//myfaces20-extscript-helloworld/src/main/webapp/
</param-value>
</context-param>
@@ -77,6 +88,18 @@
<param-name>facelets.RESOURCE_RESOLVER</param-name>
<param-value>org.apache.myfaces.extensions.scripting.jsf.facelet.MyFacesReroutingResourceResolver</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//myfaces20-extscript-helloworld/target/myfaces20-extscript-helloworld-1.0.4-SNAPSHOT/WEB-INF/lib/*.jar,
+ /whatever//myfaces20-extscript-helloworld/target/myfaces20-extscript-helloworld-1.0.4-SNAPSHOT/WEB-INF/classes</param-value>
+ </context-param>
+
-->
<!--
<context-param>