Board index » delphi » Huge list of unit directories to include
Saskia Vermylen
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Saskia Vermylen
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Huge list of unit directories to includeIn our development environment we have about 60 different directories |
Chris Ranki
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeSaskia Vermylen <MYL...@btmaa.bel.alcatel.be> wrote in article Quote> In our development environment we have about 60 different directories Quote> Several lines with /U in BPC.CFG: results in compilation error. various key points in your list of directories. This way, you could reduce the number of characters needed to describe the list. Chris. |
Raul Reban
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeHi Saskia. Quote> In our development environment we have about 60 different directories quick solution is to make a RAM-drive and copy unit's to that drive. Because the drive is in memory the compilation will be quicker and the compiler doesn't have to search through directories. For example You can make a batch file which creates RAM drive, copies all unit sources to that drive and then runs make, after that it would delete the RAM drive again. For creating dynamically RAM drives You need some kind of utility programs but the RAM drive can also be preallocated during system startup. Raul Rebane. |
vanwalleghem moniqu
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeHi Raul, This is Monique, I am one of the people in Saskia's group. In your answer to Saskia you Monique Quote> If the used units reside in too many different directories the only |
Raul Reban
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeHi Monique. Quote> This is Monique, I am one of the people in Saskia's group. In your answer to Saskia you solution. As I've also read the other postings You have got so far, they seem to be a more resource hungry than the one I suggested (for example subst command). Now for the problem of Yours again. Quote> If I am a good reader, you know alsoo about another, not so fast solution ????? giving You effective transfer rate about some MB's per second. Taking into account the disk caching software will increase the number further. So taking this into account my solution doesn't seem so bad. You can make a batch file that will copy the sources for You so You don't have to type in lot of commands to execute. I can't see any other way to reduce the list of directories other than that. Maybe just have to think it over but I'm currently having near to deadline finishing my large project and I haven't really profiled my new units yet. Quote> So we are still trying to find another solution. better solution though. Raul Rebane |
Voti
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeQuotevanwalleghem monique wrote: Before I can suggest a solution, there are a couple of questions I have 1. Are all of your 60 or so unit directories likely to be used by every 2. Are these just different directories or are they organized in some Depending on your answers, I will try to provide some hints. (1) If not all directories are used at the same time. I have a similar situation on my machine. Some 4-5 directories are used So, for any specific project I only need the (not so many) general If you are using the command line compiler, you could create a different (2) If the directories are peer directories and not forming any tree In this case you could just name them as e.g. C:\BP\01, C:\BP\02, ..., /U01;02;03;04;05;06;..;59;60 This way you can fit about 80 directory names in a 255-char command line. Now regarding the other answers you have received: I think the SUBST solution is very nice, but unfortunately there are not The RAM-drive solution is also something that will work. Consider making I hope I have helped. Greetings, Votis |
Chris Ranki
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeVotis <paratiritis.the.forthnet...@popper.forthnet.gr> wrote in article Quote> I think the SUBST solution is very nice, but unfortunately there are not The point was that if several directories were offshoots from a common directory then this common directory could be SUBST'd, reducing the number of characters needed to spell out the other directories paths (using a false root drive...). Of course, the feasibility of this strategy depends on the exact Chris. |
vanwalleghem moniqu
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeQuoteVotis wrote: I also made the remark for myselve that the SUBST (wich we infact already One of the problems is that our programmers are making links to other Therefor we try to find a solution where we can include all directories Anyway thanks for your hints, Kind regards, Moniek |
vanwalleghem moniqu
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeQuoteChris Rankin wrote: solution and that us what we did already long time ago. We have a directory Q:\testsrce\source\ where all unit directories reside But still we have problems for compiling some area's where many Anyway thanks for your suggestion. Kind regards, Moniek Quote
|
Frank Heckenba
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:Huge list of unit directories to includeQuotevanwalleghem monique <walle...@btmaa.bel.alcatel.be> writes: Frank |
1. listing all files in a directory including subdirectories
2. Including BCB "units" in Delphi units
4. Showing Hidden and System directories in a Directory List Box
5. Directory List Box: Hidden Directories
6. lgarray0.zip TP unit for huge arrays and arrays of sorted strings