You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/07/28 10:58:29 UTC

svn commit: r426442 - /lenya/trunk/build.bat

Author: thorsten
Date: Fri Jul 28 01:58:29 2006
New Revision: 426442

URL: http://svn.apache.org/viewvc?rev=426442&view=rev
Log:
ASF Bugzilla Bug 34191 - JDK 1.5 build fails with NoClassDefFoundError: org/apache/xpath/XPathAPI
Applying patch from Michael Wohlfart to fix Windows Build (the last remaining issue with 1.5). 
Thx Michael and everyone else who help solving the issue.

Modified:
    lenya/trunk/build.bat

Modified: lenya/trunk/build.bat
URL: http://svn.apache.org/viewvc/lenya/trunk/build.bat?rev=426442&r1=426441&r2=426442&view=diff
==============================================================================
--- lenya/trunk/build.bat (original)
+++ lenya/trunk/build.bat Fri Jul 28 01:58:29 2006
@@ -19,17 +19,22 @@
 rem $Id: build.bat 54525 2004-10-11 09:39:04Z cziegeler $
 rem ----------------------------------------------------------------------------
 
+
+set COCOON_HOME=externals\cocoon_2_1_x
+set COCOON_ENDORSED_DIR=%COCOON_HOME%\lib\endorsed
+
 rem ----- Ignore system CLASSPATH variable
 set OLD_CLASSPATH=%CLASSPATH%
 set CLASSPATH=
 for %%i in (lib\*.jar) do call tools\bin\appendcp.bat %%i
+for %%i in (%COCOON_ENDORSED_DIR%\*.jar) do call tools\bin\appendcp.bat %%i
 
 rem ----- Use Ant shipped with Cocoon. Ignore installed in the system Ant
 set OLD_ANT_HOME=%ANT_HOME%
 set ANT_HOME=tools
 
-call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=lib\endorsed -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9
-
+call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=%COCOON_ENDORSED_DIR% -logger org.apache.tools.ant.NoBannerLogger -emacs %1 %2 %3 %4 %5 %6 %7 %8 %9
+ 
 rem ----- Restore ANT_HOME and ANT_OPTS
 set ANT_HOME=%OLD_ANT_HOME%
 set OLD_ANT_HOME=



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org