Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-23 Thread Tom Chiverton
On Wednesday 18 Apr 2007, Johannes Nel wrote: I don't see Flex or ActionScript support in it. And I never had much luck with ANT scripts for Flex from Eclipse either. funny that. i compile fine in eclipse using ant (pc and mac)... and on my servers (suse, redhat) using compc and mxmlc and

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-23 Thread Johannes Nel
If it ran on Linux, I would have the plugin version :-) fair nuff. there are ways to get ant working still in the standalone version (it involves manually copying plugin folders and jars) but worth the effort. no i don't think CC is worth it only for this, but i do think that it would help

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread bhaq1972
--- In flexcoders@yahoogroups.com, Paul J DeCoursey [EMAIL PROTECTED] wrote: I have a java class that generates a build.as file that is included in my main application mxml file. The build.as file has only public static var uiBuildText:String = unique build info here; I put in a build

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread Peter Farland
: [flexcoders] Re: Versioning swf files for bug reporting Why don't you just define a public static variable on a class with build number information and update it before building your SWF from the command line? we actually have a variable like this and my poor colleague has to always update

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread Johannes Nel
comments inline. On 17 Apr 2007 06:45:49 -0700, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 17 Apr 2007, Johannes Nel wrote: cruisecontrol (which you use with your svn (for example)) to manage your builds. the great advantage that cruise control gives you is that its build already, I

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-18 Thread bhaq1972
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, April 17, 2007 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Versioning swf files for bug reporting Why don't you just define a public

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Paul J DeCoursey
I have a java class that generates a build.as file that is included in my main application mxml file. The build.as file has only public static var uiBuildText:String = unique build info here; I put in a build id, gotten from subversion. I also include the date for the version and who did the

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Tom Chiverton
On Tuesday 17 Apr 2007, Johannes Nel wrote: cruisecontrol (which you use with your svn (for example)) to manage your builds. the great advantage that cruise control gives you is that its build already, I don't see Flex or ActionScript support in it. And I never had much luck with ANT scripts

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Tom Chiverton
On Tuesday 17 Apr 2007, bhaq1972 wrote: we actually have a variable like this and my poor colleague has to always update it before being released to our testers. It would make his life so much easier if something was built into flexbuilder. Ditto. Which was the original question. If Cruise

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Peter Farland
I suppose your CC build script could run sed over the source or something but that's fairly yuck too. [Pete] Why not just use the AS3 include directive to include a snippet of a line of AS3 code that would declare your public static variable for your version inside the class body and override

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread bhaq1972
your SWF from the command line? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, April 17, 2007 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Versioning swf files for bug

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Johannes Nel
yes, svn does increment revision numbers. he asked for a good practiceregarding building and incrementing build numbers. now from my experience working in large teams i have noticed that centralised builds work better for versioning (due to obvious problems that arrises when each developer

RE: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Peter Farland
: Tuesday, April 17, 2007 9:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Versioning swf files for bug reporting On Tuesday 17 Apr 2007, Johannes Nel wrote: cruisecontrol (which you use with your svn (for example)) to manage your builds. the great advantage that cruise

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-17 Thread Daniel Grace
I expected someone else to have chimed in with a full-fledged code example by now. Since nobody did, I will offer my point in a direction I have used before, without any actual code. The last time I did this it was with a big PHP project, with multiple files. The way that I did it was keep a

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-16 Thread Tom Chiverton
On Sunday 15 Apr 2007, simonjpalmer wrote: 'scuse the ignorant question, but what is a CI system? In this context, 'Continuous Integration' would be my guess. Something that checks out your current code, compiles it, tests it, and then reports back. You'd generally set this up to run every

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-16 Thread Johannes Nel
a poroper continues integration system provides a build nuimber for you when you use cruisecontrol for example the main problem with just incrementing a file/number for your builds comes to the fore when you have multiple people working on a project. either you have to commit this number via a

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-16 Thread Johannes Nel
this is CI http://www.martinfowler.com/articles/continuousIntegration.html i also recomend you look at www.eyefodder.com for some tips. On 13 Apr 2007 08:03:15 -0700, bhaq1972 [EMAIL PROTECTED] wrote: Thanks Johannes. Can you suggest one. At the moment we just take the bin folder generated

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Johannes Nel wrote: a poroper continues integration system provides a build nuimber for you when you use cruisecontrol for example So does (for instance) SVN. This doesn't help getting said number to display on screen in the Flex app though. -- Tom Chiverton Helping

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-15 Thread simonjpalmer
'scuse the ignorant question, but what is a CI system? --- In [EMAIL PROTECTED], bhaq1972 [EMAIL PROTECTED] wrote: Thanks Johannes. Can you suggest one. At the moment we just take the bin folder generated by Flexbuilder and copy that to our webservers. what i was thinking was, if

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-15 Thread Muzak
, 2007 11:01 AM Subject: [flexcoders] Re: Versioning swf files for bug reporting 'scuse the ignorant question, but what is a CI system?

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-15 Thread dougco2000
Check In system, ala CVS or SVN... http://www.nongnu.org/cvs/ d --- In flexcoders@yahoogroups.com, simonjpalmer [EMAIL PROTECTED] wrote: 'scuse the ignorant question, but what is a CI system? --- In flexcoders@yahoogroups.com, bhaq1972 mbhaque@ wrote: Thanks Johannes. Can you suggest

Re: [flexcoders] Re: Versioning swf files for bug reporting

2007-04-13 Thread Johannes Nel
why not get a proper CI system going. that will solve many issues you had not even noticed you had. On 12 Apr 2007 06:49:12 -0700, bhaq1972 [EMAIL PROTECTED] wrote: Is there anything flexbuilder could generate and place into the html wrapper --- In [EMAIL PROTECTED]

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-13 Thread bhaq1972
Thanks Johannes. Can you suggest one. At the moment we just take the bin folder generated by Flexbuilder and copy that to our webservers. what i was thinking was, if flexbuilder could add a build number into the html wrapper, then we could use an ExternalInterface call to extract that number

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-12 Thread bhaq1972
Is there anything flexbuilder could generate and place into the html wrapper --- In [EMAIL PROTECTED], Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 12 Apr 2007, simonjpalmer wrote: Does anyone have a good practice for holding version numbers in a flex swf file for display to

[flexcoders] Re: Versioning swf files for bug reporting

2007-04-12 Thread simonjpalmer
wouldn't that be nice! Got anything in mind? I'd settle for an ANT task run from Eclipse which updated an XMl file or something. I was hoping that someone may have stepped in with an example to save me having to go and learn ANT. Nothing forthcoming... yet... --- In [EMAIL PROTECTED],