Re: [flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread Tom Chiverton
On Tuesday 19 Feb 2008, essuark wrote: The purpose of a version? Well to find out what version of the product the customer has for one... Right, so embedding the SVN revision number for the top level directory (or better, the SVN tag/branch name) would do ? This has problems, even using

Re: [flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread Samuel Neff
Here's a C# class we use to parse out SVN info from the working copy .svn folders. Once we have this a simple regex replace is used on the version.asfile within our build script. Some build toold like cruse control.net provide version stamping built in. Ant might do it as well, not sure. HTH,

Re: [flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread Tom Chiverton
On Tuesday 19 Feb 2008, simonjpalmer wrote: I would use a unique and incrementing build number rather than the latest svn rev unless your build process locks the repository, labels it and uses the rev of the label for the build number. SVN can roll forward/back by date, so build time would

[flexcoders] Re: Any way to version a swf with major and minor

2008-02-19 Thread simonjpalmer
...that's what CruiseControl is for. Updating versions by hand is not reliable enough and there's nothing worse than not knowing which version of code is in which build. This goes for testing just as much as for customers logging issues. If you have appropriate separation between your

[flexcoders] Re: Any way to version a swf with major and minor

2008-02-17 Thread cashshadow
Hey everyone, first post here. The other day I posted this to flashcoders, doesn't seem like too many were interested, so I'll try here: Ola, I thought some of you might be interested in this. Before starting a little Actionscript project in FB, I installed git, the newest craze in

[flexcoders] Re: Any way to version a swf with major and minor

2008-02-15 Thread simonjpalmer
this is exactly what we do too, except we use cruisecontrol to update a build version rather than use an svn rev. We show our version in the UI. --- In flexcoders@yahoogroups.com, Samuel Neff [EMAIL PROTECTED] wrote: We have a Version.as class which defines a version number in a constant and