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 "CosmosDataReportingComponent10 209226 Sandbox"

(New page: =Overview= This document provides the UI infrastructure code based on 209226 UI Visualization infrastructure design document. =Installing and Ru...)
 
(Installing and Running Code)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Back to [[CosmosDataReportingDesign|Data Reporting Design]]
 +
 
=Overview=
 
=Overview=
 
This document provides the UI infrastructure code based on [[CosmosDataReportingComponent10_209226| 209226 UI Visualization infrastructure]] design document.
 
This document provides the UI infrastructure code based on [[CosmosDataReportingComponent10_209226| 209226 UI Visualization infrastructure]] design document.
Line 9: Line 11:
 
**EMF - http://www.eclipse.org/downloads/download.php?file=/modeling/emf/emf/downloads/drops/2.4.0/S200711062140/emf-sdo-xsd-SDK-2.4.0M3.zip
 
**EMF - http://www.eclipse.org/downloads/download.php?file=/modeling/emf/emf/downloads/drops/2.4.0/S200711062140/emf-sdo-xsd-SDK-2.4.0M3.zip
 
**GEF - http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/S-3.4M3-200711051144//GEF-SDK-3.4M3.zip
 
**GEF - http://www.eclipse.org/downloads/download.php?file=/tools/gef/downloads/drops/S-3.4M3-200711051144//GEF-SDK-3.4M3.zip
*Download and save my workspace
+
*Download and unzip the following project set file in a temporary directory.[[Media:Cosmosui.zip| COSMOS I8 project set file]]
 
*Start up Eclipse  
 
*Start up Eclipse  
*Import the workspace zip by going to File>Import...
+
*Import the project set file by going to File>Import...
*Select General>Existing Project into WOrkspace and click Next
+
*Select Team>Team Project Set and click Next.
*In the "Import Projects" page "Select archive file:" radio box and point to the workspace.zip file and click "Finish".
+
*In the "Team Project Set" page specify the project set file you saved to the temporary directory and click "Finish".
 
*Download dojo 1.0.0 and save it to a temporary directory. http://download.dojotoolkit.org/release-1.0.0/dojo-release-1.0.0.zip
 
*Download dojo 1.0.0 and save it to a temporary directory. http://download.dojotoolkit.org/release-1.0.0/dojo-release-1.0.0.zip
 
*In your workspace right click the "org.eclipse.cosmos.dr.dojotoolkit\WebContent" folder and import the contents of the dojo zip file.
 
*In your workspace right click the "org.eclipse.cosmos.dr.dojotoolkit\WebContent" folder and import the contents of the dojo zip file.
 +
[[Image:cosmosi8Install5.gif]]
 +
[[Image:cosmosi8Install6.gif]]
 
*You now need to define a Tomcat Server Runtime.  Go to Windows>Preferences..
 
*You now need to define a Tomcat Server Runtime.  Go to Windows>Preferences..
 
*Select the "Server>Installed Runtimes" node and click the "Add.." button.
 
*Select the "Server>Installed Runtimes" node and click the "Add.." button.
 +
[[Image:cosmosi8Install7.gif]]
 
*Specify Apache Tomcat 5.5 runtime and click Next.
 
*Specify Apache Tomcat 5.5 runtime and click Next.
 +
[[Image:cosmosi8Install8.gif]]
 
*Enter the location of the tomcat directory and click Finish.  Then click OK.
 
*Enter the location of the tomcat directory and click Finish.  Then click OK.
 +
[[Image:cosmosi8Install9.gif]]
 
*Now you need to set up the org.eclipse.cosmos.examples.e2e.web.ui directory.  Note that the WebContent directories under the org.eclipse.cosmos.examples.e2e.web.ui use linked folders.  This step is needed since eclipse does not use relative paths to link folders.   
 
*Now you need to set up the org.eclipse.cosmos.examples.e2e.web.ui directory.  Note that the WebContent directories under the org.eclipse.cosmos.examples.e2e.web.ui use linked folders.  This step is needed since eclipse does not use relative paths to link folders.   
 
