You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2004/03/04 08:53:55 UTC
cvs commit: cocoon-2.1 appendcp.bat build.bat
antonio 2004/03/03 23:53:55
Modified: . build.bat
Added: . appendcp.bat
Log:
Don't copy endorsed jars to lib/tools
Revision Changes Path
1.6 +3 -15 cocoon-2.1/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs//cocoon-2.1/build.bat,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- build.bat 6 Oct 2003 16:07:22 -0000 1.5
+++ build.bat 4 Mar 2004 07:53:55 -0000 1.6
@@ -5,25 +5,13 @@
rem $Id$
rem ----------------------------------------------------------------------------
-rem ----- Copy Xalan and Xerces for the build system ------------------------
-if not exist "tools\lib\xerces*.jar" copy lib\local\xerces*.jar tools\lib
-if not exist "tools\lib\xerces*.jar" copy lib\endorsed\xerces*.jar tools\lib
-if not exist "tools\lib\xerces*.jar" copy lib\optional\xerces*.jar tools\lib
-if not exist "tools\lib\xerces*.jar" copy lib\core\xerces*.jar tools\lib
-if not exist "tools\lib\xalan*.jar" copy lib\local\xalan*.jar tools\lib
-if not exist "tools\lib\xalan*.jar" copy lib\endorsed\xalan*.jar tools\lib
-if not exist "tools\lib\xalan*.jar" copy lib\optional\xalan*.jar tools\lib
-if not exist "tools\lib\xalan*.jar" copy lib\core\xalan*.jar tools\lib
-if not exist "tools\lib\xml-api*.jar" copy lib\local\xml-api*.jar tools\lib
-if not exist "tools\lib\xml-api*.jar" copy lib\endorsed\xml-api*.jar tools\lib
-if not exist "tools\lib\xml-api*.jar" copy lib\optional\xml-api*.jar tools\lib
-if not exist "tools\lib\xml-api*.jar" copy lib\core\xml-api*.jar tools\lib
-
rem ----- Verify and Set Required Environment Variables ------------------------
rem ----- Ignore system CLASSPATH variable
set OLD_CLASSPATH=%CLASSPATH%
set CLASSPATH=
+for %%i in (.\lib\endorsed\*.jar) do call appendcp.bat %%i
+echo Using classpath: "%CLASSPATH%"
rem ----- Use Java in JAVA_HOME if JAVA_HOME is set.
set OLD_PATH=%PATH%
1.1 cocoon-2.1/appendcp.bat
Index: appendcp.bat
===================================================================
set CLASSPATH=%CLASSPATH%;%1
files in root dir (was: cvs commit: cocoon-2.1 appendcp.bat build.bat)
Posted by Joerg Heinicke <jo...@gmx.de>.
On 04.03.2004 08:53, antonio@apache.org wrote:
> antonio 2004/03/03 23:53:55
>
> Modified: . build.bat
> Added: . appendcp.bat
> Log:
> Don't copy endorsed jars to lib/tools
Cool, his avoids finally the useless copying of the XML jars into
tools/lib. Thanks, Antonio. I just moved the appendcp.bat into tools/bin
directory to avoid files in the root.
BTW, can we move even more files from root dir to other locations. For
example announcement.xml, which is not needed there, but only copied by
the build system. Or cli.xconf. Or mount-table.xml.sample. We should
keep the root dir clean if possible, shouldn't we?
Joerg