/[eiffelstudio]/trunk/Delivery/codedom_provider/build_compiler.bat
ViewVC logotype

Contents of /trunk/Delivery/codedom_provider/build_compiler.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 46548 - (show annotations)
Thu Nov 18 03:30:28 2004 UTC (15 years, 3 months ago) by raphaels
File MIME type: text/plain
File size: 2422 byte(s)
Now correctly copies EiffelSoftware.Runtime to Codedom bin directory.

1 @ECHO OFF
2 REM *********************************************
3 REM Eiffel Codedom Provider delivery build script
4 REM *********************************************
5
6 CD checkout
7 REM in "checkout"
8
9 ECHO Compiling Compiler
10 CD Eiffel\ace
11 REM in "checkout\Eiffel\ace"
12 DEL *.epr
13 RD /q /s EIFGEN
14 sed -e "s/\"ec\"/\"ecdpc\"/" batch.mswin.ace > ecdpc.ace
15 REM Patch CL_TYPE_I to allow for alias clauses on class name
16 COPY /Y ..\..\..\cl_type_i.e ..\..\Eiffel\eiffel\genericity\
17 ec -finalize -batch -c_compile -ace ecdpc.ace
18 IF NOT EXIST EIFGEN\F_Code\ecdpc.exe GOTO END
19
20 ECHO Compiling Metadata consumer
21 CD ..\..\dotnet\consumer\ace
22 REM in "checkout\dotnet\consumer\ace"
23 DEL *.epr
24 RD /q /s EIFGEN
25 ec -finalize -batch -c_compile -ace metadata_consumer.ace
26 IF NOT EXIST EIFGEN\F_code\EiffelSoftware.MetadataConsumer.dll GOTO END
27 CD ..\..\..
28 REM in "checkout"
29
30 ECHO Compiling Runtime
31 CD Eiffel\eiffel\com_il_generation\Core\run-time
32 REM in "checkout\Eiffel\eiffel\com_il_generation\Core\run-time"
33 CALL nmake
34 IF NOT EXIST EiffelSoftware.Runtime.dll GOTO END
35 CD ..\..\..\..\..
36 REM in "checkout"
37
38 ECHO Setting up folders
39 CD ..\delivery
40 REM in "delivery"
41 MKDIR compiler
42 CD compiler
43 REM in "delivery\compiler"
44 MKDIR library\base
45 MKDIR library.net\base
46 MKDIR studio
47 MKDIR precomp
48 CD precomp
49 REM in "delivery\compiler\precomp"
50 COPY ..\..\..\checkout\precomp_delivery\spec\dotnet\base\ace.ace .
51 CD ..\studio
52 REM in "delivery\compiler\studio"
53 MKDIR "help\errors"
54 MKDIR spec\windows\bin
55 MKDIR config\windows\msc
56 MKDIR config\windows\templates
57
58 ECHO Copying delivery files
59 XCOPY /S ..\..\..\checkout\compiler_delivery\help\errors "help\errors"
60 COPY ..\..\..\checkout\Eiffel\ace\EIFGEN\F_Code\ecdpc.exe spec\windows\bin\
61 COPY ..\..\..\checkout\dotnet\consumer\ace\EIFGEN\F_Code\EiffelSoftware.MetadataConsumer.dll spec\windows\bin\
62 COPY ..\..\..\checkout\Eiffel\eiffel\com_il_generation\Core\run-time\EiffelSoftware.Runtime.dll spec\windows\bin\
63 XCOPY /S ..\..\..\checkout\compiler_delivery\config\windows\msc config\windows\msc
64 XCOPY /S ..\..\..\checkout\compiler_delivery\config\windows\templates config\windows\templates
65 CD ..\library
66 REM in "delivery\compiler\library"
67 XCOPY /S ..\..\..\checkout\library\base base\
68 CD ..\library.net
69 REM in "delivery\compiler\library.net"
70 XCOPY /S ..\..\..\checkout\library.net\base base\
71
72 CD ..\..\..
73 REM in "\"
74 SET COMPILER_BUILT=1
75
76 :END
77 IF "%COMPILER_BUILT%"=="" ECHO COULD NOT BUILD COMPILER FILES!!
78 ECHO Done.

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23