View previous topic :: View next topic |
Author |
Message |
sasha_1973
Joined: 30 Jul 2013 Posts: 58
|
Posted: Tue Nov 25, 2014 7:02 am Post subject: new source file |
|
|
Health to all!
Please tell me how to implement the creation of a new source file, at each compilation?
(BASCOM-AVR version : 2.0.7.7 ) |
|
Back to top |
|
|
Meister
Joined: 27 May 2010 Posts: 319
|
Posted: Tue Nov 25, 2014 9:23 am Post subject: |
|
|
Hi,
I am using "Autover" that immediately creates a time-tagged copy of files that have been saved or changed.
So one can easily go back to an earlier version.
http://bean.freeforums.org/autover-2-2-1-t173.html
The program is free (but unfortunately the author appears to have disappeared for a year or so).
Anyway, the program works well (Win7 64bit in my case). There are a lot of configuration options.
I run it as a service. Occasionally it partially crashes but still works -just ignore the error message.
Without using this program I would have been lost - it saved me incredible amount of work.
For instance, if you have ruined your code at some point and you don't remember because of many changes
what had happened you go back the hex files in history and test it. Once you have arrived at a previously working
version you compare the corresponding .bas file with the current one (using Winmerge) and you see the difference.
Regards, Meister |
|
Back to top |
|
|
sasha_1973
Joined: 30 Jul 2013 Posts: 58
|
Posted: Tue Nov 25, 2014 9:32 am Post subject: |
|
|
Many thanks!
Just super, just what you need! |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Tue Nov 25, 2014 9:46 am Post subject: |
|
|
In bascom : options, IDe, history backup.
This will create a unique file with date time stamp each time you save or compile a file. _________________ Mark |
|
Back to top |
|
|
sasha_1973
Joined: 30 Jul 2013 Posts: 58
|
Posted: Tue Nov 25, 2014 12:30 pm Post subject: |
|
|
albertsm wrote: | In bascom : options, IDe, history backup.
This will create a unique file with date time stamp each time you save or compile a file. |
Perhaps I misunderstood, but on your recommendation, saved only 1 bachkup that is constantly overwritten. I need to keep the same every compilation. |
|
Back to top |
|
|
Meister
Joined: 27 May 2010 Posts: 319
|
Posted: Tue Nov 25, 2014 4:16 pm Post subject: |
|
|
Quote: | saved only 1 bachkup (nice typo) that is constantly overwritten |
That also was my experience.
Anyway, the invaluable additional advantage of Autover is that -as mentioned above- you also can save all of the the hex-file Versions, making it very easy to identify the latest working Version just by flashing one after the other.
Regards, Meister |
|
Back to top |
|
|
sasha_1973
Joined: 30 Jul 2013 Posts: 58
|
Posted: Tue Nov 25, 2014 5:25 pm Post subject: |
|
|
Meister wrote: | Quote: | saved only 1 bachkup (nice typo) that is constantly overwritten |
That also was my experience.
Anyway, the invaluable additional advantage of Autover is that -as mentioned above- you also can save all of the the hex-file Versions, making it very easy to identify the latest working Version just by flashing one after the other.
Regards, Meister |
You are absolutely right!
Thank you! |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Wed Nov 26, 2014 1:14 pm Post subject: |
|
|
Did you checked the 'history backup' ? That option will create a hist folder in the project folder. In this folder, it will create a file named FILE~20141125 215504.hst each time you save/compile.
So the file get an additional extension with the data and time and hst extension. _________________ Mark |
|
Back to top |
|
|
AndersL
Joined: 25 Jan 2010 Posts: 92 Location: Kragerø,Norway
|
Posted: Wed Nov 26, 2014 4:17 pm Post subject: |
|
|
Hi Mark,
I suppose the ”History backup” option is for the next version? Can’t find it in 2.7.7.004. _________________ Anders |
|
Back to top |
|
|
Dibor
Joined: 04 Dec 2004 Posts: 137 Location: ISRAEL
|
Posted: Wed Nov 26, 2014 7:21 pm Post subject: |
|
|
Hi Mark.
I'm also find only "Auto Backup" option under Option -> Enviroment -> IDE.
|
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5921 Location: Holland
|
Posted: Thu Nov 27, 2014 3:32 pm Post subject: |
|
|
sorry, this option was not published yet. _________________ Mark |
|
Back to top |
|
|
|