Article View: borland.public.delphi.commandlinetools
Article #41Compile package with relative paths in contains section
From: Jim C
Date: Wed, 31 Jan 2007 22:06
Date: Wed, 31 Jan 2007 22:06
34 lines
2447 bytes
2447 bytes
My apologies if this is a duplicate post, I don't see my original..
I'm using Delphi 2006. My package is in a folder with the components
that are part of the package in sub folders:
mypackage
components1
components2
components3
The contains section looks like:
contains
component1 in 'components1\component1.pas',
component2 in 'components2\component2.pas',
component3 in 'components3\component3.pas;
This compiles and installs fine in the IDE. Now I have two versions
of this package which I'd like to use with two different versions of a
win32 project. I'm trying to find a way to switch back and forth
between the two packages being active in the IDE. The two packages
have the same name and contain mostly the same components with some
changes to support two different versions of the projects they're part
of. So not finding anything else that works, I'm trying to set up a
scenario where I shut down Delphi, then run a batch file to switch to
compile and switch to the right package. The compile would be done by
dcc32.exe if I could get it to work. I have been trying many
different options and paths in the .cfg file and haven't got anything
working yet. I can provide details from the cfg file if needed.
Anybody done this before?
Thanks,
Jim
Technical Details
Message-ID:
<1170281188.846341.11890@p10g2000cwp.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!p10g2000cwp.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,640e3daa0f2a9a14 X-Google-Attributes: gidff8f1,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!p10g2000cwp.googlegroups.com!not-for-mail From: "Jim C" <jim.cullison@gmail.com> Newsgroups: borland.public.delphi.commandlinetools Subject: Compile package with relative paths in contains section Date: 31 Jan 2007 14:06:28 -0800 Organization: http://groups.google.com Lines: 35 Message-ID: <1170281188.846341.11890@p10g2000cwp.googlegroups.com> NNTP-Posting-Host: 63.121.54.230 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1170281194 27981 127.0.0.1 (31 Jan 2007 22:06:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 31 Jan 2007 22:06:34 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p10g2000cwp.googlegroups.com; posting-host=63.121.54.230; posting-account=31DAJA0AAABEEluXls9twnToKRA2jmQE