如何自动构建 Visual FoxPro 项目?
我有兴趣弄清楚如何从 Visual FoxPro 自动化构建,类似于我们如何使用 MSBuild。
似乎可以将命令行参数传递给 VFP。 exe,其中可能包括指定一些运行的初始启动程序的能力,但目前尚不清楚从非交互式帐户(例如 Windows 上的网络服务,这很可能是自动构建的地方)启动 IDE 的效果如何跑步。
之前是否有人尝试过此操作或读过有人尝试编写这样的 VFP 构建脚本?我将不胜感激任何可能引导我找到解决方案的指示。
I'm interested in figuring out how to automate a build from Visual FoxPro similar to how we can build .NET projects from the command line using MSBuild.
It seems that it is possible to pass command line arguments to VFP.exe which may include the ability to specify some initial startup prg that runs however it is unclear how well starting up the IDE will work from non-interactive accounts such as the Network Service on Windows which is likely where an automated build would run.
Has anybody attempt this before or read about anybody attempting to script a VFP build like this? I would be grateful for any pointers that may lead me to a solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一个简单的解决方案是创建一个构建应用程序的程序文件,并调用 VFP 来执行该程序。您还可以将任何构建前或构建后命令添加到该程序文件中。
创建一个 VFP 配置文本文件,名为 BUILD.FPW
然后创建 C:\Project\BUILD.PRG
最后,为了构建它,
VFP 将以非交互方式构建它。它将把构建错误记录到 myapp.err 中。如果构建成功,则不会创建错误文件。
A simple solution is to create a program file that builds the application, and call VFP to execute that program. You can also add any pre or post build commands to that program file.
Create a VFP configuration text file, called BUILD.FPW
Then create C:\Project\BUILD.PRG
Finally, to build it
VFP will build it non-interactively. It will log build errors to myapp.err. If it builds successfully, no error file is created.
自动化 VFP 项目经验
构建(FinalBuilder路线)
自动构建
Experience in Automate VFP Project
Build (FinalBuilder Route)
Automated Build