Moved under "windows" dir.

This commit is contained in:
2018-05-13 14:10:59 +02:00
parent d1ee124c01
commit f541aee45f
117 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
iff not defined ISE_EIFFEL then
echo ISE_EIFFEL not defined. Cannot continue
CANCEL
endiff
iff not defined ISE_PLATFORM then
echo ISE_PLATFORM not defined. Cannot continue
CANCEL
endiff
iff not defined NO_COMPILE then
iff not defined EIFFEL_SRC then
echo EIFFEL_SRC not defined. Cannot continue
CANCEL
endiff
iff not defined FINALIZATION_DIR then
echo FINALIZATION_DIR not defined. Cannot continue
CANCEL
endiff
iff not exist %ISE_EIFFEL\gcc\%ISE_PLATFORM\mingw\bin\gcc.exe then
echo Cannot find a version of MinGW under ISE_EIFFEL. Cannot continue
CANCEL
endiff
iff not exist %ISE_EIFFEL\studio\spec\%ISE_PLATFORM\bin\ecb.exe then
endiff
iff isdir %EIFFEL_SRC then
echo Warning: %EIFFEL_SRC will be erased by the script!
endiff
endiff
rem An alternative to find a program is the following two lines
rem set MyProgramPresent=0
rem for %%x in (program.exe) do if not [%%~$PATH:x]==[] set MyProgramPresent=1
tar --version 2>NUL 1>NUL || (echo "Cannot find a version of tar. Cannot continue" && CANCEL)
iff not defined INSTALL_LOG then
echo Error: No file specified for the log
CANCEL
endiff
iff not defined INSTALL_DIR then
echo Error: No path specified for the generated delivery
CANCEL
endiff

View File

@@ -0,0 +1,69 @@
@echo off
call %INIT_DIR%\inc\set_simple_aliases.btm
remtrace Compiling C code of libraries for C compiler %2
rem arg1 = Root of EiffelStudio installation
rem arg2 = Name of C compiler used
iff not defined NO_COMPILE then
remtrace Retrieve the header files
remtrace - source: %DEFAULT_ISE_SVN/Src/library/headers.tar.gz
remtrace - target: %EIFFEL_SRC\headers\headers.tar.gz
cdd %EIFFEL_SRC
safe_md headers
REM "We keep a copy of vendors specific header files at EiffelSoftware as they cannot be"
REM "redistributed freely."
exprtfile %DEFAULT_ISE_SVN/Src/library/headers.tar.gz > headers\headers.tar.gz
cd headers
tar xvfz headers.tar.gz
iff not isdir apps then
remtrace Could not retrieve the header files.
endiff
set JDK_HOME=%EIFFEL_SRC\headers\apps\jdk1.1.8
set ORACLE_HOME=%EIFFEL_SRC\headers\apps\oracle
cdd %1
remtrace Compile the C code, and remove extra clib's
iff isdir %1\library\com then
remtrace com
cd %1\library\com\Clib
specific_make %2
cd %1\library\com\Clib_runtime
specific_make %2
cd %1\library\com
endiff
remtrace cURL
cd %1\library\cURL\Clib
specific_make %2
remtrace net
cd %1\library\net\Clib
specific_make %2
remtrace store
cd %1\library\store\dbms\rdbms\odbc\clib
specific_make %2
cd %1\library\store\dbms\rdbms\mysql\clib
specific_make %2
cd %1\library\store\dbms\rdbms\oracle\clib
specific_make %2
remtrace vision2
cd %1\library\vision2\Clib
specific_make %2
remtrace web_browser
cd %1\library\web_browser\Clib
specific_make %2
remtrace wel
cd %1\library\wel\clib
specific_make %2
fullrf %1\library\wel\clib\make.log
else
cdd %1
quick_move /s library\com\spec
fullrd %1\library\com\Clib
fullrd %1\library\com\Clib_runtime
quick_move /s library\net\spec
quick_move /s library\store\spec
quick_move /s library\vision2\spec
quick_move /s library\wel\spec
endiff

View File

@@ -0,0 +1,28 @@
@echo off
call %INIT_DIR%\inc\set_simple_aliases.btm
remtrace Compiling C code of other libraries for C compiler %2
rem arg1 = Root of EiffelStudio installation
rem arg2 = Name of C compiler used
iff not defined NO_COMPILE then
cdd %1
remtrace SQLite3
cdd %1\unstable\library\persistency\database\sqlite3\Clib
specific_make %2
fullrf %1\unstable\library\persistency\database\sqlite3\Clib\make.log
remtrace Compile examples
iff exist %1\examples\base\beep\Clib then
cd %1\examples\base\beep\Clib
specific_make %2
endiff
cd %1\C_library\zlib
specific_make %2
cd %1\C_library\libpng
specific_make %2
endiff

View File

@@ -0,0 +1,38 @@
echo Current configuration:
echo ----------------------
echo INIT_DIR=%INIT_DIR (script root directory)
echo ISE_EIFFEL=%ISE_EIFFEL
echo ISE_PLATFORM=%ISE_PLATFORM
echo INSTALL_DIR=%INSTALL_DIR
echo STUDIO_DIR=%STUDIO_DIR
echo Log file location: %INSTALL_LOG
echo The private ISE svn repository: %DEFAULT_ISE_SVN
echo The public svn repository: %DEFAULT_PUBLIC_SVN
echo The revision that will be generated: %PUBLIC_SVN_REVISION
echo ecb version:
ecb -version
echo -----------------------------
iff exist %INSTALL_DIR .or. isdir %INSTALL_DIR then
echo Warning: %INSTALL_DIR will be replaced by the installation script, you will lose everything in it
endiff
iff defined NO_COMPILE then
echo No compilation will be performed (including EiffelStudio's compilation)
endiff
iff defined NO_NEW_EC then
echo No new version of EiffelStudio will be compiled
endiff
iff defined BUILD_ENTERPRISE_ONLY then
echo Only EiffelStudio Enterprise will be build
endiff
iff defined NO_WIZARDS then
echo No wizards will be compiled.
endiff
iff defined NO_INSTALL then
echo The delivery will be generated, but not the final installation executable
endiff
iff not defined NO_INSTALL .and. not defined NO_COMPILE then
echo All components will be recompiled
endiff

View File

@@ -0,0 +1,12 @@
echo You have 60s to cancel this build
choice /T 60 /C cyn /N /D y /M "Press [C] to cancel, Press [Y] to continue now, or wait 60s ..."
if %ERRORLEVEL% == 2 goto CONTINUE
goto ABORT
:ABORT
echo Operation cancelled!
CANCEL
goto eof
:CONTINUE
goto eof

View File

@@ -0,0 +1,3 @@
remtrace Do not know how to generate the assembly manager :(
quick_move wizards\dotnet\*.*

View File

@@ -0,0 +1,26 @@
mkdir %STUDIO_DIR\wizards\com\resources
copy %EIFFEL_SRC\tools\com_wizard\root\resources\*.* %STUDIO_DIR\wizards\com\resources
remtrace Compile the COM wizard
cdd %EIFFEL_SRC\tools\com_wizard\root
set_version %EIFFEL_SRC 0000 argument_parser.e
clean_project
finalize com_wizard.ecf
cleanup_eiffel com_wizard com_wizard.exe
iff not exist com_wizard.exe then
echo "Couldnt generate the COM wizard"
CANCEL
endiff
move com_wizard.exe %STUDIO_DIR\wizards\com
clean_project
remtrace Compile COM wizard launcher for GUI mode.
cdd %EIFFEL_SRC\tools\com_wizard\launcher
finalize com_wizard_launcher.ecf
cleanup_eiffel com_wizard_launcher com_wizard_launcher.exe
iff not exist com_wizard_launcher.exe then
echo "Couldnt compile com_wizard_launcher.exe"
CANCEL
endiff
move com_wizard_launcher.exe %STUDIO_DIR\wizards\com

View File

@@ -0,0 +1,35 @@
remtrace Compiling .NET components
REM Should be called by `make_exes.btm'
cdd %EIFFEL_SRC
remtrace Compiling .NET runtime
cd %EIFFEL_SRC\Eiffel\eiffel\com_il_generation\core\run-time
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c nmake msbuild_20"
copy EiffelSoftware.Runtime.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib
copy EiffelSoftware.Runtime.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
copy EiffelSoftware.Runtime.dll %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Compiling Eiffel Assembly Cache
cdd %EIFFEL_SRC\dotnet\consumer
finalize consumer.ecf consumer_20
cleanup_dotnet_eiffel consumer_20 EiffelSoftware.MetadataConsumer.dll
iff not exist libEiffelSoftware.MetadataConsumer.dll then
remtrace Could not compile EiffelSoftware.MetadataConsumer.dll
CANCEL
endiff
copy EiffelSoftware.MetadataConsumer.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
copy libEiffelSoftware.MetadataConsumer.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Compiling Eiffel Metadata Cosumer Executable
cdd %EIFFEL_SRC\dotnet\consumer
finalize consumer.ecf emdc
cleanup_dotnet_eiffel emdc emdc.exe
iff not exist libemdc.dll then
remtrace Could not compile emdc.exe
CANCEL
endiff
copy emdc.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
copy libemdc.dll %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
cdd %EIFFEL_SRC

View File

@@ -0,0 +1,16 @@
remtrace Compiling EiffelBuild
REM Should be called by `make_exes.btm'
cdd %EIFFEL_SRC
cdd %EIFFEL_SRC\build\Constants
set_version %EIFFEL_SRC 0000 gb_about_dialog_constants.e
cdd %EIFFEL_SRC/build
clean_project
finalize esbuilder.ecf
cleanup_eiffel esbuilder esbuilder.exe
iff not exist esbuilder.exe then
remtrace Could not finalize a new EiffelBuild
CANCEL
else
move esbuilder.exe %STUDIO_DIR\esbuilder\spec\%ISE_PLATFORM\bin\
endiff

365
windows/inc/make_exes.btm Normal file
View File

@@ -0,0 +1,365 @@
remtrace Compile C code of the libraries
remtrace "A tout seigneur tout honneur", let's start with the run-time
md %INSTALL_DIR\releases
md %INSTALL_DIR\releases\enterprise_version
md %INSTALL_DIR\releases\gpl_version
remtrace Compile the run-times
iff not defined WIN64 then
remtrace Compile a run-time for MinGW
cdd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
call configure win32 g >>& %INSTALL_LOG
cd %EIFFEL_SRC
copy C\run-time\LIB\*.a %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
remtrace Compile a dynamic run-time for MinGW
cdd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
call configure win32 g dll >>& %INSTALL_LOG
cd %EIFFEL_SRC
copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
else
remtrace Compile a run-time for MinGW
cdd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
call configure win64 g >>& %INSTALL_LOG
cd %EIFFEL_SRC
copy C\run-time\LIB\*.a %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
remtrace Compile a dynamic run-time for MinGW
cdd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
call configure win64 g dll >>& %INSTALL_LOG
cd %EIFFEL_SRC
copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
endiff
remtrace Copy the configuration file
iff not defined WIN64 then
copy %EIFFEL_SRC\C\CONFIGS\windows-x86-mingw %STUDIO_DIR\studio\config\%ISE_PLATFORM\mingw\config.sh
else
copy %EIFFEL_SRC\C\CONFIGS\windows-x86-64-mingw %STUDIO_DIR\studio\config\%ISE_PLATFORM\mingw\config.sh
endiff
remtrace Compile the run-time for Microsoft
espawn -u:VC140 "%COMSPEC% /c %INIT_DIR%\inc\make_runtimes.btm msc_vc140"
iff defined %ISE_C_COMPILER_VER% then
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c %INIT_DIR%\inc\make_runtimes.btm msc"
else
echo MISSING ISE_C_COMPILER_VER !!!
endiff
remtrace Copy the header files
copy %EIFFEL_SRC\C\run-time\*.h %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
copy %EIFFEL_SRC\C\run-time\eif_stack.decl %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
copy %EIFFEL_SRC\C\run-time\eif_stack.interface %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
cd %EIFFEL_SRC
remtrace Copy the MSYS part
copy %EIFFEL_SRC\C\shell\bin\rt_converter.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
copy %EIFFEL_SRC\C\shell\bin\sed.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
copy %EIFFEL_SRC\C\shell\bin\mkdir.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
copy %EIFFEL_SRC\C\shell\bin\*.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM\etc
echo Dummy >> %STUDIO_DIR\studio\spec\%ISE_PLATFORM\etc\dummy.txt
remtrace Then the C libraries
cd %EIFFEL_SRC\C_library
fullrd .libs
remtrace libpng
cd %EIFFEL_SRC\C_library\libpng
default_make
remtrace zlib
cd %EIFFEL_SRC\C_library\zlib
default_make
REM These directories should already have been created by make_delivery. Whatever...
safe_md %STUDIO_DIR\studio\spec
safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM
safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace CLI writer
cd %EIFFEL_SRC\framework\cli_writer\Clib
default_make
remtrace CLI debugger
cd %EIFFEL_SRC\framework\cli_debugger\Clib
default_make
REM Compiling EiffelStudio stuff
iff defined BUILD_ENTERPRISE_ONLY then
remtrace Recompile EiffelStudio
cdd %FINALIZATION_DIR
copy %EIFFEL_SRC\Eiffel\Ace\*.* .
copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
iff not exist ec.ecf then
remtrace Cannot find the finalization Ace for EiffelStudio
CANCEL
endiff
remtrace Enterprise edition
cdd %EIFFEL_SRC\Eiffel\API\constants
set_version %EIFFEL_SRC 0000 system_constants.e
sed -e "s/Version_type_name:\ STRING\ =\ \"GPL\ Edition\"/Version_type_name:\ STRING\ =\ \"Enterprise\ Edition\"/g" system_constants.e >> new_system_constants.e
move new_system_constants.e system_constants.e
cdd %FINALIZATION_DIR
clean_project
finalize ec.ecf bench
cleanup_eiffel bench ec.exe
iff not exist ec.exe then
remtrace Could not finalize a new "enterprise_version" EiffelStudio
CANCEL
endiff
move ec.exe %INSTALL_DIR\releases\enterprise_version
clean_project
finalize ec.ecf batch
cleanup_eiffel batch ecb.exe
iff not exist ecb.exe then
remtrace Could not finalize a new batch version of the compiler
CANCEL
endiff
move ecb.exe %INSTALL_DIR\releases\enterprise_version
exprtfile -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/Delivery/scripts/licensing/eiffelstudio/enterprise.txt > %INSTALL_DIR\releases\enterprise_version\LICENSE
else
iff not defined NO_NEW_EC then
remtrace GPL edition
cdd %EIFFEL_SRC\Eiffel\API\constants
set_version %EIFFEL_SRC 0000 system_constants.e
cdd %FINALIZATION_DIR
copy %EIFFEL_SRC\Eiffel\Ace\*.* .
clean_project
finalize ec.ecf bench
cleanup_eiffel bench ec.exe
iff not exist ec.exe then
remtrace Could not finalize a new "gpl_edition" EiffelStudio
CANCEL
endiff
move ec.exe %INSTALL_DIR\releases\gpl_version
clean_project
finalize ec.ecf batch
cleanup_eiffel batch ecb.exe
iff not exist ecb.exe then
remtrace Could not finalize a new batch version of the compiler
CANCEL
endiff
move ecb.exe %INSTALL_DIR\releases\gpl_version
exprtfile -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/Delivery/scripts/licensing/eiffelstudio/gpl.txt > %INSTALL_DIR\releases\gpl_version\LICENSE
remtrace Enterprise edition for EiffelStudio
cdd %EIFFEL_SRC\Eiffel\API\constants
sed -e "s/Version_type_name:\ STRING\ =\ \"GPL\ Edition\"/Version_type_name:\ STRING\ =\ \"Enterprise\ Edition\"/g" system_constants.e >> new_system_constants.e
move new_system_constants.e system_constants.e
cdd %FINALIZATION_DIR
clean_project
copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
finalize ec.ecf bench
cleanup_eiffel bench ec.exe
iff not exist ec.exe then
remtrace Could not finalize a new "enterprise_version" EiffelStudio
CANCEL
endiff
move ec.exe %INSTALL_DIR\releases\enterprise_version
clean_project
finalize ec.ecf batch
cleanup_eiffel batch ecb.exe
iff not exist ecb.exe then
remtrace Could not finalize a new batch version of the compiler
CANCEL
endiff
move ecb.exe %INSTALL_DIR\releases\enterprise_version
exprtfile -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/Delivery/scripts/licensing/eiffelstudio/gpl.txt > %INSTALL_DIR\releases\enterprise_version\LICENSE
endiff
endiff
remtrace Recompile finish_freezing
cdd %EIFFEL_SRC\tools\finish_freezing
cd Clib
default_make
cd ..
clean_project
finalize finish_freezing.ecf finish_freezing
cleanup_eiffel finish_freezing finish_freezing.exe
iff not exist finish_freezing.exe then
remtrace Could not finalize a new finish_freezing
CANCEL
endiff
move finish_freezing.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Recompile emake
cdd %EIFFEL_SRC\tools\eiffel_make
clean_project
finalize emake.ecf
cleanup_eiffel emake emake.exe
iff not exist emake.exe then
remtrace Could not finalize a new emake
CANCEL
endiff
move emake.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Recompile quick_finalize
cdd %EIFFEL_SRC\tools\quick_finalize
clean_project
finalize quick_finalize.ecf
cleanup_eiffel quick_finalize quick_finalize.exe
iff not exist quick_finalize.exe then
remtrace Could not finalize a new quick_finalize
CANCEL
endiff
move quick_finalize.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Put ecdbgd.exe in the new delivery
REM It should already have been compiled by the configure of the run-time.
cdd %EIFFEL_SRC\C\ipc\daemon
iff not exist ecdbgd.exe then
remtrace Could not finalize a new ecdbgd
CANCEL
endiff
move ecdbgd.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Put x2c.exe in the new delivery
REM It should already have been compiled by the configure of the run-time.
cdd %EIFFEL_SRC\C\run-time
iff not exist x2c.exe then
remtrace Could not finalize a new x2c
CANCEL
endiff
move x2c.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Recompile h2e
cdd %EIFFEL_SRC\library\wel\extra
clean_project
finalize h2e.ecf
cleanup_eiffel h2e h2e.exe
iff not exist h2e.exe then
remtrace Could not finalize a new h2e
CANCEL
endiff
move h2e.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Recompile estudio.exe
cdd %EIFFEL_SRC\tools\estudio\config
clean_project
finalize estudio.ecf estudio
cleanup_eiffel estudio estudio.exe
iff not exist estudio.exe then
remtrace Could not finalize a new estudio
CANCEL
endiff
move estudio.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace get GDI+ for platforms that don't have it
cdd %EIFFEL_SRC\tools
co %DEFAULT_ISE_SVN/Src/tools/gdiplus gdiplus
move gdiplus\gdiplus.dll %INSTALL_DIR\releases
remtrace Recompiling EiffelBuild
cdd %INIT_DIR
call inc\make_esbuilder.btm
remtrace Recompiling Vision2 tour
cdd %INIT_DIR
call inc\make_vision2_demo.btm
remtrace Recompile Legacy++
cdd %EIFFEL_SRC\tools\legacy\PCCTS
safe_md bin
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c nmake -f makefile.win"
cd ..
cd legacy
espawn -u:%ISE_C_COMPILER_VER% "%COMSPEC% /c nmake -f makefile.win"
iff not exist legacy.exe then
remtrace Couldnt generate legacy.exe
CANCEL
endiff
move legacy.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
remtrace Getting eweasel source code
safe_md %EIFFEL_SRC\eweasel
co -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/eweasel/source %EIFFEL_SRC\eweasel\source
remtrace Compiling eweasel
safe_md %STUDIO_DIR\eweasel
safe_md %STUDIO_DIR\eweasel\spec
safe_md %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM
safe_md %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM\bin
cdd %EIFFEL_SRC\eweasel\source
clean_project
set OLD_EWEASEL=%EWEASEL
set EWEASEL=%EIFFEL_SRC\eweasel
finalize eweasel.ecf eweasel_st
cleanup_eiffel eweasel_st eweasel.exe
move eweasel.exe %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM\bin
finalize eweasel.ecf eweasel_mt
cleanup_eiffel eweasel_mt eweasel-mt.exe
move eweasel-mt.exe %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM\bin
set EWEASEL=%OLD_EWEASEL
set OLD_EWEASEL=
remtrace Compiling Eiffel Software tools
cdd %INIT_DIR
call inc\make_tools.btm
remtrace Compiling Gobo tools
safe_md %STUDIO_DIR\library\gobo\spec
safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM
safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
cdd %EIFFEL_SRC\library\gobo\src
clean_project
remtrace geant
finalize geant.ecf geant
cleanup_eiffel geant geant.exe
move geant.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gec
finalize gec.ecf gec
cleanup_eiffel gec gec.exe
move gec.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gelex
finalize gelex.ecf gelex
cleanup_eiffel gelex gelex.exe
move gelex.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gelint
finalize gelint.ecf gelint
cleanup_eiffel gelint gelint.exe
move gelint.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gepp
finalize gepp.ecf gepp
cleanup_eiffel gepp gepp.exe
move gepp.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace getest
finalize getest.ecf getest
cleanup_eiffel getest getest.exe
move getest.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gexace
finalize gexace.ecf gexace
cleanup_eiffel gexace gexace.exe
move gexace.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace gexslt
finalize gexslt.ecf gexslt
cleanup_eiffel gexslt gexslt.exe
move gexslt.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace geyacc
finalize geyacc.ecf geyacc
cleanup_eiffel geyacc geyacc.exe
move geyacc.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
remtrace Compiling .NET components
cdd %INIT_DIR
call inc\make_dotnet.btm
cdd %EIFFEL_SRC

View File

@@ -0,0 +1,81 @@
remtrace Retrieve libraries
cdd %1
md library
cd library
remtrace api_wrapper
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/api_wrapper api_wrapper
remtrace argument_parser
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/argument_parser argument_parser
remtrace base
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/base base
remtrace base_extension
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/base_extension base_extension
remtrace cocoa
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/cocoa cocoa
remtrace com
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/com com
remtrace cURL
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/cURL cURL
remtrace diff
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/diff diff
remtrace docking
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/docking docking
remtrace Eiffel2Java
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/Eiffel2Java Eiffel2Java
remtrace editor
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/editor editor
remtrace encoding
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/encoding encoding
remtrace event
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/event event
remtrace gobo
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/gobo gobo
fullrd gobo\svn\work
remtrace gobo_extension
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/gobo_extension gobo_extension
remtrace graph
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/graph graph
remtrace i18n
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/i18n i18n
remtrace lex
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/lex lex
remtrace memory_analyzer
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/memory_analyzer memory_analyzer
remtrace net
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/net net
remtrace objc_base
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/objc_base objc_base
remtrace parse
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/parse parse
remtrace patterns
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/patterns patterns
remtrace preferences
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/preferences preferences
remtrace process
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/process process
remtrace ribbon
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/ribbon ribbon
remtrace runtime
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/runtime runtime
remtrace store
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/store store
remtrace testing
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/testing testing
remtrace text
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/text text
remtrace thread
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/thread thread
remtrace time
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/time time
remtrace uuid
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/uuid uuid
remtrace vision2
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/vision2 vision2
remtrace vision2_extension
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/vision2_extension vision2_extension
remtrace web
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/web web
remtrace web_browser
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/web_browser web_browser
remtrace wel
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/%2/wel wel

View File

@@ -0,0 +1,25 @@
remtrace Retrieve unstable libraries
cdd %1
md unstable
cd unstable
remtrace README.txt
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/unstable/README.txt README.txt
remtrace library
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/unstable/library library
remtrace Retrieve contrib libraries and examples
cdd %1
md contrib
cd contrib
remtrace README.txt
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/contrib/README.txt README.txt
remtrace library
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/contrib/library library
remtrace examples
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/contrib/examples examples

18
windows/inc/make_rb.btm Normal file
View File

@@ -0,0 +1,18 @@
remtrace Update the source files
REM cdd %EIFFEL_SRC
REM co -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/tools/resource_bench resource_bench
remtrace Recompile Resource Bench
REM cdd %EIFFEL_SRC\tools\resource_bench
REM clean_project
REM finalize rb.ecf
REM cleanup_eiffel rb rb.exe
REM if not exist rb.exe (remtrace Couldnt generate rb.exe & cancel)
REM move rb.exe %STUDIO_DIR\rb\bin
cdd %STUDIO_DIR\rb
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/tools/resource_bench/bin bin
remtrace Retrieve the example
cdd %STUDIO_DIR\rb
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/tools/resource_bench/RB_documentation/examples example

View File

@@ -0,0 +1,48 @@
@echo off
call %INIT_DIR%\inc\set_simple_aliases.btm
remtrace Compile the runtime for C compiler %1
cd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
iff defined WIN64 then
call configure win64 m dll >>& %INSTALL_LOG
else
iff defined MSC6 then
call configure win32 m6 dll >>& %INSTALL_LOG
else
call configure win32 m dll >>& %INSTALL_LOG
endiff
endiff
cd %EIFFEL_SRC
fullrf C\run-time\LIB\*.exp
copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\%1
cd %EIFFEL_SRC
remtrace Compile a run-time for Microsoft
cd %EIFFEL_SRC\C
call configure clean >>& %INSTALL_LOG
iff defined WIN64 then
call configure win64 m >>& %INSTALL_LOG
else
iff defined MSC6 then
call configure win32 m6 >>& %INSTALL_LOG
else
call configure win32 m >>& %INSTALL_LOG
endiff
endiff
cd %EIFFEL_SRC
copy C\run-time\LIB\*.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\%1
iff not defined WIN64 then
copy C\desc\ise_desc.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\%1
copy C\desc\ise_desc.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\%1
endiff
remtrace Copy the configuration file
iff not defined WIN64 then
copy %EIFFEL_SRC\C\CONFIGS\windows-x86-msc %STUDIO_DIR\studio\config\%ISE_PLATFORM\%1\config.sh
else
copy %EIFFEL_SRC\C\CONFIGS\windows-x86-64-msc %STUDIO_DIR\studio\config\%ISE_PLATFORM\%1\config.sh
endiff

126
windows/inc/make_tools.btm Normal file
View File

@@ -0,0 +1,126 @@
remtrace Should be called by make_exes.btm
remtrace Create tools directory for your platform.
safe_md %STUDIO_DIR\tools
safe_md %STUDIO_DIR\tools\spec
safe_md %STUDIO_DIR\tools\spec\%ISE_PLATFORM
safe_md %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile iron
cdd %EIFFEL_SRC\tools\iron\client
clean_project
finalize client.ecf es_iron
cleanup_eiffel es_iron iron.exe
iff not exist iron.exe then
remtrace Could not finalize a new iron
CANCEL
endiff
move iron.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
copy %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\libcurl.dll %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin\
copy %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\libeay32.dll %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin\
copy %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\ssleay32.dll %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin\
remtrace Recompile syntax_updater
cdd %EIFFEL_SRC\tools\syntax_updater
clean_project
finalize syntax_updater.ecf
cleanup_eiffel syntax_updater syntax_updater.exe
iff not exist syntax_updater.exe then
remtrace Could not finalize a new syntax_updater
CANCEL
endiff
move syntax_updater.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile espawn
cdd %EIFFEL_SRC\tools\espawn
clean_project
finalize espawn.ecf
cleanup_eiffel espawn espawn.exe
iff not exist espawn.exe then
remtrace Could not finalize a new espawn
CANCEL
endiff
move espawn.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile compile_all
cdd %EIFFEL_SRC\tools\compile_all
clean_project
finalize compile_all.ecf
cleanup_eiffel compile_all compile_all.exe
iff not exist compile_all.exe then
remtrace Could not finalize a new compile_all
CANCEL
endiff
move compile_all.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile eiffel tool
cdd %EIFFEL_SRC\tools\eiffel_script
clean_project
finalize eiffel_script.ecf
cleanup_eiffel eiffel_script eiffel.exe
iff not exist eiffel.exe then
remtrace Could not finalize a new eiffel tool
CANCEL
endiff
move eiffel.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile eiffel_image_embedder
cdd %EIFFEL_SRC\tools\eiffel_image_embedder
clean_project
finalize eimgemb.ecf
cleanup_eiffel eiffel_image_embedder eimgemb.exe
iff not exist eimgemb.exe then
remtrace Could not finalize a new eiffel_image_embedder
CANCEL
endiff
move eimgemb.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile eiffel_echo
cdd %EIFFEL_SRC\tools\eiffel_echo
clean_project
finalize eiffel_echo.ecf
cleanup_eiffel eiffel_echo eiffel_echo.exe
iff not exist eiffel_echo.exe then
remtrace Could not finalize a new eiffel_echo
CANCEL
endiff
move eiffel_echo.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile po_generation_tool
cdd %EIFFEL_SRC\tools\po_generation_tool
clean_project
finalize po_generation_tool.ecf
cleanup_eiffel po_generation_tool po_generation_tool.exe
iff not exist po_generation_tool.exe then
remtrace Could not finalize a new po_generation_tool
CANCEL
endiff
move po_generation_tool.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile eiffel_ribbon
safe_md %STUDIO_DIR\tools\ribbon
cdd %STUDIO_DIR\tools\ribbon
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/tools/eiffel_ribbon/template template
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/tools/eiffel_ribbon/images images
cdd %EIFFEL_SRC\tools\eiffel_ribbon
clean_project
finalize eiffel_ribbon.ecf
cleanup_eiffel eiffel_ribbon eiffel_ribbon.exe
iff not exist eiffel_ribbon.exe then
remtrace Could not finalize a new eiffel_ribbon
CANCEL
endiff
move eiffel_ribbon.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin
remtrace Recompile ace2ecf
cdd %EIFFEL_SRC\tools\ace2ecf
clean_project
finalize ace2ecf.ecf
cleanup_eiffel ace2ecf ace2ecf.exe
iff not exist ace2ecf.exe then
remtrace Could not finalize a new ace2ecf
CANCEL
endiff
move ace2ecf.exe %STUDIO_DIR\tools\spec\%ISE_PLATFORM\bin

View File

@@ -0,0 +1,26 @@
remtrace Compiling Vision2_Demo
REM Should be called by `make_exes.btm'
cdd %EIFFEL_SRC
exprt -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN/Src/examples/vision2/widget_test vision2_demo
REM Must now call batch files here, to generate the flatshorts and also retrieve the
REM build files needed by the test
cdd %EIFFEL_SRC\vision2_demo
call retrieve_build_files.bat -r %PUBLIC_SVN_REVISION %DEFAULT_PUBLIC_SVN >>& %INSTALL_LOG
call retrieve_flat_short.bat >>& %INSTALL_LOG
cdd %EIFFEL_SRC\vision2_demo
clean_project
finalize vision2_demo.ecf
cleanup_eiffel vision2_demo vision2_demo.exe
iff not exist vision2_demo.exe then
remtrace Could not finalize a new vision2_demo
CANCEL
endiff
move vision2_demo.exe %STUDIO_DIR\vision2_demo\spec\%ISE_PLATFORM\bin
move /s %EIFFEL_SRC\vision2_demo\tests %STUDIO_DIR\vision2_demo\tests
move /s %EIFFEL_SRC\vision2_demo\flatshort %STUDIO_DIR\vision2_demo\flatshort
move %EIFFEL_SRC\vision2_demo\bitmaps\png\*.png %STUDIO_DIR\vision2_demo\bitmaps\png

View File

@@ -0,0 +1,4 @@
cdd %EIFFEL_SRC\help\wizards
set DELIVERY=%STUDIO_DIR
remtrace Launch the actual wizard compilation
call make_wizards.btm

View File

@@ -0,0 +1,66 @@
REM Define some user parameters here if not yet defined.
iff defined _SET_ALIAS_SET_ then
remtrace Script set_alias.btm was already called.
goto :eof
endiff
set _SET_ALIAS_SET_=1
REM Setup environment
REM =================
iff exist %~dp0..\etc\config.btm then
call %~dp0..\etc\config.btm
else
echo ERROR missing file %~dp0..\etc\config.btm
set _SET_ALIAS_SET_=0
CANCEL
endiff
set DELIV_DIR=%WORK_DIR%\%STUDIO_VERSION_MAJOR_MINOR%_deliv
REM The file where all output is stored
set INSTALL_LOG=%DELIV_DIR\install.log
REM NB: The following directory is where a new version of ec.exe will be finalized.
set FINALIZATION_DIR=%DELIV_DIR
REM Tag to export files from public SVN repository
iff not defined DEFAULT_PUBLIC_SVN then
set DEFAULT_PUBLIC_SVN=https://svn.eiffel.com/eiffelstudio/trunk
endiff
REM Tag to export files in SVN at ISE
iff not defined DEFAULT_ISE_SVN then
set DEFAULT_ISE_SVN=svn://%USERNAME%@svn.ise/ise_svn/trunk
endiff
REM NB: The following directory will be erased!
set TMP_EIFFEL_SRC=%WORK_DIR%\tmpdev
iff not defined PUBLIC_SVN_REVISION then
set PUBLIC_SVN_REVISION=HEAD
endiff
REM Where the new delivery is set up. Warning: if it exists, the directory will be erased!
REM
set STUDIO_NAME=Eiffel_%STUDIO_VERSION_MAJOR_MINOR
iff "%ISE_PLATFORM%" == "win64" then
set INSTALL_DIR=%WORK_DIR%\Installed%STUDIO_NAME%
else
set INSTALL_DIR=%WORK_DIR%\Installed%STUDIO_NAME%_32
endiff
set STUDIO_DIR=%INSTALL_DIR\EiffelStudio
REM Check for Windows 64 bits.
iff "%ISE_PLATFORM%" == "win64" then
set WIN64=true
endiff
REM Uncomment to set old ORIGO names.
REM set DEFAULT_ORIGO_SVN=%DEFAULT_PUBLIC_SVN
REM set ORIGO_SVN_REVISION=%PUBLIC_SVN_REVISION
REM OK The rest is private, no need for you to see it :)
call %INIT_DIR%\inc\set_simple_aliases.btm

View File

@@ -0,0 +1,3 @@
espawn --list > %INSTALL_LOG%.tmp.c_compiler
for /f "usebackq delims=" %%a in (`findstr /n "\<%2\>" %INSTALL_LOG%.tmp.c_compiler`) do set "%1=True"
fullrf %INSTALL_LOG%.tmp.c_compiler

View File

@@ -0,0 +1,77 @@
REM Define some simple aliases here if not yet defined.
iff defined _SET_SIMPLE_ALIAS_SET_ then
goto :eof
endiff
set _SET_SIMPLE_ALIAS_SET_=1
REM File management
REM Copy also hidden files, keep attributes, overwrite automatically
alias copy `*copy /hkz >>& %INSTALL_LOG`
REM Remove completely a directory
alias nolog_fullrd del /syeqxz
alias fullrd `del /syeqxz >>& %INSTALL_LOG`
REM Remove a file
alias nolog_fullrf del /yqze
alias fullrf `del /yqze >>& %INSTALL_LOG`
REM Retrieve a file from the old delivery and put it in the new one
alias quick_move `iff "%2" == "" then & copy %ISE_EIFFEL\%1 %STUDIO_DIR\%1 >>& %INSTALL_LOG & else & copy %1 %ISE_EIFFEL\%2 %STUDIO_DIR\%2 >>& %INSTALL_LOG & endiff`
REM Create a directory if it doesn't exist already
alias safe_md `iff not isdir %1 then & iff exist %1 then & fullrf %1 & endiff & md %1 & endiff`
REM Save current path into TMP_PATH
alias save_path `set TMP_PATH=%@EXECSTR[cd]`
REM Save parent dir of %2 into %1 variable.
alias set_parent_dir_of `for %%a in ("%2") do set "%1=%%~dpa%%"`
REM Helpers for the script
REM Give some info on what's happening, both in the log and on the screen
alias remtrace `echo %$ & echo -------------------------------- >>& %INSTALL_LOG & echo %$ >>& %INSTALL_LOG`
REM Give info concerning the elapsed time
alias give_time_to `remtrace time used to %$: & remtrace %@TIMER[1] & TIMER ON /1 >> NUL`
REM Clean exit
alias cancel `echo Exiting... & echo Total time used: & echo %@TIMER[2] & set PATH=%OLD_PATH & cdd %INIT_DIR & set EIFFEL_SRC=%OLD_EIFFEL_SRC & set ISE_LIBRARY=%OLD_ISE_LIBRARY & set ISE_SRC=%OLD_ISE_SRC & iff defined TMP_ISE_EIFFEL then & set ISE_EIFFEL=%TMP_ISE_EIFFEL & set TMP_ISE_EIFFEL= & endiff & *cancel`
REM CVS Commands: checkout, export
alias co `call %INIT_DIR\inc\svn_command.bat co %$ >>& %INSTALL_LOG`
alias exprt `call %INIT_DIR\inc\svn_command.bat --force export %$ >>& %INSTALL_LOG`
REM We cannot redirect the output here, since the output is redirected to a file
alias exprtfile `call %INIT_DIR\inc\svn_command.bat cat %$`
REM C Compilation
REM `default_make` will compile just for the value of ISE_C_COMPILER (currently defaulting to the Microsoft
REM C compiler.
alias default_make `finish_freezing.exe -library`
REM `specific_make` will compile using the given C compiler argument. Callers are responsible to set the
REM compiler path and environment variables properly (e.g. using espawn)
alias specific_make `save_path & call compile_library.bat %1 >>& %INSTALL_LOG & cd %TMP_PATH`
alias espawn `set OLD__SET_SIMPLE_ALIAS_SET_=%_SET_SIMPLE_ALIAS_SET_ & unset _SET_SIMPLE_ALIAS_SET_ & *espawn --nologo %$ & set _SET_SIMPLE_ALIAS_SET_=%OLD__SET_SIMPLE_ALIAS_SET_ & unset OLD__SET_SIMPLE_ALIAS_SET_ `
REM Eiffel Compilation
REM Remove a project from the current directory, if any
alias clean_project `iff exist EIFGENs .or. isdir EIFGENs then & fullrd EIFGENs & endiff`
REM Finalize at the Eiffel level only
alias finalize `iff "%2" == "" then & ecb -finalize -c_compile -config %$ >>& %INSTALL_LOG & else & ecb -finalize -c_compile -config %1 -target %2 >>& %INSTALL_LOG & endiff`
REM Melt at the Eiffel level only
alias melt `ecb -config %$ >>& %INSTALL_LOG`
alias freeze `ecb -freeze -c_compile -config %$ >>& %INSTALL_LOG`
REM Move up the generated finalized exe (its name is the parameter) and delete the compiled files
alias cleanup_dotnet_eiffel `if exist EIFGENs\%1\F_code\%2 move EIFGENs\%1\F_code\%2 . & if exist EIFGENs\%1\F_code\lib*.dll move EIFGENs\%1\F_code\lib*.dll . & if exist EIFGENs\%1\F_code\Assemblies move EIFGENs\%1\F_code\Assemblies\*.dll . & clean_project`
alias cleanup_eiffel `if exist EIFGENs\%1\F_code\%2 move EIFGENs\%1\F_code\%2 . & clean_project`
REM Tests....
alias testpar `if %@INDEX[%$,no_compile] ge 0 echo true`
REM bash related
alias dos2unix `echo dos2unix (%1) & tr -d '\r' < %1 > %1-tmp & move %1-tmp %1`
alias set_version `%INIT_DIR%\set_version.bat %1 %2 %3`
alias get_version `%INIT_DIR%\set_version.bat %1`

View File

@@ -0,0 +1,12 @@
@echo off
rem This is required to perform svn commands because they often fails, so we repeat them
rem until they succeed.
set i=0
:start
if not "%i%"=="0" goto finish
svn %*
if not errorlevel 1 set i=1
goto start
:finish

9
windows/inc/t.btm Normal file
View File

@@ -0,0 +1,9 @@
@echo off
call %INIT_DIR%\inc\set_simple_aliases.btm
remtrace Test aliases ...
save_path
echo TMP_PATH=%TMP_PATH
foobar

View File

@@ -0,0 +1,27 @@
remtrace Update the Eiffel libraries source
remtrace Compile the Eiffel libraries C code
remtrace com
cdd %1\library\com\Clib
default_make
remtrace com run-time
cdd %1\library\com\Clib_runtime
default_make
remtrace curl
cdd %1\library\cURL\Clib
default_make
remtrace encryption
cdd %1\library\encryption\Clib
default_make
remtrace net
cdd %1\library\net\Clib
default_make
remtrace web_browser
cdd %1\library\web_browser\clib
default_make
remtrace wel
cdd %1\library\wel\clib
default_make
remtrace vision2
cdd %1\library\vision2\Clib
default_make