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

Bug 401194

Summary: All server options should be settable from orion.conf
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: NodeAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: 2.0   
Target Milestone: 6.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-02-19 10:05:23 EST
Currently only `npm_path` and `pwd` options can be set from orion.conf, and other stuff (p/port, pwd/password, w/workspace, dev, log) has to be passed on the command line.

There's no reason for this distinction. Every option should be settable from either the command line or the conf file.
Comment 1 Ken Walker CLA 2013-02-19 10:11:56 EST
Specifically I'd like the server workspace for 2.0 - otherwise those that NPM it can't point to other places on their drive to edit code, only a .workspace directory under node_modules
Comment 2 John Arthorne CLA 2013-02-19 11:38:33 EST
For the Orion Java server there is a chicken/egg problem that Equinox needs the workspace location very early in startup likely before we can read the configuration file. But for node server I expect this should be feasible because "workspace" in that context just means "the place to read/write files".
Comment 3 Mark Macdonald CLA 2013-02-19 17:20:38 EST
I thought this would be easy, but it required too much refactoring, so I'm targeting it for 3.0. I opened another bug for just the minimal change required to address Ken's request in Comment 1.
Comment 4 John Arthorne CLA 2015-05-05 16:18:03 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html