🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #76

File not found issue - I'm stumped on this one.

#76
From: RDSpringer
Date: Wed, 02 Nov 2005 01:50
72 lines
3751 bytes
I have a large project group that contains 6 main projects.

Each of these build with different directives - I need to automate the 
building process and I figured I would just do Command Line compile via a 
batch file.

The problem is, whenever I run DCC32 on a DPR file I get the 'Fatal Error: 
File not found RzLstBox.DCU'

Now, I have done build before with command line directives and I even used 
the built in tool in the IDE to determine what Delphi 2005 is using for a 
command line.

So my batch looks like:

Echo Off

Set BuildDir = "..\@Build"
Set UnitPath = ".."
Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\LIB"
Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\LIB\INDY10"
Set UnitPath = %UnitPath%;"C:\program files\borland\bds\3.0\Lib\Debug"
Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\IMPORTS"
Set UnitPath = %UnitPath%;"c:\program files\borland\bds\3.0\RaveReports\Lib"
Set UnitPath = %UnitPath%;"C:\Program files\Raize\RC3\Lib9"
Set UnitPath = %UnitPath%;"..\Third Party\chcombobox"
Set UnitPath = %UnitPath%;"..\Third Party\DragDrop\Components"
Set UnitPath = %UnitPath%;"..\Third Party\GifImage"
Set UnitPath = %UnitPath%;"..\Third Party\XDOM\XDom_3_1"
Set UnitPath = %UnitPath%;"..\Third Party\XDOM\Utilities"
Set UnitPath = %UnitPath%;"..\Third Party\Cincom"
Set UnitPath = %UnitPath%;"..\Server"
Set UnitPath = %UnitPath%;"..\XRClient"
Set PckgPath = "C:\Documents and Settings\rspringer\My Documents\Borland 
Studio Projects\Bpl"

Set PathSave = Path
Set Path = UnitPath

DCC32 -CG -E%BuildDir% -DACTIVX -I%UnitPath% -U%UnitPath% -o%UnitPath% -R%UnitPath% 
 -PkgDllDir=PckgPath -PkgDcpDir=PckgPath -$A1 -$B- -$C+ -$D- -$E- -$F- -$G+  
-$H+ -$I+ -$J+ -$K- -$L+ -$M- -$N+ -$O- -$P+ -$Q- -$R- -$S- -$T- -$U- -$V+ -$W- 
 -$X+ -$YD -$Z1 -B -H+ -W -$M16384,1048576 -$K4194304 -AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; 
 -W-SYMBOL_PLATFORM -W-UNIT_PLATFORM -W-UNSAFE_TYPE -W-UNSAFE_CODE -W-UNSAFE_CAST 
attarx.dpr

Set Path = PathSave

pause



Yes I know it's ugly - I am testing trying to solve my problem.

You can see that the UnitPath includes the location for the RZLstBox.DCU 
(C:\Progam Files\Raize\RC3\Lib9) and I have confirmed the DCU is located in 
that directory.

I have also done test to see if there are issues with the "C:\Program 
Files\..." path name but they are in double quote (").

As you can see - I do specify the DOS path as well as the various path 
locations in the commandline for DCC32 - I am not sure why it can not locate 
the DCU???

Please help - this is just frustrating.

Thank You in advance I do appreciate your time and input.

Robert
-- 
Robert D. Springer 
Technical Details
Message-ID: <43681b50$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,691680fe12e5309d,start
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "RDSpringer" <RSpringer@Cinci.rr.com>
Newsgroups: borland.public.delphi.commandlinetools
Subject: File not found issue - I'm stumped on this one.
Date: Tue, 1 Nov 2005 20:50:15 -0500
Lines: 74
Organization: Cincom, Systems Inc.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 65.26.146.136
Message-ID: <43681b50$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130896208 65.26.146.136 (1 Nov 2005 17:50:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail