Select to view content in your preferred language

Multiple Flex Viewer Versions on Server

1007
5
10-22-2012 07:31 AM
MichaelVolz
Esteemed Contributor
To All Flex Viewer Users:

Can you have multiple versions (builds) of the Flex Viewer software installed on the same server?

If you have an older version of Flex Viewer on a server and then install a newer version, will only the new version be available to the Flex Viewer applications stored on that server?
Tags (2)
0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus
Michael,

   Depending on how you are deploying your Flex Viewer to your web server... You can have as MANY versions of FV on the web server as you want, as each should have it's own URL. For example I have 2.4, 2.5 and 3.0 all deployed on my server.
0 Kudos
MichaelVolz
Esteemed Contributor
Robert:

If that is the case, how do you know which version of the Flex Viewer software you are building your application against?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   This is done through personal good practice and convention. I name my projects with the FV version number in the project name and when I deploy them I do the same with the virtual directory name.
0 Kudos
MichaelVolz
Esteemed Contributor
OK, but where is the pointer that indicates which version of Flex Viewer you are building your application against.

I can have the folder where my application resides named "???"v30, but it could still be using v25 components that are installed on the same server.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michael,

   OK, Here is what I do in Flash Builder 4.6.

  1. Download a particular version of the FV source code and unzip that in a folder called "Flex Stuff" to a sub folder called something like "flexviewer-3.0-src".

  2. I have my Flash Builder workspace set to c:\Flash Builder 4.5.1

  3. I then copy the contents of the "flexviewer-3.0-src" folder from step 1 to a new folder in "c:\Flash Builder 4.5.1" called "FlexViewer3.0"

  4. Now the project is ready to import to FlashBuilder.

  5. In Flash Builder go to the file menu and click "Import Flash Builder Project..." and then choose "Project folder" and browse to the folder in step 3.

  6. Then all you have to do is add the agslib-3.0-2012-06-06.swc to the projects libs folder and build the project.

0 Kudos