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"

(Building the Data Visualization UI)
(Running the Data Visualization UI)
Line 28: Line 28:
  
 
# Download Tomcat 5.5.23 (http://tomcat.apache.org/).  Unzip the driver to the C: drive.
 
# Download Tomcat 5.5.23 (http://tomcat.apache.org/).  Unzip the driver to the C: drive.
# Download and unzip the BIRT 2.2 runtime driver (http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/M-R1-2.2RC0-200705210630/birt-runtime-2.2RC0.zip) to a directory.
 
# Copy the WebViewerExample sub directory to C:\apache-tomcat-5.5.23\webapps
 
# Download COSMOS 1.0 Data Collection driver (http://www.eclipse.org/downloads/download.php?file=/technology/cosmos/1.0.0/COSMOS-1.0.0-200706050500/cosmos-dc-incubation-COSMOS-1.0.0-200706050500.zip).  Unzip the plugins to a temporary directory.  Copy all files under eclipse/plugins to C:\apache-tomcat-5.5.23\webapps\WebViewerExample\WEB-INF\platform\plugins.  Note: Bug [https://www.eclipse.org/bugs/show_bug.cgi?id=191162 191162] should be fixed before you apply the driver.
 
# Copy the following plugins under C:\apache-tomcat-5.5.23\webapps\WebViewerExample\WEB-INF\platform\plugins
 
<pre>
 
javax.activation.api_1.1.0
 
javax.mail.api_1.4.0
 
javax.saaj.api_1.3.0
 
javax.servlet.jsp_2.0.0.v200703221034.jar
 
javax.servlet_2.4.0.v200704241052.jar
 
javax.stax.api_1.0.1
 
muse-complete-2.2.0.jar
 
muse-osgi-soa-mini-2.2.0.jar
 
org.apache.commons.httpclient_3.0.1
 
org.apache.commons.logging_1.1.0
 
org.apache.derby_10.2.2.0_v200705011300.jar
 
org.apache.neethi_2.0.0
 
org.apache.ws.commons.schema_1.2.0
 
org.apache.wsdl4j_1.6.1
 
org.apache.xalan_2.7.0
 
org.eclipse.equinox.ds_1.0.0.v20070226.jar
 
org.eclipse.equinox.http.jetty_1.0.0.v20070427.jar
 
org.eclipse.equinox.http.servlet_1.0.0.v20070402.jar
 
org.eclipse.equinox.log_1.0.100.v20070226.jar
 
org.eclipse.osgi.util_3.1.100.v20060918.jar
 
org.mortbay.jetty_5.1.11.v200701082340.jar
 
</pre>
 
# Copy the following config.ini file [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cosmos/data-reporting/org.eclipse.cosmos.dr.gvs.report.viewer/WebContent/WEB-INF/platform/configuration/config.ini?root=Technology_Project&view=co here] to C:\apache-tomcat-5.5.23\webapps\WebViewerExample\WEB-INF\platform\configuration.
 
# Edit the config.ini file and modify the "derby.system.home=E:\database" entry to point to your derby databse.
 
 
# Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
 
# Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
 +
# Download dojo 0.4.2 (http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2p1-ajax.zip).  Unzip the files to "C:\apache-tomcat-5.5.23\webapps\COSMOSUI" directory.  Rename the dojo-0.4.2-ajax directory to dojo.
 
# From the command line run C:\apache-tomcat-5.5.23\bin\startup.bat
 
# 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
+
# Open IE 6.0 or Mozilla Firefox 1.5 browser and point to http://localhost:8080/COSMOSUI/index.jsp?view=cosmos
  
 
[[ COSMOS#Architecture | back to home]]
 
[[ COSMOS#Architecture | back to home]]

Revision as of 12:01, 20 June 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.

Compiling the 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.

Running the Data Visualization UI

  1. Download Tomcat 5.5.23 (http://tomcat.apache.org/). Unzip the driver to the C: drive.
  2. Unzip cosmos.rest.handler-COSMOS-1.0.zip driver you built to C:\apache-tomcat-5.5.23\webapps
  3. Download dojo 0.4.2 (http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2p1-ajax.zip). Unzip the files to "C:\apache-tomcat-5.5.23\webapps\COSMOSUI" directory. Rename the dojo-0.4.2-ajax directory to dojo.
  4. From the command line run C:\apache-tomcat-5.5.23\bin\startup.bat
  5. Open IE 6.0 or Mozilla Firefox 1.5 browser and point to http://localhost:8080/COSMOSUI/index.jsp?view=cosmos

back to home

Back to the top