Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ProjectHook class
Message
De
13/08/2009 13:21:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/08/2009 10:13:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
OS:
Windows XP SP2
Divers
Thread ID:
01417538
Message ID:
01417947
Vues:
62
>Hi,
>
>I had downloaded this class from Greg and looked all over but I still need advise as I am looking not for a class but a specific class which replaces the release.txt with the current notes, renames it with versionnumber and adds this file to the project.
>
>I do find a lot of other goodies in Greg's class but failed to find a routine doing just that.

You can add a few lines in some method which runs before the build, where you'd just refresh the release.txt (which would already be in the project)... something like
lcText=filetostr("releasetemplate.txt")

lcText=strtran(lcText, "{version}", lcVersion)
strtofile(lcText, "release.txt")
You could do other things there too - add build date etc. Generally, have all the generic text in the template (not in project) and build a new version from it using some kind of merge - maybe textmerge(), why not, possibly better than my example - and then update the release.txt from it and go on with the build.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform