Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Change default workspace name?(Setup wizard defaults)
Change default workspace name? [message #1823988] Mon, 06 April 2020 08:17 Go to next message
Keith Ralphs is currently offline Keith RalphsFriend
Messages: 4
Registered: March 2020
Junior Member
Hello,

How can I change the default workpace name that appears in the Workspace Location Rule combo box in the setup wizard from ws to workspace, so that this is what appears without the need to manually change it in the wizard itself. We are currently migrating to using Oomph in our build from Buckminster and it would be nice to not have to change the current directory naming scheme.

I'm aware that, once set, the value gets written into the user's user.setup file as an attributeRule but it would be good if every user didn't have to do this when they start using the new system. Is it possible to put such an attributeRule in the project setup file (or one of the others) to achieve this as that didn't seem to work when I tried it.
Re: Change default workspace name? [message #1824004 is a reply to message #1823988] Mon, 06 April 2020 11:40 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
You could take the choice away by using a variable like this in the project setup:
<?xml version="1.0" encoding="UTF-8"?>
<setup:VariableTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="workspace.location"
    value="${installation.location/workspace}"/>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Change default workspace name? [message #1824008 is a reply to message #1824004] Mon, 06 April 2020 13:16 Go to previous messageGo to next message
Keith Ralphs is currently offline Keith RalphsFriend
Messages: 4
Registered: March 2020
Junior Member
Thanks Ed, that works great. What would the name of the variable to use to do the same for the git clone location rule combo?
Re: Change default workspace name? [message #1824022 is a reply to message #1824008] Mon, 06 April 2020 15:19 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
Each Git Clone task has a location feature so you can set each one however you like.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Logo on Eclipse Installer
Next Topic:Lock git repo url via configuration
Goto Forum:
  


Current Time: Tue May 07 20:40:54 GMT 2024

Powered by FUDForum. Page generated in 0.03345 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top