Sorry if this is in the docs somewhere, but how do I get the version number for an existing pod?
I decided to jump in at the deep end and try some SQL, but the build script wants a version number for the depends. "1.0" works, but I don't know how to find the current sql pod version number.
shakeshuck Mon 2 Jun 2014
Sorry if this is in the docs somewhere, but how do I get the version number for an existing pod?
I decided to jump in at the deep end and try some SQL, but the build script wants a version number for the depends. "1.0" works, but I don't know how to find the current sql pod version number.
Thanks,
Graham.
SlimerDude Mon 2 Jun 2014
Hi Graham,
Try the docs for
Pod, but in short:Pod.find("sql").versionAs
sqlis a core Fantom pod, its version is the same as Fantom. So currently it is1.0.66. But for adependencyon a core pod,"1.0"is fine.SlimerDude Mon 2 Jun 2014
From the command line:
will list all the pods (and versions) you currently have installed on your system.
Typically these pods live in
%FAN_HOME%/lib/fan/.shakeshuck Mon 2 Jun 2014
Thanks, Slimer.
I looked at your initial post but was uncertain if I'd need to
usesql which would of course need a depends and cause a cyclic issue...But it didn't. :)
The new post is simpler anyhow!
SlimerDude Tue 3 Jun 2014
Yeah, I wasn't sure of that myself! :)
The list of pods in depends in
build.fanis for statically typed classes. It primes the compiler to allowusingstatements and qualified type names.