Skip to main content

Notice: This Wiki is now read only and edits are no longer 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 25: Line 25:
 
# Repeat the above step for org.eclipse.cosmos.dr.gvs.views and org.eclipse.cosmos.dr.ps.common.
 
# 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.
 +
# Create a "Static Web Project" named "org.dojo.toolkit".  This project will contain the dojo distribution.
 +
# Download dojo 0.4.2 (http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2-ajax.zip).  Unzip the files to "org.dojo.toolkit\WebContent" directory.  Rename the org.dojo.toolkit\WebContent\dojo-0.4.2-ajax directory to org.dojo.toolkit\WebContent\dojo.  The project structure should look like the following:[[Image:dojo_proj.gif]]
 
# 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 two 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:

Revision as of 13:23, 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. Create a "Static Web Project" named "org.dojo.toolkit". This project will contain the dojo distribution.
  7. Download dojo 0.4.2 (http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2-ajax.zip). Unzip the files to "org.dojo.toolkit\WebContent" directory. Rename the org.dojo.toolkit\WebContent\dojo-0.4.2-ajax directory to org.dojo.toolkit\WebContent\dojo. The project structure should look like the following:Dojo proj.gif
  8. Expand org.eclise.cosmos.dr.build/ant and right click the buildfile.xml and Run As "Ant Build"
  9. 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. Download Tomcat 5.5.23 (http://tomcat.apache.org/). Unzip the driver to the C: drive.
  2. 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.
  3. Copy the WebViewerExample sub directory to C:\apache-tomcat-5.5.23\webapps
  4. Unzip the cosmos.reporting-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps\WebViewerExample
  5. Unzip cosmos.php.ui-COSMOS-1.0.zip driver you built to C:\xampp\htdocs
  6. Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
  7. From the command line run C:\xampp\xampp_start.exe
  8. From the command line run C:\apache-tomcat-5.5.23\bin\startup.bat
  9. 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