cvs commit: xml-fop build.bat build.sh build.xml

2004-02-27 Thread jeremias
jeremias2004/02/27 11:36:38

  Modified:.build.bat build.sh build.xml
  Log:
  Applied Apache License Version 2.0 by following the instructions at 
http://www.apache.org/dev/apply-license.html.
  
  Revision  ChangesPath
  1.22  +15 -1 xml-fop/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/xml-fop/build.bat,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- build.bat 13 Dec 2003 23:23:03 -  1.21
  +++ build.bat 27 Feb 2004 19:36:38 -  1.22
  @@ -1,5 +1,19 @@
   @echo off
  -rem $Id$
  +REM  Copyright 1999-2004 The Apache Software Foundation
  +REM
  +REM  Licensed under the Apache License, Version 2.0 (the License);
  +REM  you may not use this file except in compliance with the License.
  +REM  You may obtain a copy of the License at
  +REM
  +REM   http://www.apache.org/licenses/LICENSE-2.0
  +REM
  +REM  Unless required by applicable law or agreed to in writing, software
  +REM  distributed under the License is distributed on an AS IS BASIS,
  +REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +REM  See the License for the specific language governing permissions and
  +REM  limitations under the License.
  +REM
  +REM  $Id$
   
   echo Apache FOP: Build System
   echo --
  
  
  
  1.25  +17 -0 xml-fop/build.sh
  
  Index: build.sh
  ===
  RCS file: /home/cvs/xml-fop/build.sh,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- build.sh  13 Dec 2003 23:23:43 -  1.24
  +++ build.sh  27 Feb 2004 19:36:38 -  1.25
  @@ -1,5 +1,22 @@
   #!/bin/sh
  +#  Copyright 1999-2004 The Apache Software Foundation
  +#
  +#  Licensed under the Apache License, Version 2.0 (the License);
  +#  you may not use this file except in compliance with the License.
  +#  You may obtain a copy of the License at
  +#
  +#   http://www.apache.org/licenses/LICENSE-2.0
  +#
  +#  Unless required by applicable law or agreed to in writing, software
  +#  distributed under the License is distributed on an AS IS BASIS,
  +#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +#  See the License for the specific language governing permissions and
  +#  limitations under the License.
  +#
  +#  $Id$
  +
   # This file should be executable.
  +
   echo
   echo Apache FOP: Build System
   echo --
  
  
  
  1.105 +20 -5 xml-fop/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- build.xml 7 Feb 2004 23:03:44 -   1.104
  +++ build.xml 27 Feb 2004 19:36:38 -  1.105
  @@ -1,4 +1,19 @@
   ?xml version=1.0?
  +!--
  +  Copyright 1999-2004 The Apache Software Foundation
  +
  +  Licensed under the Apache License, Version 2.0 (the License);
  +  you may not use this file except in compliance with the License.
  +  You may obtain a copy of the License at
  +
  +   http://www.apache.org/licenses/LICENSE-2.0
  +
  +  Unless required by applicable law or agreed to in writing, software
  +  distributed under the License is distributed on an AS IS BASIS,
  +  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +  See the License for the specific language governing permissions and
  +  limitations under the License.
  +--
   !-- ===
   
  * == *
  @@ -151,7 +166,7 @@
   property name=NAME value=FOP/
   property name=version value=1.0dev/
   filter token=version value=${version}/
  -property name=year value=1999-2003/
  +property name=year value=1999-2004/
   
   echo message=--- ${Name} ${version} [${year}] 
/
   echo message=See build.properties and build-local.properties for additional 
build settings/
  @@ -480,7 +495,7 @@
   attribute name=Class-Path value=${manifest-classpath}/
   attribute name=Implementation-Title value=${Name}/
   attribute name=Implementation-Version value=${version}/
  -attribute name=Implementation-Vendor value=Apache Software Foundation 
