Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SC.getVersion ()?

    How can I get the version of SmartGWT currently running?
    I am looking for something like this which, for GWT 2.3.0, returns "2.3.0":
    Code:
    GWT.getVersion ()

    #2
    I didn't see any thing like this in the documentation.

    Perhaps you can try to see the source code of the developper console provided by SmartGWT.

    Good luck.

    But one question : why are u trying to achieve this ?

    Comment


      #3
      I want a page that shows me as many details as possible about my system.
      This way I don't have to look in many places, or lookup say application build number to GWT/SmartGWT versions.

      I would think this would be even more important for apps that are installed at customer sites, so that your Tech Support team has a single place to look for info about the installation.

      Comment


        #4
        Use com.smartgwt.client.Version.getVersion()

        Comment


          #5
          That's it, thanks!

          Here is the output of all its methods:
          getVersion (): 2.5
          getMajor (): 2
          getMinor (): 5
          getBuildDate (): Tuesday, August 02, 2011 4:09:00 AM

          Comment


            #6
            Originally posted by sjivan
            Use com.smartgwt.client.Version.getVersion()

            Awesome! Thank you!!!!!

            Comment

            Working...
            X