Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "CosmosDataReportingComponent"

(Running the Data Visualization UI)
(Building the Data Visualization UI)
Line 23: Line 23:
 
# Import the following project set file [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/data-reporting/org.eclipse.cosmos.dr.build/projectSet/org.eclipse.cosmos.dr.projectSet.psf?root=Technology_Project&view=co here], .  This will check out the code from cvs into your workspace.  When prompted for a user id and password enter 'anonymous' for the id with a blank password.
 
# Import the following project set file [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/data-reporting/org.eclipse.cosmos.dr.build/projectSet/org.eclipse.cosmos.dr.projectSet.psf?root=Technology_Project&view=co here], .  This will check out the code from cvs into your workspace.  When prompted for a user id and password enter 'anonymous' for the id with a blank password.
 
# Make sure the org.eclipse.cosmos.dr.drs.service.handler compiles.    You might have to edit the JRE System Library in the Java Build Path to point to the correct jdk.  [[Image:Jdkcompile.gif]]
 
# Make sure the org.eclipse.cosmos.dr.drs.service.handler compiles.    You might have to edit the JRE System Library in the Java Build Path to point to the correct jdk.  [[Image:Jdkcompile.gif]]
 +
# Repeat the above step for org.eclipse.cosmos.dr.gvs.views and org.eclipse.cosmos.dr.ps.common.
 
# Note it is okay if the org.eclipse.tptp.platform.model plugin does not completly compile.
 
# Note it is okay if the org.eclipse.tptp.platform.model plugin does not completly compile.
 
# Expand org.eclise.cosmos.dr.build/ant and right click the buildfile.xml and Run As "Ant Build"
 
# Expand org.eclise.cosmos.dr.build/ant and right click the buildfile.xml and Run As "Ant Build"
#Refresh the workspace and expand to org.eclipse.cosmos.dr.build/driver.  There's a COSMOS-1.0-<timestamp> directory that contains three zip files:
+
#Refresh the workspace and expand to org.eclipse.cosmos.dr.build/driver.  There's a COSMOS-1.0-<timestamp> directory that contains two zip files:
          * cosmos.php.ui-COSMOS-1.0.zip
+
 
           * cosmos.rest.handler-COSMOS-1.0.zip
 
           * cosmos.rest.handler-COSMOS-1.0.zip
 
           * cosmos.reporting-COSMOS-1.0.zip
 
           * cosmos.reporting-COSMOS-1.0.zip

Revision as of 13:09, 16 May 2007

COSMOS Main Page > Architecture >

This article presents the architecture and high-level design of the COSMOS Data Visualization Component.

COSMOS Design Document

The design document has been moved to CVS undergoing iterative updates. Currently CVS was deemed as the best medium to update this document. After careful review this document will be finalized and ready to be published at which time the wiki page will contain the design document.

The CVS information to get the design document is as follows:

  • Host: dev.eclipse.org
  • Repository path: /cvsroot/technology
  • Connection Type: pserver
  • User: anonymous
  • Module path: org.eclipse.cosmos/doc/org.eclipse.cosmos.doc.architecture/data-visualization
  • Document file: COSMOS-DataVisualizationDesign.html

You can directly download and view the document here, but the image links will be broken.

Building the Data Visualization UI

Follow the following steps to build the data visualization ui components.

  1. Download wtp 1.5.3 all in one driver (http://www.eclipse.org/downloads/download.php?file=/webtools/downloads/drops/R1.5/R-1.5.3-200702082048/wtp-all-in-one-sdk-R-1.5.3-win32.zip).
  2. Import the following project set file here, . This will check out the code from cvs into your workspace. When prompted for a user id and password enter 'anonymous' for the id with a blank password.
  3. Make sure the org.eclipse.cosmos.dr.drs.service.handler compiles. You might have to edit the JRE System Library in the Java Build Path to point to the correct jdk. File:Jdkcompile.gif
  4. Repeat the above step for org.eclipse.cosmos.dr.gvs.views and org.eclipse.cosmos.dr.ps.common.
  5. Note it is okay if the org.eclipse.tptp.platform.model plugin does not completly compile.
  6. Expand org.eclise.cosmos.dr.build/ant and right click the buildfile.xml and Run As "Ant Build"
  7. Refresh the workspace and expand to org.eclipse.cosmos.dr.build/driver. There's a COSMOS-1.0-<timestamp> directory that contains two zip files:
         * cosmos.rest.handler-COSMOS-1.0.zip
         * cosmos.reporting-COSMOS-1.0.zip

Running the Data Visualization UI

  1. You need an apache+php runtime stack. The easiest way to install this stack is to download xampp 1.6.1 driver and unzip the driver to the C: drive (http://www.apachefriends.org/en/xampp.html).
  2. Download Tomcat 5.5.23 (http://tomcat.apache.org/). Unzip the driver to the C: drive.
  3. Download dojo 0.4.2 (http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2-ajax.zip). Unzip the files to c:\xampp\htdocs\cosmos. Rename the C:\xampp\htdocs\cosmos\dojo-0.4.2-ajax directory to C:\xampp\htdocs\cosmos\dojo
  4. Make sure the php runtime is configured to allow_url_include = On. You have to edit the php.ini file and add the following line:
         allow_url_include = On
  1. Download and unzip the BIRT runtime driver (http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-2_1_2-200702271000/birt-runtime-2.1.2.zip) to a directory.
  2. Copy the WebViewerExample sub directory to C:\apache-tomcat-5.5.23\webapps
  3. Unzip the cosmos.reporting-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps\WebViewerExample
  4. Unzip cosmos.php.ui-COSMOS-1.0.zip driver you built to C:\xampp\htdocs
  5. Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
  6. From the command line run C:\xampp\xampp_start.exe
  7. From the command line run C:\apache-tomcat-5.5.23\bin\startup.bat
  8. Open IE 6.0 or Mozilla Firefox 1.5 browser and point to http://localhost/cosmos/?view=cosmos

back to home

Back to the top