Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316743

Summary: Option 0) to create a database for importing branches is not accepted in 0.9.4
Product: [Technology] OSEE Reporter: Mark D-B <mark.db>
Component: OSEE Application FrameworkAssignee: Project Inbox <osee.framework-inbox>
Status: NEW --- QA Contact:
Severity: trivial    
Priority: P3    
Version: 0.9.4   
Target Milestone: 0.9.5   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=316744
Whiteboard:

Description Mark D-B CLA 2010-06-14 06:41:36 EDT
1. Initialise an empty database
2. Start the 0.9.4 application server (postgresql version)
3. Change to the directory in which the 0.9.4 client is installed
4. eclipse -nosplash -application org.eclipse.osee.framework.database.init.configClient -console -vmargs -XX:MaxPermSize=256m -Xmx512m -Dosee.application.server=http://localhost:8089

The script runs as far as asking which initialisation type to run, but does not accept 0 (see below). 1 is accepted, but gets an exception and then gets stuck(see linked bug).


Select Init Group To Run.
   0) Base - for importing branches
   1) OSEE Demo Database
Enter: 0 - 1
0
---Controlling the OSGi framework---
        launch - start the OSGi Framework
        shutdown - shutdown the OSGi Framework
        close - shutdown and exit
        exit - exit immediately (System.exit)
        init - uninstall all bundles
        setprop <key>=<value> - set the OSGi property
---Controlling Bundles---
        install - install and optionally start bundle from the given URL
        uninstall - uninstall the specified bundle(s)
        start - start the specified bundle(s)
        stop - stop the specified bundle(s)
        refresh - refresh the packages of the specified bundles
        update - update the specified bundle(s)
---Displaying Status---
        status [-s [<comma separated list of bundle states>]  [<segment of bsn>]
] - display installed bundles and registered services
        ss [-s [<comma separated list of bundle states>]  [<segment of bsn>]] -
display installed bundles (short status)
        services [filter] - display registered service details
        packages [<pkgname>|<id>|<location>] - display imported/exported package
 details
        bundles [-s [<comma separated list of bundle states>]  [<segment of bsn>
]] - display details for all installed bundles
        bundle (<id>|<location>) - display details for the specified bundle(s)
        headers (<id>|<location>) - print bundle headers
        log (<id>|<location>) - display log entries
---Extras---
        exec <command> - execute a command in a separate process and wait
        fork <command> - execute a command in a separate process
        gc - perform a garbage collection
        getprop  [ name ] - displays the system properties with the given name,
or all of them.
---Controlling Start Level---
        sl [<id>|<location>] - display the start level for the specified bundle,
 or for the framework if no bundle specified
        setfwsl <start level> - set the framework start level
        setbsl <start level> (<id>|<location>) - set the start level for the bun
dle(s)
        setibsl <start level> - set the initial bundle start level
---Controlling the Profiling---
        profilelog - Display & flush the profile log messages
---Eclipse Runtime commands---
        diag - Displays unsatisfied constraints for the specified bundle(s).
        enableBundle - enable the specified bundle(s)
        disableBundle - disable the specified bundle(s)
        disabledBundles - list disabled bundles in the system
---Configurator Commands---
        confapply [<config URL>] - Applies a configuration
---Service Component Runtime---
        list/ls [-c] [bundle id] - Lists all components; add -c to display the c
omplete info for each component;
                        use [bundle id] to list the components of the specified
bundle
        component/comp <component id> - Prints all available information about t
he specified component;
                        <component id> - The ID of the component as displayed by
 the list command
        enable/en <component id> - Enables the specified component;
                        <component id> - The ID of the component as displayed by
 the list command
        disable/dis <component id> - Disables the specified component;
                        <component id> - The ID of the component as displayed by
 the list command
        enableAll/enAll [bundle id] - Enables all components; use [bundle id] to
 enable all components of the specified bundle  disableAll/disAll [bundle id] -
Disables all components; use [bundle id] to disable all components of the specif
ied bundle
---Extension Registry Commands---
        ns [-v] [name] - display extension points in the namespace; add -v to di
splay extensions
        pt [-v] uniqueExtensionPointId - display the extension point and extensi
ons; add -v to display config elements

---Application Admin Commands---
        activeApps - lists all running application IDs
        apps - lists all installed application IDs
        lockApp <application id> - locks the specified application ID
        schedApp <application id> <time filter> [true|false] - schedules the spe
cified application id to launch at the specified time filter.  Can optionally ma
ke the schedule recurring.
        startApp <application id> - starts the specified application ID
        stopApp <application id> - stops the specified running application ID
        unlockApp <application id> - unlocks the specified application ID
        unschedApp <application id> - unschedules all scheduled applications wit
h the specified application ID
---Controlling the Console---
        more - More prompt for console output
Comment 1 Mark D-B CLA 2010-06-14 07:21:54 EDT
I think this may simply be a matter of timing - it looks like I typed 0 too soon after the prompt appeared.