Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphi XE8 - Pacakge suffix


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Aug 7, 2015 1:03 AM Last Post By: Petr Daricek
Petr Daricek

Posts: 8
Registered: 11/18/06
Delphi XE8 - Pacakge suffix  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 4, 2015 12:12 AM
Hi,
I have a lot of packages(Design and runtime). First I created packages for Win32, build and install. Second I added Win64 platform, and add suffix "64" for All 64bit platforms on tab description in options(Set different output path for 64b bpl, dcp and dcu). After that I build 64bit packages. Now when I switch back to Win32 and rebuild package i get message "Package XXX.bpl cannot be found." When I look to path I see that old packgage was renamed to XXX.~BPL and in 32bit Folder is created new package XXX64.Bpl. That is very strange because I Build only 32 platform and it is without postfix.
For Example:
Package XXX
Win32 - Settings
Output BPL, DCP Folder "\Compiled\32\BPL"
Output DCU Folder "\Compiled\32\Dcu"
LibSuffix - Empty

Win64 - Settings
Output BPL, DCP Folder "\Compiled\64\BPL"
Output DCU Folder "\Compiled\64\Dcu"
LibSuffix - 64

I'd like to have
"\Compiled\32\BPL\XXX.bpl - for WIn32
and
""\Compiled\64\BPL\XXX64.bpl - for Win64

Thank you
Daril
Linden ROTH

Posts: 467
Registered: 11/3/11
Re: Delphi XE8 - Package suffix  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 4, 2015 4:18 PM   in response to: Petr Daricek in response to: Petr Daricek
Petr Daricek wrote:
Hi,
I have a lot of packages(Design and runtime). First I created packages for Win32, build and install. Second I added Win64 platform, and add suffix "64" for All 64bit platforms on tab description in options(Set different output path for 64b bpl, dcp and dcu). After that I build 64bit packages. Now when I switch back to Win32 and rebuild package i get message "Package XXX.bpl cannot be found." When I look to path I see that old packgage was renamed to XXX.~BPL and in 32bit Folder is created new package XXX64.Bpl. That is very strange because I Build only 32 platform and it is without postfix.
For Example:
Package XXX
Win32 - Settings
Output BPL, DCP Folder "\Compiled\32\BPL"
Output DCU Folder "\Compiled\32\Dcu"
LibSuffix - Empty

Win64 - Settings
Output BPL, DCP Folder "\Compiled\64\BPL"
Output DCU Folder "\Compiled\64\Dcu"
LibSuffix - 64

I'd like to have
"\Compiled\32\BPL\XXX.bpl - for WIn32
and
""\Compiled\64\BPL\XXX64.bpl - for Win64

Thank you
Daril

Why do you need a different name for the win64.bpl ... if it required the 2 DIFFERENT .dproj

also why not use the standard stuff eg $(Platform) in the Bpl/dcp/dcu definition with create a win32 or win64 directory

eg \Compiled\$(Platform)\BPL\XXX.bpl - gives \Compiled\win32\BPL\XXX.bpl for WIn32 and \Compiled\win64\BPL\XXX.bpl for Win64

And look art Build groups as well ... my bpl are a single button click (coffee time) for win32 win64 osx in release and debug

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"
Petr Daricek

Posts: 8
Registered: 11/18/06
Re: Delphi XE8 - Package suffix  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 7, 2015 1:03 AM   in response to: Linden ROTH in response to: Linden ROTH
Linden ROTH wrote:
Petr Daricek wrote:
Hi,
I have a lot of packages(Design and runtime). First I created packages for Win32, build and install. Second I added Win64 platform, and add suffix "64" for All 64bit platforms on tab description in options(Set different output path for 64b bpl, dcp and dcu). After that I build 64bit packages. Now when I switch back to Win32 and rebuild package i get message "Package XXX.bpl cannot be found." When I look to path I see that old packgage was renamed to XXX.~BPL and in 32bit Folder is created new package XXX64.Bpl. That is very strange because I Build only 32 platform and it is without postfix.
For Example:
Package XXX
Win32 - Settings
Output BPL, DCP Folder "\Compiled\32\BPL"
Output DCU Folder "\Compiled\32\Dcu"
LibSuffix - Empty

Win64 - Settings
Output BPL, DCP Folder "\Compiled\64\BPL"
Output DCU Folder "\Compiled\64\Dcu"
LibSuffix - 64

I'd like to have
"\Compiled\32\BPL\XXX.bpl - for WIn32
and
""\Compiled\64\BPL\XXX64.bpl - for Win64

Thank you
Daril

Why do you need a different name for the win64.bpl ... if it required the 2 DIFFERENT .dproj

also why not use the standard stuff eg $(Platform) in the Bpl/dcp/dcu definition with create a win32 or win64 directory

eg \Compiled\$(Platform)\BPL\XXX.bpl - gives \Compiled\win32\BPL\XXX.bpl for WIn32 and \Compiled\win64\BPL\XXX.bpl for Win64

And look art Build groups as well ... my bpl are a single button click (coffee time) for win32 win64 osx in release and debug

--
Linden
"Mango" was Cool but "Wasabi" was Hotter but remember it's all in the "source"

Hi,
thank you Linden for response.
standard Paths are not good solution for us, because we want to have all 32 bpl in same Folder, and 64 bpl in other folder for all packages. But you are right I can have same name for 32 and 64 bpl. I just wanted to prevent cases where changing one after another library. When I see suffix property which I can set for 32 and 64 platform different, then I hope it is good solution.
I discover, than Directive Suffix remains in dpr file, when I changed platform, where not Suffix defined. I think it is a bug in IDE. Manually delete in dpr solve a problem.

Daril

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02