myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Extensions/Scripting/Setup" by WernerPunz
Date Tue, 09 Mar 2010 15:34:05 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The "Extensions/Scripting/Setup" page has been changed by WernerPunz.
http://wiki.apache.org/myfaces/Extensions/Scripting/Setup?action=diff&rev1=16&rev2=17

--------------------------------------------------

          <description>a comma separated whitelist of root packages which are compiled
those and nothing else
              will be compiled during all compile stages, all other files stay permanently
as they are
          </description>
-         <param-name>org.apache.myfaces.SCRIPTING_PGK_WHITELIST</param-name>
+         <param-name>org.apache.myfaces.scripting.PGK_WHITELIST</param-name>
          <param-value>comma.separated.list.of.packages</param-value>
      </context-param>
  }}}
@@ -178, +178 @@

  
  <<<Note if you use this feature make sure the parts of your system which are not
handled by Ext-Scripting are precompiled by your build system>>>
  
+ 
+ 
+ === Additional Classpaths ===
+ 
+ Although <<<EXT-SCRIPTING>>> uses internally the mechanisms the underlying
container provides, and thus has full access
+ to the classpath of the running application, 
+ it is sometimes desirable to add additinal jars and paths which the compiler
+ needs for the processing of the source files.
+ 
+ Here the optional <<<org.apache.myfaces.scripting.ADDITIONAL_CLASSPATH>>>
parameter helps out.
+ With it you can add a comma separated list of additional classpath entries which are picked
up at compile time.
+ 
+ {{{
+    <context-param>
+         <description>a comma separated whitelist of root packages which are compiled
those and nothing else
+             will be compiled during all compile stages, all other files stay permanently
as they are
+         </description>
+         <param-name>org.apache.myfaces.scripting.ADDITIONAL_CLASSPATH</param-name>
+         <param-value>/myDir/entry1.jar,/myDir/classes/</param-value>
+     </context-param>
+ }}}
+ 

Mime
View raw message