(http://xml.apache.org/fop/)/
  +attribute name=Implementation-Vendor value=The Apache Software 
Foundation (http://xml.apache.org/fop/)/
   attribute name=Build-Id value=${ts} (${user.name} [${os.name} 
${os.version} ${os.arch}, Java ${java.runtime.version}])/
 /manifest
   /jar
  @@ -552,7 +567,7 @@
 manifest
   attribute name=Implementation-Title value=${fop-transcoder.name}/
   attribute name=Implementation-Version 

cvs commit: xml-fop build.bat

2003-12-13 Thread jeremias
jeremias2003/12/13 15:23:03

  Modified:.build.bat
  Log:
  Don't use embedded Ant. An Ant installation is now required.
  
  Revision  ChangesPath
  1.21  +24 -25xml-fop/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/xml-fop/build.bat,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- build.bat 4 Jul 2003 20:22:25 -   1.20
  +++ build.bat 13 Dec 2003 23:23:03 -  1.21
  @@ -1,37 +1,36 @@
   @echo off
  +rem $Id$
   
  -echo Fop Build System
  -echo 
  +echo Apache FOP: Build System
  +echo --
   
  -if %JAVA_HOME% ==  goto error
  +if %JAVA_HOME% ==  goto no_java_home
  +if %ANT_HOME% ==  goto no_ant_home
   
  -set LIBDIR=lib
  -set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  +call %ANT_HOME%\bin\ant.bat %1 %2 %3 %4 %5 %6 %7 %8
   
  -set ANT_HOME_BAK=%ANT_HOME%
  -set ANT_HOME=%LIBDIR%
  -
  -echo Building with classpath %LOCALCLASSPATH%
  -
  -echo Starting Ant...
  -
  -%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH% 
org.apache.tools.ant.Main %1 %2 %3 %4 %5
  -
  -set ANT_HOME=%ANT_HOME_BAK%
   goto end
   
  -:error
  -
  +:no_java_home
   echo ERROR: JAVA_HOME not found in your environment.
   echo Please, set the JAVA_HOME variable in your environment to match the
   echo location of the Java Virtual Machine you want to use.
  +goto end
   
  -:end
  -
  -rem set LOCALCLASSPATH=
  +:no_ant_home
  +echo ERROR: ANT_HOME not found in your environment.
  +echo Please install Apache Ant first. FOP uses Ant as its build system.
  +echo You can download Apache Ant from http://ant.apache.org
  +echo 1. Download and install Ant
  +echo 2. Set the ANT_HOME environment variable to the directory where you've
  +echoplaced Ant.
  +echo 3. Add %%ANT_HOME%%\bin to your PATH so the ant.bat batch file
  +echocan be executed from wherever needed.
  +echo 4. (optional) Download JUnit and place junit-*.jar in %%ANT_HOME%%\lib.
  +echoThis enables the JUnit test cases.
  +echo You will now be directed to the Apache Ant website...
  +pause
  +start http://ant.apache.org
  +goto end
   
  -pause;
  +:end
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: xml-fop build.bat fop.bat xalan.bat

2003-07-14 Thread chrisg
chrisg  2003/07/14 17:57:21

  Modified:.Tag: fop-0_20_2-maintain build.bat fop.bat
xalan.bat
  Log:
  changed line-endings to dos/windows (to make it work under windows98)
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.14.2.11 +34 -34xml-fop/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/xml-fop/build.bat,v
  retrieving revision 1.14.2.10
  retrieving revision 1.14.2.11
  diff -u -r1.14.2.10 -r1.14.2.11
  --- build.bat 19 Nov 2002 13:42:55 -  1.14.2.10
  +++ build.bat 15 Jul 2003 00:57:21 -  1.14.2.11
  @@ -1,34 +1,34 @@
  [EMAIL PROTECTED] off
  -
  -echo Fop Build System
  -echo 
  -
  -if %JAVA_HOME% ==  goto error
  -
  -set LIBDIR=lib
  -set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  -
  -set ANT_HOME=%LIBDIR%
  -
  -echo Building with classpath %LOCALCLASSPATH%
  -
  -echo Starting Ant...
  -
  -%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH% 
org.apache.tools.ant.Main %1 %2 %3 %4 %5
  -
  -goto end
  -
  -:error
  -
  -echo ERROR: JAVA_HOME not found in your environment.
  -echo Please, set the JAVA_HOME variable in your environment to match the
  -echo location of the Java Virtual Machine you want to use.
  -
  -:end
  -
  -rem set LOCALCLASSPATH=
  -
  [EMAIL PROTECTED] off
  +
  +echo Fop Build System
  +echo 
  +
  +if %JAVA_HOME% ==  goto error
  +
  +set LIBDIR=lib
  +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  +
  +set ANT_HOME=%LIBDIR%
  +
  +echo Building with classpath %LOCALCLASSPATH%
  +
  +echo Starting Ant...
  +
  +%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH% 
org.apache.tools.ant.Main %1 %2 %3 %4 %5
  +
  +goto end
  +
  +:error
  +
  +echo ERROR: JAVA_HOME not found in your environment.
  +echo Please, set the JAVA_HOME variable in your environment to match the
  +echo location of the Java Virtual Machine you want to use.
  +
  +:end
  +
  +rem set LOCALCLASSPATH=
  +
  
  
  
  1.4.2.12  +16 -16xml-fop/fop.bat
  
  Index: fop.bat
  ===
  RCS file: /home/cvs/xml-fop/fop.bat,v
  retrieving revision 1.4.2.11
  retrieving revision 1.4.2.12
  diff -u -r1.4.2.11 -r1.4.2.12
  --- fop.bat   14 Jul 2003 07:37:46 -  1.4.2.11
  +++ fop.bat   15 Jul 2003 00:57:21 -  1.4.2.12
  @@ -1,17 +1,17 @@
  [EMAIL PROTECTED] OFF
  -
  -rem %~dp0 is the expanded pathname of the current script under NT
  -set LOCAL_FOP_HOME=
  -if %OS%==Windows_NT set LOCAL_FOP_HOME=%~dp0
  -
  -set LIBDIR=%LOCAL_FOP_HOME%lib
  -set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
  -set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
  [EMAIL PROTECTED] OFF
  +
  +rem %~dp0 is the expanded pathname of the current script under NT
  +set LOCAL_FOP_HOME=
  +if %OS%==Windows_NT set LOCAL_FOP_HOME=%~dp0
  +
  +set LIBDIR=%LOCAL_FOP_HOME%lib
  +set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
  +set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
   java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
  
  
  
  1.1.2.2   +7 -7  xml-fop/Attic/xalan.bat
  
  Index: xalan.bat
  ===
  RCS file: /home/cvs/xml-fop/Attic/xalan.bat,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 

cvs commit: xml-fop build.bat

2003-07-04 Thread jeremias
jeremias2003/07/04 13:22:25

  Modified:.build.bat
  Log:
  Restore ANT_HOME afterwards.
  
  Revision  ChangesPath
  1.20  +2 -0  xml-fop/build.bat
  
  Index: build.bat
  ===
  RCS file: /home/cvs/xml-fop/build.bat,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- build.bat 22 Nov 2002 18:07:13 -  1.19
  +++ build.bat 4 Jul 2003 20:22:25 -   1.20
  @@ -12,6 +12,7 @@
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
   set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
   
  +set ANT_HOME_BAK=%ANT_HOME%
   set ANT_HOME=%LIBDIR%
   
   echo Building with classpath %LOCALCLASSPATH%
  @@ -20,6 +21,7 @@
   
   %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH% 
org.apache.tools.ant.Main %1 %2 %3 %4 %5
   
  +set ANT_HOME=%ANT_HOME_BAK%
   goto end
   
   :error
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]