package naming - sdacXYZ

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

package naming - sdacXYZ

Post by Ludek » Thu 30 Sep 2010 07:22

why does devart not use the libsuffix option?
it makes conversion of custom packages to other delphi version somewhat complicated, the packages do have to contain things like

Code: Select all

requires
{$IF DEFINED(ver200)}
sdac120
{$ELSEIF DEFINED(ver220)}
sdac150
{$IFEND}

instead of simple

Code: Select all

requires
  sdac
like with delphi standard packages rtl, vcl...

even project Jedi switched to this package naming convention...

see also
http://p-petter-work.blogspot.com/2006/ ... ckage.html

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 05 Oct 2010 12:30

The point is that we support Delphi 5 that doesn't support libsuffixes. Also we have projects for every IDE that are specific for each of them.

Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

Post by Ludek » Tue 05 Oct 2010 13:02

I am perhaps pretty stupid, but if you already have more projects for every ide, why your projects for Delphi >= 6 can't contain the libsuffix option?

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 06 Oct 2010 09:13

We will investigate the possibility of adding this functionality in the future. As soon as we solve this question we will let you know.

Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

Post by Ludek » Wed 06 Oct 2010 10:42

Thanks, it would be nice, especially for future delphi upgrades :)

Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

Re: package naming - sdacXYZ

Post by Ludek » Tue 07 Jan 2014 05:38

Hi, are there any news? the ifdefs makes me (and especially the delphi ide) pretty angry...

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: package naming - sdacXYZ

Post by AlexP » Fri 10 Jan 2014 11:14

Hello,

We have investigated the possibility to remove IDE version numbers from our package names, however, such modification will lead to the fact that our packages users won't be able to build their old projects without making corresponding changes in our package names. Therefore we cannot rename the packages, since we haven't found a possibility to support both old and new names. If you know any workaround for the problem, please let us know.

Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

Re: package naming - sdacXYZ

Post by Ludek » Fri 10 Jan 2014 13:38

hmm, the users have to make changes also now - with EACH delphi update (and that REALLY sucks). if changed, that thay (we) would have to do it only once...

Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

Re: package naming - sdacXYZ

Post by Ludek » Fri 10 Jan 2014 13:39

solution - perhaps some expert could do such change automatically? or just some helper exe, that scans projects and do the appropriate change.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: package naming - sdacXYZ

Post by AlexP » Sat 11 Jan 2014 13:17

Hello,

Thank you for the suggestion, but the offered methods are too cumbersome for this purpose. You can write your suggestion on package renaming on our UserVoice forum , and if other users support your idea, we will consider implementing it via package renaming using the libsuffixes directive.

Post Reply