Re: [framework-one] How to Determine which Version?

29 views
Skip to first unread message

John Whish

unread,
Nov 15, 2012, 10:22:14 AM11/15/12
to framew...@googlegroups.com
variables.framework.version

On 15 November 2012 09:34, Richard Herbert <ric...@infoweb.co.uk> wrote:
Hi,

Long term ColdFusion/frameworks (Fusebox/CFWheels/ColdBox) user but first time with FW/1 so be gentle :-)

I've inherited a FW/1 project which I'm trying to reverse engineer to see where the rabbit runs.

My first Question is, how do I determine which version of FW/1 has been implemented?

Sure, I could look at the content of framework.cfc and compare it to the repo or maybe look at the copyright date and guess the version from that. 

Is there anywhere else I could look that would provide a definitive version number? 

Am I missing something?

If not maybe it could be added to the initial copyright comment block for reference?

--
FW/1 on RIAForge: http://fw1.riaforge.org/
 
FW/1 on github: http://github.com/seancorfield/fw1
 
FW/1 on Google Groups: http://groups.google.com/group/framework-one

Matt Quackenbush

unread,
Nov 15, 2012, 10:22:46 AM11/15/12
to framew...@googlegroups.com
A couple of ways. Do a quick search through the fw1.cfc (default is at /org/corfield/framework.cfc, as I recall) and find "VERSION = ".  You can also output #variables.fw.version#, I think it is. Double check the documentation, though.

HTH

Richard Herbert

unread,
Nov 15, 2012, 11:36:01 AM11/15/12
to framew...@googlegroups.com
Thank you chaps. Easy when you know how! :-)

Be prepared for more silly questions! :-)

Richard

Marcin Szczepanski

unread,
Nov 15, 2012, 2:54:33 PM11/15/12
to framew...@googlegroups.com, framew...@googlegroups.com
Make sure to RTFM on GitHub, it's actually quite thorough. Don't let that dissuade you from asking silly questions though! :)

Sent from my iPhone

Richard Herbert

unread,
Nov 16, 2012, 8:31:36 AM11/16/12
to framew...@googlegroups.com
I did but obviously missed it. I was just expecting a simple statement at the head of the file to indicate version. That's the way my mind works :-)

Mark Drew

unread,
Nov 16, 2012, 8:35:41 AM11/16/12
to framew...@googlegroups.com
How retro of you :)

Regards
Mark Drew

Sean Corfield

unread,
Nov 16, 2012, 8:42:43 AM11/16/12
to framew...@googlegroups.com
On Fri, Nov 16, 2012 at 8:31 AM, Richard Herbert <ric...@infoweb.co.uk> wrote:
> I did but obviously missed it. I was just expecting a simple statement at
> the head of the file to indicate version. That's the way my mind works :-)

That would mean maintaining a comment and a line of code - they can
easily get out of sync. Bad idea, IMO.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

Richard Herbert

unread,
Nov 16, 2012, 9:01:03 AM11/16/12
to framew...@googlegroups.com
Hey, I'm that retro/old I even remember maintaining code version numbers in Fusedocs by hand! ;-)

Now was that a bad idea :-)
Reply all
Reply to author
Forward
0 new messages