**Right click the org.eclipse.cosmos.examples.e2e.web.ui project and create a new Folder by selecting New>Folder from the popup menu. Click the "<<Advance Button" and click the "Link to folder in the file system" check box
 
**Right click the org.eclipse.cosmos.examples.e2e.web.ui project and create a new Folder by selecting New>Folder from the popup menu. Click the "<<Advance Button" and click the "Link to folder in the file system" check box
 +
[[Image:cosmosi8Install10.gif]]
 
**Click the "Variables..." button. This should bring up a dialog box.
 
**Click the "Variables..." button. This should bring up a dialog box.
 
**Then click the "New..." button.  This should bring up dialog box where you can enter a variable name.  The linked folders use a variable named "WORKSPACE" to resolve the workspace directory.  Therefore we need to define this variable as follows:
 
**Then click the "New..." button.  This should bring up dialog box where you can enter a variable name.  The linked folders use a variable named "WORKSPACE" to resolve the workspace directory.  Therefore we need to define this variable as follows:
 +
[[Image:cosmosi8Install11.gif]]
 
**Click OK, Click OK again and then Cancel.  Note that we don't want to create a directory we just needed to add a variable name since the directories are already created.
 
**Click OK, Click OK again and then Cancel.  Note that we don't want to create a directory we just needed to add a variable name since the directories are already created.
  
Line 29: Line 38:
 
*At this point the workspace is setup to run.  Right click the org.eclipse.cosmos.examples.e2e.web.ui project and select "Run As>Run on Server".
 
*At this point the workspace is setup to run.  Right click the org.eclipse.cosmos.examples.e2e.web.ui project and select "Run As>Run on Server".
 
*Select Tomcat v5.5 Server and click Finish. The server will start.   
 
*Select Tomcat v5.5 Server and click Finish. The server will start.   
 +
[[Image:cosmosi8Install12.gif]]
 
*Now open FireFox 2.0  or IE 6+ and type http://localhost:8080/COSMOSUI/?view=cosmos.  You should see the COSMOS UI.
 
*Now open FireFox 2.0  or IE 6+ and type http://localhost:8080/COSMOSUI/?view=cosmos.  You should see the COSMOS UI.
 +
[[Image:cosmosInstallFinal.gif]]

Latest revision as of 16:06, 27 November 2007

Back to Data Reporting Design

Overview

This document provides the UI infrastructure code based on 209226 UI Visualization infrastructure design document.

Installing and Running Code

Cosmosi8Install5.gif Cosmosi8Install6.gif

  • You now need to define a Tomcat Server Runtime. Go to Windows>Preferences..
  • Select the "Server>Installed Runtimes" node and click the "Add.." button.

Cosmosi8Install7.gif

  • Specify Apache Tomcat 5.5 runtime and click Next.

Cosmosi8Install8.gif

  • Enter the location of the tomcat directory and click Finish. Then click OK.

Cosmosi8Install9.gif

  • Now you need to set up the org.eclipse.cosmos.examples.e2e.web.ui directory. Note that the WebContent directories under the org.eclipse.cosmos.examples.e2e.web.ui use linked folders. This step is needed since eclipse does not use relative paths to link folders.
    • Right click the org.eclipse.cosmos.examples.e2e.web.ui project and create a new Folder by selecting New>Folder from the popup menu. Click the "<<Advance Button" and click the "Link to folder in the file system" check box

Cosmosi8Install10.gif

    • Click the "Variables..." button. This should bring up a dialog box.
    • Then click the "New..." button. This should bring up dialog box where you can enter a variable name. The linked folders use a variable named "WORKSPACE" to resolve the workspace directory. Therefore we need to define this variable as follows:

Cosmosi8Install11.gif

    • Click OK, Click OK again and then Cancel. Note that we don't want to create a directory we just needed to add a variable name since the directories are already created.
  • Right click the org.eclipse.cosmos.examples.e2e.web.ui project and select "Refresh".
  • At this point the workspace is setup to run. Right click the org.eclipse.cosmos.examples.e2e.web.ui project and select "Run As>Run on Server".
  • Select Tomcat v5.5 Server and click Finish. The server will start.

Cosmosi8Install12.gif

File:CosmosInstallFinal.gif

Back to the top