Page 1 of 1

package naming - sdacXYZ

Posted: Thu 30 Sep 2010 07:22
by Ludek
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

Posted: Tue 05 Oct 2010 12:30
by Dimon
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.

Posted: Tue 05 Oct 2010 13:02
by Ludek
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?

Posted: Wed 06 Oct 2010 09:13
by Dimon
We will investigate the possibility of adding this functionality in the future. As soon as we solve this question we will let you know.

Posted: Wed 06 Oct 2010 10:42
by Ludek
Thanks, it would be nice, especially for future delphi upgrades :)

Re: package naming - sdacXYZ

Posted: Tue 07 Jan 2014 05:38
by Ludek
Hi, are there any news? the ifdefs makes me (and especially the delphi ide) pretty angry...

Re: package naming - sdacXYZ

Posted: Fri 10 Jan 2014 11:14
by AlexP
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.

Re: package naming - sdacXYZ

Posted: Fri 10 Jan 2014 13:38
by Ludek
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...

Re: package naming - sdacXYZ

Posted: Fri 10 Jan 2014 13:39
by Ludek
solution - perhaps some expert could do such change automatically? or just some helper exe, that scans projects and do the appropriate change.

Re: package naming - sdacXYZ

Posted: Sat 11 Jan 2014 13:17
by AlexP
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.