diff options
author | Eike Stepper | 2013-08-01 11:35:20 +0000 |
---|---|---|
committer | Eike Stepper | 2013-08-01 11:35:20 +0000 |
commit | 6d1ba9ac65f10b083732e53f4eb64e6460607c87 (patch) | |
tree | 9fea3f0b8e8c345423b0820504b0698f71f92d79 /plugins/org.eclipse.emf.cdo.releng.setup | |
parent | e471d82634bded332bd8c1264c3a0e33e62faa65 (diff) | |
download | cdo-6d1ba9ac65f10b083732e53f4eb64e6460607c87.tar.gz cdo-6d1ba9ac65f10b083732e53f4eb64e6460607c87.tar.xz cdo-6d1ba9ac65f10b083732e53f4eb64e6460607c87.zip |
Add setup tool
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng.setup')
6 files changed, 7 insertions, 137 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecore b/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecore index d506d6a766..45d8fd2bb7 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecore +++ b/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecore @@ -3,7 +3,6 @@ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="setup" nsURI="http://www.eclipse.org/CDO/releng/setup/1.0" nsPrefix="setup"> <eClassifiers xsi:type="ecore:EClass" name="Preferences" eSuperTypes="#//ToolInstallation"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="userName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="bundlePool" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="installFolder" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="gitPrefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> <eStructuralFeatures xsi:type="ecore:EReference" name="linkLocations" upperBound="-1" diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecorediag b/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecorediag index ea4966c655..59b78a722a 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecorediag +++ b/plugins/org.eclipse.emf.cdo.releng.setup/model/setup.ecorediag @@ -215,10 +215,6 @@ <element xmi:type="ecore:EAttribute" href="setup.ecore#//Preferences/userName"/> <layoutConstraint xmi:type="notation:Location" xmi:id="_eISl0eoYEeKpRf481yfX-g"/> </children> - <children xmi:type="notation:Node" xmi:id="_fqKBMOoYEeKpRf481yfX-g" type="2001"> - <element xmi:type="ecore:EAttribute" href="setup.ecore#//Preferences/bundlePool"/> - <layoutConstraint xmi:type="notation:Location" xmi:id="_fqKoQOoYEeKpRf481yfX-g"/> - </children> <children xmi:type="notation:Node" xmi:id="_cVkD8OoYEeKpRf481yfX-g" type="2001"> <element xmi:type="ecore:EAttribute" href="setup.ecore#//Preferences/installFolder"/> <layoutConstraint xmi:type="notation:Location" xmi:id="_cVkD8eoYEeKpRf481yfX-g"/> diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/Preferences.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/Preferences.java index 70dbf11647..be482948d7 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/Preferences.java +++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/Preferences.java @@ -24,7 +24,6 @@ import org.eclipse.emf.common.util.EList; * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.cdo.releng.setup.Preferences#getUserName <em>User Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.releng.setup.Preferences#getBundlePool <em>Bundle Pool</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.Preferences#getInstallFolder <em>Install Folder</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.Preferences#getGitPrefix <em>Git Prefix</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.Preferences#getLinkLocations <em>Link Locations</em>}</li> @@ -69,32 +68,6 @@ public interface Preferences extends ToolInstallation void setUserName(String value); /** - * Returns the value of the '<em><b>Bundle Pool</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Bundle Pool</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Bundle Pool</em>' attribute. - * @see #setBundlePool(String) - * @see org.eclipse.emf.cdo.releng.setup.SetupPackage#getPreferences_BundlePool() - * @model - * @generated - */ - String getBundlePool(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.releng.setup.Preferences#getBundlePool <em>Bundle Pool</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Bundle Pool</em>' attribute. - * @see #getBundlePool() - * @generated - */ - void setBundlePool(String value); - - /** * Returns the value of the '<em><b>Install Folder</b></em>' attribute. * <!-- begin-user-doc --> * <p> diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/SetupPackage.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/SetupPackage.java index 0f95d556bd..ca771d431b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/SetupPackage.java +++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/SetupPackage.java @@ -231,22 +231,13 @@ public interface SetupPackage extends EPackage int PREFERENCES__USER_NAME = TOOL_INSTALLATION_FEATURE_COUNT + 0; /** - * The feature id for the '<em><b>Bundle Pool</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int PREFERENCES__BUNDLE_POOL = TOOL_INSTALLATION_FEATURE_COUNT + 1; - - /** * The feature id for the '<em><b>Install Folder</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int PREFERENCES__INSTALL_FOLDER = TOOL_INSTALLATION_FEATURE_COUNT + 2; + int PREFERENCES__INSTALL_FOLDER = TOOL_INSTALLATION_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Git Prefix</b></em>' attribute. @@ -255,7 +246,7 @@ public interface SetupPackage extends EPackage * @generated * @ordered */ - int PREFERENCES__GIT_PREFIX = TOOL_INSTALLATION_FEATURE_COUNT + 3; + int PREFERENCES__GIT_PREFIX = TOOL_INSTALLATION_FEATURE_COUNT + 2; /** * The feature id for the '<em><b>Link Locations</b></em>' containment reference list. @@ -264,7 +255,7 @@ public interface SetupPackage extends EPackage * @generated * @ordered */ - int PREFERENCES__LINK_LOCATIONS = TOOL_INSTALLATION_FEATURE_COUNT + 4; + int PREFERENCES__LINK_LOCATIONS = TOOL_INSTALLATION_FEATURE_COUNT + 3; /** * The number of structural features of the '<em>Preferences</em>' class. @@ -273,7 +264,7 @@ public interface SetupPackage extends EPackage * @generated * @ordered */ - int PREFERENCES_FEATURE_COUNT = TOOL_INSTALLATION_FEATURE_COUNT + 5; + int PREFERENCES_FEATURE_COUNT = TOOL_INSTALLATION_FEATURE_COUNT + 4; /** * The meta object id for the '{@link org.eclipse.emf.cdo.releng.setup.impl.SetupImpl <em>Setup</em>}' class. @@ -1353,17 +1344,6 @@ public interface SetupPackage extends EPackage EAttribute getPreferences_UserName(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.releng.setup.Preferences#getBundlePool <em>Bundle Pool</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Bundle Pool</em>'. - * @see org.eclipse.emf.cdo.releng.setup.Preferences#getBundlePool() - * @see #getPreferences() - * @generated - */ - EAttribute getPreferences_BundlePool(); - - /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.releng.setup.Preferences#getInstallFolder <em>Install Folder</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1884,14 +1864,6 @@ public interface SetupPackage extends EPackage EAttribute PREFERENCES__USER_NAME = eINSTANCE.getPreferences_UserName(); /** - * The meta object literal for the '<em><b>Bundle Pool</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute PREFERENCES__BUNDLE_POOL = eINSTANCE.getPreferences_BundlePool(); - - /** * The meta object literal for the '<em><b>Install Folder</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/PreferencesImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/PreferencesImpl.java index 39c8830f36..f54be8534e 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/PreferencesImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/PreferencesImpl.java @@ -31,7 +31,6 @@ import org.eclipse.emf.ecore.util.InternalEList; * The following features are implemented: * <ul> * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.PreferencesImpl#getUserName <em>User Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.PreferencesImpl#getBundlePool <em>Bundle Pool</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.PreferencesImpl#getInstallFolder <em>Install Folder</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.PreferencesImpl#getGitPrefix <em>Git Prefix</em>}</li> * <li>{@link org.eclipse.emf.cdo.releng.setup.impl.PreferencesImpl#getLinkLocations <em>Link Locations</em>}</li> @@ -63,26 +62,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences protected String userName = USER_NAME_EDEFAULT; /** - * The default value of the '{@link #getBundlePool() <em>Bundle Pool</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBundlePool() - * @generated - * @ordered - */ - protected static final String BUNDLE_POOL_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBundlePool() <em>Bundle Pool</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBundlePool() - * @generated - * @ordered - */ - protected String bundlePool = BUNDLE_POOL_EDEFAULT; - - /** * The default value of the '{@link #getInstallFolder() <em>Install Folder</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -181,30 +160,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences * <!-- end-user-doc --> * @generated */ - public String getBundlePool() - { - return bundlePool; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBundlePool(String newBundlePool) - { - String oldBundlePool = bundlePool; - bundlePool = newBundlePool; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, SetupPackage.PREFERENCES__BUNDLE_POOL, oldBundlePool, - bundlePool)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public String getInstallFolder() { return installFolder; @@ -291,8 +246,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences { case SetupPackage.PREFERENCES__USER_NAME: return getUserName(); - case SetupPackage.PREFERENCES__BUNDLE_POOL: - return getBundlePool(); case SetupPackage.PREFERENCES__INSTALL_FOLDER: return getInstallFolder(); case SetupPackage.PREFERENCES__GIT_PREFIX: @@ -317,9 +270,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences case SetupPackage.PREFERENCES__USER_NAME: setUserName((String)newValue); return; - case SetupPackage.PREFERENCES__BUNDLE_POOL: - setBundlePool((String)newValue); - return; case SetupPackage.PREFERENCES__INSTALL_FOLDER: setInstallFolder((String)newValue); return; @@ -347,9 +297,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences case SetupPackage.PREFERENCES__USER_NAME: setUserName(USER_NAME_EDEFAULT); return; - case SetupPackage.PREFERENCES__BUNDLE_POOL: - setBundlePool(BUNDLE_POOL_EDEFAULT); - return; case SetupPackage.PREFERENCES__INSTALL_FOLDER: setInstallFolder(INSTALL_FOLDER_EDEFAULT); return; @@ -375,8 +322,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences { case SetupPackage.PREFERENCES__USER_NAME: return USER_NAME_EDEFAULT == null ? userName != null : !USER_NAME_EDEFAULT.equals(userName); - case SetupPackage.PREFERENCES__BUNDLE_POOL: - return BUNDLE_POOL_EDEFAULT == null ? bundlePool != null : !BUNDLE_POOL_EDEFAULT.equals(bundlePool); case SetupPackage.PREFERENCES__INSTALL_FOLDER: return INSTALL_FOLDER_EDEFAULT == null ? installFolder != null : !INSTALL_FOLDER_EDEFAULT.equals(installFolder); case SetupPackage.PREFERENCES__GIT_PREFIX: @@ -401,8 +346,6 @@ public class PreferencesImpl extends ToolInstallationImpl implements Preferences StringBuffer result = new StringBuffer(super.toString()); result.append(" (userName: "); result.append(userName); - result.append(", bundlePool: "); - result.append(bundlePool); result.append(", installFolder: "); result.append(installFolder); result.append(", gitPrefix: "); diff --git a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/SetupPackageImpl.java b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/SetupPackageImpl.java index 538decaa18..023c0a417b 100644 --- a/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/SetupPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.releng.setup/src/org/eclipse/emf/cdo/releng/setup/impl/SetupPackageImpl.java @@ -746,19 +746,9 @@ public class SetupPackageImpl extends EPackageImpl implements SetupPackage * <!-- end-user-doc --> * @generated */ - public EAttribute getPreferences_BundlePool() - { - return (EAttribute)preferencesEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public EAttribute getPreferences_InstallFolder() { - return (EAttribute)preferencesEClass.getEStructuralFeatures().get(2); + return (EAttribute)preferencesEClass.getEStructuralFeatures().get(1); } /** @@ -768,7 +758,7 @@ public class SetupPackageImpl extends EPackageImpl implements SetupPackage */ public EAttribute getPreferences_GitPrefix() { - return (EAttribute)preferencesEClass.getEStructuralFeatures().get(3); + return (EAttribute)preferencesEClass.getEStructuralFeatures().get(2); } /** @@ -778,7 +768,7 @@ public class SetupPackageImpl extends EPackageImpl implements SetupPackage */ public EReference getPreferences_LinkLocations() { - return (EReference)preferencesEClass.getEStructuralFeatures().get(4); + return (EReference)preferencesEClass.getEStructuralFeatures().get(3); } /** @@ -824,7 +814,6 @@ public class SetupPackageImpl extends EPackageImpl implements SetupPackage // Create classes and their features preferencesEClass = createEClass(PREFERENCES); createEAttribute(preferencesEClass, PREFERENCES__USER_NAME); - createEAttribute(preferencesEClass, PREFERENCES__BUNDLE_POOL); createEAttribute(preferencesEClass, PREFERENCES__INSTALL_FOLDER); createEAttribute(preferencesEClass, PREFERENCES__GIT_PREFIX); createEReference(preferencesEClass, PREFERENCES__LINK_LOCATIONS); @@ -936,8 +925,6 @@ public class SetupPackageImpl extends EPackageImpl implements SetupPackage IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPreferences_UserName(), ecorePackage.getEString(), "userName", null, 0, 1, Preferences.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPreferences_BundlePool(), ecorePackage.getEString(), "bundlePool", null, 0, 1, Preferences.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getPreferences_InstallFolder(), ecorePackage.getEString(), "installFolder", null, 0, 1, Preferences.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |