|
From: Peter T. <pe...@us...> - 2003-08-23 23:18:37
|
Update of /cvsroot/jvcl/dev/JVCL3/devtools/bin In directory sc8-pr-cvs1:/tmp/cvs-serv4702/JVCL3/devtools/bin Added Files: CleanJVCL.bat MakeDCR.bat MakeDofs.bat MakeImages.bat MakeJVCLRC.bat MakePNG.bat MakeTextDFM.bat UsedJVCL.bat bin.txt d5packsdof.tmpl d6packsdof.tmpl d7packsdof.tmpl dccleanD5.bat examplesdof.tmpl skiplistD5.txt Log Message: - Copied jvcl/devtools and jvcl/examples dev/JVCL3 - Copied JVCLConvert *.dat files to dev/JVCL3/converter --- NEW FILE: CleanJVCL.bat --- @echo off echo. Run this batch to clean up the JVCL before release or if you just want to get it in "mint" condition echo. This batch does the following: echo. 1. Strips unwanted properties from dfm's (and converts them to text) echo. 2. Converts all remaining dfm's to text format (if necessary) echo. 3. Converts all files from Linux LF format to Windows CRLF format (if necessary) echo. 4. Deletes all files created from compiling (dcu's, dsk's exe's etc) echo. echo. Hit Ctrl+C NOW if you want to quit, any other key to run the batch pause cd .. rem Build the tools we need: make cd bin rem Fix CRLF corruption: crlf -s -q ..\..\..\*.pas ..\..\..\*.dfm ..\..\..\*.dpk ..\..\..\*.dpr echo. rem Remove unwanted properties (make D5 compatible): dc.exe -i -s -fskiplistd5.txt ..\..\..\*.dfm echo. rem Convert remaining DFM's to text: jconvert -i -t -s ..\..\..\*.dfm echo. cd .. cd .. rem Delete garbage: del /s /q *.dcu *.ddp *.dsk *.exe .#* >NUL rem Go back were we started: cd devtools\bin --- NEW FILE: MakeDCR.bat --- @echo creates a resource file from a RC script brc32 JVCLReg.rc -r -foJVCLReg.dcr --- NEW FILE: MakeDofs.bat --- MakeDOF "..\..\packages\*50.dpk" d5packsdof.tmpl MakeDOF "..\..\packages\*60.dpk" d6packsdof.tmpl MakeDOF "..\..\packages\*70.dpk" d7packsdof.tmpl MakeDOF "..\..\examples\*.dpr" examplesdof.tmpl --- NEW FILE: MakeImages.bat --- @echo Extracts BMP images from resource files (res and dcr), builds a RC file and converts BMP to PNG... Res2Bmp *.res Res2Bmp *.dcr MakeRC *.bmp rem ren new.rc JVCLReg.rc mkdir PNG MakePng *.bmp PNG\ --- NEW FILE: MakeJVCLRC.bat --- Res2Bmp *.res Res2Bmp *.dcr MakePng *.BMP PNG\ MakeRC *.bmp JVCLReg.rc --- NEW FILE: MakePNG.bat --- MakePng *.BMP PNG\ --- NEW FILE: MakeTextDFM.bat --- @echo Converts DFM's from binary to text jconvert.exe -i -t -s *.dfm --- NEW FILE: UsedJVCL.bat --- @echo off rem This batch file searches your dfm files for any use of JVCL components (classes starting with TJv) and rem puts the results into a text file. Initial idea provided by Heinz Zastrau. rem Uses Borland's grep utility (included with Delphi and CBuilder) echo. Searching, please wait... grep -di "object [a-z0-9_]*: TJv" *.dfm >UsedJVCL.txt echo. Done. Results are in UsedJVCL.txt --- NEW FILE: bin.txt --- common folder for devtools executables --- NEW FILE: d5packsdof.tmpl --- [Directories] UnitOutputDir=..\lib5 SearchPath=..\source;..\common --- NEW FILE: d6packsdof.tmpl --- [Directories] UnitOutputDir=..\lib6 SearchPath=..\source;..\common --- NEW FILE: d7packsdof.tmpl --- [Directories] UnitOutputDir=..\lib7 SearchPath=..\source;..\common --- NEW FILE: dccleanD5.bat --- @echo off rem clean jvcl and jcl folders for D5 compatibility dc -i -s -fskiplistD5.txt ..\..\*.dfm ..\..\..\JCL\*.dfm --- NEW FILE: examplesdof.tmpl --- [Directories] OutputDir=..\..\Bin UnitOutputDir=..\..\Dcu SearchPath=..\..\Source;..\..\Common --- NEW FILE: skiplistD5.txt --- *.DesignSize TPageControl.TabIndex |