[Seaside-dev] Detecting installed Seaside versions?

Dale Henrichs dale.henrichs at gemstone.com
Tue Nov 24 19:39:45 UTC 2009


If you use Metacello, it has the ability to calculate the current version of a project (a MetacelloVersionNumber) ... so

  ConfigurationOfSeaside30 project currentVersion

would do the trick:)

Dale

----- "Julian Fitzell" <jfitzell at gmail.com> wrote:

| We don't really have a solution to that at the moment. Obviously the
| MC version for the Core package gives some indication but clearly
| that's not really good enough.
| 
| In Seaside 2.8, you can do "SeasidePlatformSupport versionString",
| though it would probably be nice to have an array like {2. 8. 1} or
| something... maybe a WAVersion object would be better than an array
| since it could do comparisons and printing and so on. "WAVersion
| current" could return an appropriate instance. Part of me hates
| having
| to modify the code to specify the version number, but the alternative
| is to have an install script do it, which is also kind of lame.
| 
| Ok, enough rambling; clearly I, at least, am open to suggestions. :)
| 
| Julian
| 
| On Tue, Nov 24, 2009 at 1:33 AM, Andreas Raab <andreas.raab at gmx.de>
| wrote:
| > Hi -
| >
| > Curious: How does one detect an installed Seaside version? I.e.,
| assuming
| > that one would want to detect that an image has Seaside loaded
| already, how
| > would one determine its version?
| >
| > Cheers,
| >  - Andreas
| > _______________________________________________
| > seaside-dev mailing list
| > seaside-dev at lists.squeakfoundation.org
| > http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
| >
| _______________________________________________
| seaside-dev mailing list
| seaside-dev at lists.squeakfoundation.org
| http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev


More information about the seaside-dev mailing list