Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345320 - Cannot enable auto-git as advertised
Summary: Cannot enable auto-git as advertised
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 15:01 EDT by Boris Bokowski CLA
Modified: 2011-09-01 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Bokowski CLA 2011-05-10 15:01:27 EDT
Turns out you need to put the following two lines in the preference file, not just the first one:

orion.project.defaultSCM=git
orion.file.layout=userTree

Btw, can we please make this the default configuration for our download please? It's a major hassle to make this change every time anybody is setting up a locally hosted Orion for demo purposes. They always ping me for help with doing the necessary changes!
Comment 2 John Arthorne CLA 2011-05-10 15:55:48 EDT
Making git the default:

http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=59a7a356852f9cc8f029b0fc0f69f4f318a349ce

Note I have configured this at the product level, so we don't have a git=default assumption deep in our core internals. Running a downloaded server this should be picked up automatically. If you launch a server from your workspace you need to ensure the product is specified in the launch config (program args):

-product org.eclipse.orion.product