David,
Don't you have any stuff included as excluded in any of your project files? Imo, that target would be quite fundamentalistic and does not sound to me as 'easier'.
My own method is:
Each module (an app) has its own pjx in its own map.
All prg's, vcx's, etc. are 'owned' by a module and ideally reside in the specific map.
I switch to the map to change things.
There is a special program (b.prg) that builds an app based on the only pjx in the current map. This b.prg first manipulates SET PATH, since it must refer to no other maps at all.
BUILD comes with a messagebox. There I answer 'Ignore all'.
The result is a pjx/app that has nothing else inside than what is in that map.
You might wonder why I started this thread then. Well, I also bear responsibility for a legacy application. It is completely impossible to restructure that stuff. Both your and my solution are impossible to implement in that legacy app. Here's an anecdote: Just this morning betatesters were testing the new version of that application. Guess what, an error occurred exactly because a prg had sneakilly got included in an app where it should not have got included. The routine also resides in the exe and uses an included table. That table is not known to the sub-app, so it could not be found. Bang..
>Peter,
>
>My point the whole time, and the easier solution, is to just more appropriately package the PRGs and VCXs and no exclusionary process is needed.
>
>>True. But also it would not have happened if the feature was semi-automatic, with a screen where we are invited to indicate whether they should be included, etcetera. Think of the screen that pops up when Sourcesafe detects new stuff.
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.