cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r377333 - in /cocoon/branches/BRANCH_2_1_X: cocoon.bat cocoon.sh
Date Mon, 13 Feb 2006 10:13:52 GMT
Author: jbq
Date: Mon Feb 13 02:13:50 2006
New Revision: 377333

URL: http://svn.apache.org/viewcvs?rev=377333&view=rev
Log:
Add WEB-INF/classes to loader's classpath for cli and precompile

Modified:
    cocoon/branches/BRANCH_2_1_X/cocoon.bat
    cocoon/branches/BRANCH_2_1_X/cocoon.sh

Modified: cocoon/branches/BRANCH_2_1_X/cocoon.bat
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/cocoon.bat?rev=377333&r1=377332&r2=377333&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/cocoon.bat (original)
+++ cocoon/branches/BRANCH_2_1_X/cocoon.bat Mon Feb 13 02:13:50 2006
@@ -136,7 +136,7 @@
 
 :cliLoopEnd
 
-"%JAVA_HOME%\bin\java.exe" %JAVA_OPTIONS% -classpath "%CP%" -Djava.endorsed.dirs=lib\endorsed
"-Dloader.jar.repositories=%COCOON_LIB%" -Dloader.class.path=lib\core\servlet_2_2.jar -Dloader.verbose=false
-Dloader.main.class=org.apache.cocoon.Main Loader %param%
+"%JAVA_HOME%\bin\java.exe" %JAVA_OPTIONS% -classpath "%CP%" -Djava.endorsed.dirs=lib\endorsed
"-Dloader.jar.repositories=%COCOON_LIB%" "-Dloader.class.path=lib\core\servlet_2_2.jar;%COCOON_HOME%\build\webapp\WEB-INF\classes"
-Dloader.verbose=false -Dloader.main.class=org.apache.cocoon.Main Loader %param%
 goto end
 
 :: ----- Precompile ------------------------------------------------------------
@@ -152,7 +152,7 @@
 
 :PrecompileLoopEnd
 
-"%JAVA_HOME%\bin\java.exe" %JAVA_OPTIONS% -classpath "%CP%" -Djava.endorsed.dirs=lib\endorsed
"-Dloader.jar.repositories=%COCOON_LIB%" -Dloader.class.path=lib\core\servlet_2_2.jar -Dloader.verbose=false
-Dloader.main.class=org.apache.cocoon.bean.XSPPrecompileWrapper Loader %param%
+"%JAVA_HOME%\bin\java.exe" %JAVA_OPTIONS% -classpath "%CP%" -Djava.endorsed.dirs=lib\endorsed
"-Dloader.jar.repositories=%COCOON_LIB%" "-Dloader.class.path=lib\core\servlet_2_2.jar;%COCOON_HOME%\build\webapp\WEB-INF\classes"
-Dloader.verbose=false -Dloader.main.class=org.apache.cocoon.bean.XSPPrecompileWrapper Loader
%param%
 goto end
 
 :: ----- Servlet ---------------------------------------------------------------

Modified: cocoon/branches/BRANCH_2_1_X/cocoon.sh
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/cocoon.sh?rev=377333&r1=377332&r2=377333&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/cocoon.sh (original)
+++ cocoon/branches/BRANCH_2_1_X/cocoon.sh Mon Feb 13 02:13:50 2006
@@ -141,7 +141,7 @@
 
 CLI="-Dloader.main.class=org.apache.cocoon.Main"
 CLI_LIBRARIES="-Dloader.jar.repositories=$COCOON_LIB"
-CLI_CLASSPATH="-Dloader.class.path=lib/core/servlet_2_2.jar"
+CLI_CLASSPATH="-Dloader.class.path=lib/core/servlet_2_2.jar:$COCOON_WEBAPP_HOME/WEB-INF/classes"
 CLI_VERBOSE="-Dloader.verbose=false"
 CLI_PROPERTIES="$CLI_LIBRARIES $CLI_CLASSPATH $CLI_VERBOSE"
 



Mime
View raw message