Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To develop widgets or modify the GUI framework, the following steps are necessary separately to the above guide:

  • For GUI devdebugging, windows only: Flex Flash Builder plug-in (this installs debug code in all installed Debugger (scroll to bottom. Version Tagged "For IE" installs to internet explorer. Others install to all other browsers), a commercial component (we use 4.6.0).
    • It is also necessary to download and install version 4.5.1A of the Flex SDK (which is an open source library)
    • Note even without the commercial component, the GUI code can be built using the ant script plus the Flex SDK
      • (our software should work with 4.5.0+, but the checked in flex properties files point to 4.5.1A, so it's possible but a slight pain to work with different versions - for Linux-only installing, it shouldn't matter at all though, you specify the location of the Flex SDK as FLEX_HOME, eg "ant -DFLEX_HOME=/home/user/flex_sdk")
  • Other projects that need to be downloaded in eclipse:
    • For GUI framework development:
      • visualization/frameworks/flex/infinit.e.flex.client (GUI only - can only be run on Windows, though can be built on linux using the provided ant script)
      • visualization/frameworks/flex/infinit.e.flex.client.library (GUI only - can only be run on Windows, though can be built on linux using the provided ant script)
      • visualization/frameworks/flex/infinit.e.widget.library (GUI only - can only be run on Windows, though can be built on linux using the provided ant script)
    • For widget development:
      • None, just follow the instructions here.
        • (of course you can check out widgets from "visualization/widgets/flex" to look at examples or edit existing widgets to change/enhance their functionality - note however that most of the widgets use the commercial iLog/Elixir licenses, which aren't included in the software distribution - trial versions can be obtained from here, together with details for purchasing the full commercial licenses.
          • The widgets using iLog are: InfiniteMapQuestWidget - only for the heatmap - , InfiniteSentimentWidget, InfiniteSignificanceWidget, InfiniteTimelineWidget, InfiniteTimelineEventWidget)
  • To run a local instance of the GUI (requires the "GUI only" projects), navigate to "infinit.e.flex.client/src/index.xml" and run as web application
    • To point to anywhere other than the cloud GUI (eg to a local API, or to the Beta cloud build), it is necessary to create "html-template/AppConstants.js" from the ".TEMPLATE" file, and modify the "url" variable in the "getEndPointUrl()" function (And possibly "getMapLicenseKey()" though not if switching to localhost). Note that the getMapLicenseKey() can contain any string (when using the Open Source version of MapQuest - for the Licensed version it must be an API key obtained from MapQuest).

...