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)
(Compiling the Data Visualization UI)
 
(21 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
This article presents the architecture and high-level design of the COSMOS Data Visualization Component.
 
This article presents the architecture and high-level design of the COSMOS Data Visualization Component.
  
= COSMOS Design Document =
+
= COSMOS 0.4 Data Visualization 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 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.
  
Line 17: Line 17:
 
You can directly download and view the document [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/doc/org.eclipse.cosmos.doc.architecture/data-visualization/COSMOS-DataVisualizationDesign.html?root=Technology_Project&view=co here], but the image links will be broken.
 
You can directly download and view the document [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/doc/org.eclipse.cosmos.doc.architecture/data-visualization/COSMOS-DataVisualizationDesign.html?root=Technology_Project&view=co here], but the image links will be broken.
  
= Building the Data Visualization UI =
+
= Compiling the COSMOS 0.4 Data Visualization UI =
 
Follow the following steps to build the data visualization ui components.
 
Follow the following steps to build the data visualization ui components.
  
# 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).
+
# Download wtp 2.0 RC1 all in one driver (http://download.eclipse.org/webtools/downloads/drops/R2.0/S-2.0RC1-200705250432/wtp-S-2.0RC1-200705250432.zip).
 
# 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.
 
# 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.
 
# 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"
 
#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 =
 
 
# Download Tomcat 5.5.23 (http://tomcat.apache.org/).  Unzip the driver to the C: drive.
 
# 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.
 
# Copy the WebViewerExample sub directory to C:\apache-tomcat-5.5.23\webapps
 
# Unzip the cosmos.reporting-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps\WebViewerExample
 
# Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
 
# From the command line run C:\apache-tomcat-5.5.23\bin\startup.bat
 
# Open IE 6.0 or Mozilla Firefox 1.5 browser and point to http://localhost:8080/cosmos/index.jsp?view=cosmos
 
  
 
[[ COSMOS#Architecture | back to home]]
 
[[ COSMOS#Architecture | back to home]]

Latest revision as of 21:13, 16 August 2007

COSMOS Main Page > Architecture >

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

COSMOS 0.4 Data Visualization 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.

Compiling the COSMOS 0.4 Data Visualization UI

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

  1. Download wtp 2.0 RC1 all in one driver (http://download.eclipse.org/webtools/downloads/drops/R2.0/S-2.0RC1-200705250432/wtp-S-2.0RC1-200705250432.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.

back to home

Back to the top