Shop OBEX P1 Docs P2 Docs Learn Events
Keeping track of Object file versions — Parallax Forums

Keeping track of Object file versions

william chanwilliam chan Posts: 1,326
edited 2008-03-06 06:51 in Propeller 1
Whenever I improve an object, I change the file name to reflect the version number, like myobject_v1_3_2.spin.

This also allows me to go back to the previous object version if the new version does not work well.

Unfortunately, all files that use myobject also have to be changed to use the correct object version.
This is a hassle.

Is there a better way to keep track of object versions?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my

Comments

  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2008-03-06 06:30
    Use the export function of the propeller tool. It will basically create a snapshot of your project at any point in time. Its not the real solution but its a start.
  • deSilvadeSilva Posts: 2,967
    edited 2008-03-06 06:51
    As there is no version management in the IDE, I see even no second best solution.
    What I do is using an "archieving work around":

    Say an object is called MPE_OBJA
    * I keep an MPE_OBJA.SPIN and a folder MPE_OBJA in the working directory
    *The folder MPE_OBJA contains many spin files called MPE_OBJA_nnn.SPIN (I am faitfully following Andr
Sign In or Register to comment.