Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Rebuild project with recompile All files
Message
 
 
To
02/03/2005 18:59:42
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00992240
Message ID:
00992243
Views:
25
Fabio,

It's not a bug but your misunderstanding how Project Manager works. The Project Manager doesn't creates external FXP files. The object code for PRGs is stored in the Object memo field in the project itself.

>When a project is Rebuilded,
>with "Recompile All Files" checked,
>it don't recompile le prg's files.
>
>Another test is this:
>
>CLEAR
>projectName = FORCEPATH("TESTPROJECT",SYS(2023))
>programName = FORCEPATH("TestProgram.prg",SYS(2023))
>CREATE PROJECT (projectName)  NOWAIT NOSHOW
>STRTOFILE("RETURN",programName)
>_VFP.ActiveProject.Files.Add(programName)
>? "prg is added",_VFP.ActiveProject.Files.Item(1).Name
>? "exists fxp before BUILD",FILE(FORCEEXT(programName,"fxp"))
>BUILD PROJECT (projectName)  RECOMPILE
>? "exists fxp After BUILD",FILE(FORCEEXT(programName,"fxp"))
>COMPILE (programName)
>? "exists fxp After COMPILE",FILE(FORCEEXT(programName,"fxp"))
>_VFP.ActiveProject.Close
>ERASE (FORCEEXT(projectName,"*"))
>ERASE (FORCEEXT(programName,"*"))
>
>
>This is much annoying one because BUILD is used when it comes changed a value in .h files,
>as an example before compiling the application.
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform