Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build EXE and error message handling
Message
De
12/12/2003 13:02:24
 
 
À
12/12/2003 11:30:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00858621
Message ID:
00858673
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Try this:
keyboard 'a'  && select ignore \<all in dialog
BUILD EXE whatever FROM whatever 
clear typeahead
quit
>In an attempt to automate compilation of our foxpro project, we tried
>to compile from a script that runs nightly unattended.
>
>We looked into several possibilities,
>
>1. Command line: “vfp8 …” that will take a project and compiles to an
>.exe or .app.
> Nope, foxpro command line does not allow compilation switches.
>
>2. Command line calls “vfp8.exe build.prg” and put all building logic
>inside build.prg:
>-------------------
>BUILD EXE (ProjectPathName + ".exe") FROM (ProjectPathName + ".pjx") RECOMPILE
>quit
>-------------------
>
>It works. But one more issue:
>
>If there are errors in the compilations, such as a missed function
>definition, Foxpro will popup a dialog “Unable to Find such and such…”
>"Locate, ignore, ignore all, cancel".
>
>
>This is quite annoying because we would love to parse the log
>afterwards automatically. Having to have some one staying there clicking
>ignoring is not quite automation.
>
>Suggestions will be appreciated.
>
>Yun
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform