Information générale
Catégorie:
The Mere Mortals Framework
Well, BuildMetaData is a method of my project hook, so I can call it any time I want. (It's actually in my devlopment menu.) I also call it from those two events. My setup.prg code runs in production where the pjx isn't even available. As Chris said, you need to choose which is more important and running two instances of VFP when debugging is by far more important to me. Taking code that is not needed in production out seems a small price to pay.
Just one of hundreds of ways to organize things. <g>
pamela
>Pamela,
>One thing to consider here, though, is that when running in "debug mode," you would not have your MetaData built until you (re)build or close your project. This means you would not be able to add a new library, run main.prg, and have immediate access to objects in that library as we do now
>
>As usual, it's a trade-off as to which is more important to the developer -- running 2 versions of their app, or having instant access to new libraries. Not a problem, just worth noting.
>
>---J
>
>>Move the call to BuildMetaData from Setup (it doesn't really belong there anyway) to the ProjectHook.BeforeBuild and Destroy events.
>>pamela
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement