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.
Difference between revisions of "OSEE/Tutorial"
Line 35: | Line 35: | ||
===OSEE Client=== | ===OSEE Client=== | ||
+ | |||
+ | Extract and launch Eclipse. From the update manager, install the update sites located under "OseeClient": | ||
+ | * org.eclipse.osee_integration_build_incubation.zip | ||
+ | * osee.add.ons.updatesite.zip osee.add.ons.updatesite.zip | ||
+ | |||
+ | ==Initialization== | ||
+ | |||
+ | ===Launch Application Server=== | ||
+ | |||
+ | Execute the osee_app_server script located under "OseeApplicationServer" and wait until the server finishes the start up procedure before closing the console. | ||
+ | |||
+ | ===Database Initialization=== | ||
+ | |||
+ | In a command prompt, change to the Eclipse install directory and execute the following command: | ||
+ | |||
+ | <source> | ||
+ | eclipsec -application org.eclipse.osee.framework.database.configClient -vmargs -Xmx512m | ||
+ | -Dosee.log.default=INFO -Dosee.application.server=http://localhost:8089 | ||
+ | -Dosee.authentication.protocol=trustAll -Dosee.prompt.on.db.init=false | ||
+ | -Dosee.choice.on.db.init="OSEE Demo Database" | ||
+ | </source> | ||
+ | |||
+ | Once db init closes, type "exit" in the server console. | ||
+ | |||
+ | ===Populate Demo Data=== | ||
+ | |||
+ | Launch the Application Server and then the OSEE client with the following command: | ||
+ | |||
+ | <source> | ||
+ | eclipse -vmargs -Xmx512m | ||
+ | -Dosee.application.server=http://localhost:8089 | ||
+ | -Dosee.authentication.protocol=demo | ||
+ | </source> | ||
+ | |||
+ | Switch to the ATS perspective ('''Window > Open Perspective > ATS>); in the ATS Navigator window, enter "Populate" as the filter and press Enter, then double click on the "Populate Demo Actions" item. |
Revision as of 17:42, 10 June 2009
This page is being adapted from this presentation.
Contents
Requirements
System Requirements
OSEE requires a system with at least 1GB of RAM running JRE 1.6 or higher. Microsoft Office is useful for the demo.
Eclipse Dependencies
The following Eclipse dependencies are required, although it is easiest to simply use the [Ganymede Eclipse install.
- Eclipse 3.4.2 SDK
- org.eclipse.gef
- org.eclipse.draw2d
- org.eclipse.birt
- org.eclipse.datatools
Installation
Database
Install PostgreSQL using the following settings:
- Default install path and data directory
- Password "Postgre1"
- Port 5432
- Default locale
- On the final screen, ensure that "Launch Stack Builder" is not selected
After saving the database password using pgadmin, run the osee_db_setup script, which is located under the "PostgreSql" folder.
More on PostgreSQL installation
Java Runtime Environment (JRE)
Ensure that the directory in which the JRE is installed is in the path by typing "java --version" at a command prompt.
OSEE Client
Extract and launch Eclipse. From the update manager, install the update sites located under "OseeClient":
- org.eclipse.osee_integration_build_incubation.zip
- osee.add.ons.updatesite.zip osee.add.ons.updatesite.zip
Initialization
Launch Application Server
Execute the osee_app_server script located under "OseeApplicationServer" and wait until the server finishes the start up procedure before closing the console.
Database Initialization
In a command prompt, change to the Eclipse install directory and execute the following command:
Invalid language.
You need to specify a language like this: <source lang="html4strict">...</source>
Supported languages for syntax highlighting:
4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, otj, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic
eclipsec -application org.eclipse.osee.framework.database.configClient -vmargs -Xmx512m -Dosee.log.default=INFO -Dosee.application.server=http://localhost:8089 -Dosee.authentication.protocol=trustAll -Dosee.prompt.on.db.init=false -Dosee.choice.on.db.init="OSEE Demo Database"
Once db init closes, type "exit" in the server console.
Populate Demo Data
Launch the Application Server and then the OSEE client with the following command:
Invalid language.
You need to specify a language like this: <source lang="html4strict">...</source>
Supported languages for syntax highlighting:
4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, otj, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic
eclipse -vmargs -Xmx512m -Dosee.application.server=http://localhost:8089 -Dosee.authentication.protocol=demo
Switch to the ATS perspective (Window > Open Perspective > ATS>); in the ATS Navigator window, enter "Populate" as the filter and press Enter, then double click on the "Populate Demo Actions" item.