Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building new exe
Message
De
22/09/2010 14:26:08
 
 
À
22/09/2010 14:14:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01482270
Message ID:
01482339
Vues:
54
Then a simple way is to create your own .prg that will do the backup and the build (and labeling) for you based on a buildfile.txt or ini file. If the project is open when you run the .prg you can backup (or zip or whatever process you have) and issue BUILD EXE (lcNewExeName) FROM FULLPATH("myproject.pjx") RECOMPILE and set the lcNewExeName based on a value stored somewhere. Do the backup of the source and the last exe file just before the build command. You can generate a build text file with the current build's informaiton in it and copy the exe to a release location. You could automate it to send emails after every build. There are lots of options.


>At the moment I'm really looking for the best way I can be sure there's something to roll back to.
>
>The Project hook is probably the best bet.
>
>Qa here consists of putting it in front of the user till it stops falling over.
>
>>I agree with Craig. The same process should be adhered to for all apps. Just a note, QA tests in all three stages he listed and it doesn't pass to go on to the next phase until that occurs. Regression testing falls into that as well... No matter how simple the app, it's important. The simpler the app, the quicker the testing.
>>
>>
>>>Thank Craig
>>>
>>>did you not read "This is a maintenance only sort of system so I'm looking for the minimalist approach.".I think if I mention build methodolgy and continuous integration to the holders of the purse strings I'll get a poke in the eye.
>>>
>>>but have you got a link to your concept there ?
>>>
>>>Nick.
>>>
>>>>You're putting a band-aid on a bigger problem. The band-aid is fine, but should only be temporary. You should really look at your entire build methodology and look at Continuous Integration.
>>>>
>>>>- Local builds should be per developer and should only affect the .exe in the development environment
>>>>- Build servers should build and test your application, then report back the results.
>>>>- Once results are satisfactory and pass all tests with all new functionality, you can build a release version.
>>>>
>>>>>When I build a new exe I'd like to automatically back up the previous copy. In case things go pear shaped and I have to revert.
>>>>>
>>>>>I do it manually but thats not a great way to go.
>>>>>
>>>>>Whats the best way to do this.
>>>>>
>>>>>This is a maintenance only sort of system so I'm looking for the minimalist approach.
>>>>>
>>>>>Thanks
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform