[Nextobjects-devel] nextobjects/nextobjects compile.bat,1.1.1.1,1.2
Status: Alpha
Brought to you by:
eflorent
From: <gre...@us...> - 2003-07-10 21:31:10
|
Update of /cvsroot/nextobjects/nextobjects/nextobjects In directory sc8-pr-cvs1:/tmp/cvs-serv21466/nextobjects Modified Files: compile.bat Log Message: Correction de ant-1.5.1 en 1.5.2 Index: compile.bat =================================================================== RCS file: /cvsroot/nextobjects/nextobjects/nextobjects/compile.bat,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** compile.bat 2 Jan 2003 15:20:10 -0000 1.1.1.1 --- compile.bat 10 Jul 2003 21:31:07 -0000 1.2 *************** *** 1,80 **** ! @echo off ! ! rem ! rem Copyright (c) 2002-2005. Emmanuel Florent. All rights reserved. ! rem ! rem This software is published under the GPL GNU General Public License. ! rem This program is free software; you can redistribute it and\or ! rem modify it under the terms of the GNU General Public License ! rem as published by the Free Software Foundation; either version 2 ! rem of the License, or (at your option) any later version. ! rem ! rem This program is distributed in the hope that it will be useful, ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! rem GNU General Public License for more details. ! rem ! rem You should have received a copy of the GNU General Public License ! rem along with this program; if not, write to the Free Software ! rem Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! rem ! rem http:\\www.devaki.org ! rem http:\\efl...@de... ! rem ! rem This file can be used to easily build the specified project. ! rem The project's directory must contain a "build.xml" file. ! rem The building is done by the "Ant" tool of the "Jakarta" tool suite. ! @echo off ! rem build.bat: Build devaki-nextobjects using Ant ! rem Usage: build [ant-options] [targets] ! rem Setup: ! rem - you should set JAVA_HOME ! rem - you can set ANT_HOME if you use your own Ant install ! rem - JAVA_OPTS is added to the java command line ! echo. ! echo devaki-nextobjects Build ! echo ------------- ! ! if not "%JAVA_HOME%" == "" goto setant ! :noJavaHome ! rem Default command used to call java.exe; hopefully it's on the path here ! if "%_JAVACMD%" == "" set _JAVACMD=java ! echo. ! echo Warning: JAVA_HOME environment variable is not set. ! echo If build fails because sun.* classes could not be found ! echo you will need to set the JAVA_HOME environment variable ! echo to the installation directory of java. ! echo. ! ! :setant ! rem Default command used to call java.exe or equivalent ! if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java ! ! rem Default _ANT_HOME ! set _ANT_HOME=%ANT_HOME% ! if "%_ANT_HOME%" == "" set _ANT_HOME=. ! ! rem Default locations of jars we depend on to run Ant on our build.xml file ! rem Set our local vars to all start with _underscore ! set _ANT_JAR=%ANT_JAR% ! if "%_ANT_JAR%" == "" set _ANT_JAR=lib\ant-1.5.1.jar ! ! rem Attempt to automatically add system classes to _CLASSPATH ! rem Use _underscore prefix to not conflict with user's settings ! set _CLASSPATH=%CLASSPATH% ! if exist "%JAVA_HOME%\lib\tools.jar" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar ! if exist "%JAVA_HOME%\lib\classes.zip" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\classes.zip ! set _CLASSPATH=%_ANT_JAR%;%_PARSER_JAR%;%_CLASSPATH% ! ! echo "%_JAVACMD%" %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 ! "%_JAVACMD%" %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! goto end ! ! :end ! rem Cleanup environment variables ! set _JAVACMD= ! set _CLASSPATH= ! set _ANT_HOME= ! set _ANT_JAR= ! set _PARSER_JAR= --- 1,160 ---- ! @echo off ! ! ! ! rem ! ! rem Copyright (c) 2002-2005. Emmanuel Florent. All rights reserved. ! ! rem ! ! rem This software is published under the GPL GNU General Public License. ! ! rem This program is free software; you can redistribute it and\or ! ! rem modify it under the terms of the GNU General Public License ! ! rem as published by the Free Software Foundation; either version 2 ! ! rem of the License, or (at your option) any later version. ! ! rem ! ! rem This program is distributed in the hope that it will be useful, ! ! rem but WITHOUT ANY WARRANTY; without even the implied warranty of ! ! rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! ! rem GNU General Public License for more details. ! ! rem ! ! rem You should have received a copy of the GNU General Public License ! ! rem along with this program; if not, write to the Free Software ! ! rem Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ! ! rem ! ! rem http:\\www.devaki.org ! ! rem http:\\efl...@de... ! ! rem ! ! rem This file can be used to easily build the specified project. ! ! rem The project's directory must contain a "build.xml" file. ! ! rem The building is done by the "Ant" tool of the "Jakarta" tool suite. ! ! @echo off ! ! rem build.bat: Build devaki-nextobjects using Ant ! ! rem Usage: build [ant-options] [targets] ! ! rem Setup: ! ! rem - you should set JAVA_HOME ! ! rem - you can set ANT_HOME if you use your own Ant install ! ! rem - JAVA_OPTS is added to the java command line ! ! echo. ! ! echo devaki-nextobjects Build ! ! echo ------------- ! ! ! ! if not "%JAVA_HOME%" == "" goto setant ! ! :noJavaHome ! ! rem Default command used to call java.exe; hopefully it's on the path here ! ! if "%_JAVACMD%" == "" set _JAVACMD=java ! ! echo. ! ! echo Warning: JAVA_HOME environment variable is not set. ! ! echo If build fails because sun.* classes could not be found ! ! echo you will need to set the JAVA_HOME environment variable ! ! echo to the installation directory of java. ! ! echo. ! ! ! ! :setant ! ! rem Default command used to call java.exe or equivalent ! ! if "%_JAVACMD%" == "" set _JAVACMD=%JAVA_HOME%\bin\java ! ! ! ! rem Default _ANT_HOME ! ! set _ANT_HOME=%ANT_HOME% ! ! if "%_ANT_HOME%" == "" set _ANT_HOME=. ! ! ! ! rem Default locations of jars we depend on to run Ant on our build.xml file ! ! rem Set our local vars to all start with _underscore ! ! set _ANT_JAR=%ANT_JAR% ! ! if "%_ANT_JAR%" == "" set _ANT_JAR=lib\ant-1.5.2.jar ! ! ! ! rem Attempt to automatically add system classes to _CLASSPATH ! ! rem Use _underscore prefix to not conflict with user's settings ! ! set _CLASSPATH=%CLASSPATH% ! ! if exist "%JAVA_HOME%\lib\tools.jar" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar ! ! if exist "%JAVA_HOME%\lib\classes.zip" set _CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\classes.zip ! ! set _CLASSPATH=%_ANT_JAR%;%_PARSER_JAR%;%_CLASSPATH% ! ! ! ! echo "%_JAVACMD%" %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! "%_JAVACMD%" %JAVA_OPTS% -Dant.home="%ANT_HOME%" -classpath "%_CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9 ! ! ! ! goto end ! ! ! ! :end ! ! rem Cleanup environment variables ! ! set _JAVACMD= ! ! set _CLASSPATH= ! ! set _ANT_HOME= ! ! set _ANT_JAR= ! ! set _PARSER_JAR= ! |