Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
WTP Gerrit Access
WTP source code is managed by the Eclipse Git repositories. This page contains information on how to access the WTP repositories via EGit. It also may help to set up the access to the WTP repositories even if EGit is not used.
Please refer to the WTP_Git_Workflows for more detailed instructions on WTP development procedure.
Contents
Generate the SSH2 authentication key
- Open the General > Network Connections > SSH2 preference page
- Check the SSH2 home directory on the General tab to see if there is already an existing key.
- Put in a passphrase in the field Passphrase and save it properly for future reference.
- Click Save Private Key... button to save the private key to the SSH2 home directory.
- Copy the public key displayed in the dialog to upload it to the host as instructed below.
You can also generate SSH key pair on command line
Upload the SSH2 public key
- Log on to Eclipse Git repository with your Eclipse id
- Click the Add Key... button to open the dialog
- Paste the public key copied from the Eclipse preferences page to the public key area
- Click the Add button to close the dialog
Clone a repository for development
After enabling Gerrit for WTP Git repositories, the existing access URLs, for instance ssh://userid@git.eclipse.org/gitroot/jeetools/webtools.javaee.git, become ready only. A new URL, ssh://userid@git.eclipse.org:29418/gitroot/jeetools/webtools.javaee.git is created for pushing the change set.
Please use the following URLs to access the repositories to push the change set.
- ssh://userid@git.eclipse.org/gitroot/webtools-common/webtools.common.git
- ssh://userid@git.eclipse.org/gitroot/webtools-common/webtools.common.fproj.git
- ssh://userid@git.eclipse.org/gitroot/webtools-common/webtools.common.snippets.git
- ssh://userid@git.eclipse.org/gitroot/webtools-common/webtools.common.tests.git
- ssh://userid@git.eclipse.org:29418/gitroot/jeetools/webtools.javaee.git
- ssh://userid@git.eclipse.org:29418/gitroot/jeetools/webtools.javaee.tests.git
- ssh://userid@git.eclipse.org/gitroot/ejb/webtools.ejb.git
- ssh://userid@git.eclipse.org/gitroot/jsf/webtools.jsf.git
- ssh://userid@git.eclipse.org/gitroot/jsf/webtools.jsf.docs.git
- ssh://userid@git.eclipse.org/gitroot/jsf/webtools.jsf.tests.git
- ssh://userid@git.eclipse.org/gitroot/dali/webtools.dali.git
- ssh://userid@git.eclipse.org/gitroot/servertools/webtools.servertools.git
- ssh://userid@git.eclipse.org/gitroot/servertools/webtools.servertools.devsupport.git
- ssh://userid@git.eclipse.org/gitroot/servertools/webtools.servertools.docs.git
- ssh://userid@git.eclipse.org/gitroot/servertools/webtools.servertools.tests.git
- ssh://userid@git.eclipse.org/gitroot/webservices/webtools.webservices.git
- ssh://userid@git.eclipse.org/gitroot/webservices/webtools.webservices.axis2.git
- ssh://userid@git.eclipse.org/gitroot/webservices/webtools.webservices.jaxws.git
- ssh://userid@git.eclipse.org:29418/gitroot/jsdt/webtools.jsdt.git
- ssh://userid@git.eclipse.org/gitroot/sourceediting/webtools.sourceediting.git
- ssh://userid@git.eclipse.org/gitroot/sourceediting/webtools.sourceediting.tests.git
- ssh://userid@git.eclipse.org/gitroot/sourceediting/webtools.sourceediting.xpath.git
- ssh://userid@git.eclipse.org/gitroot/sourceeditin/webtools.sourceediting.xpath.tests.git
- ssh://userid@git.eclipse.org/gitroot/sourceediting/webtools.sourceediting.xsl.git
- ssh://userid@git.eclipse.org/gitroot/sourceediting/webtools.sourceediting.xsl.tests.git
- ssh://userid@git.eclipse.org/gitroot/webtools/webtools.releng.git
- ssh://userid@git.eclipse.org/gitroot/webtools/webtools.maps.git
Please refer to the WTP_Git_Workflows#Clone_a_repo for more detailed instructions on how to clone a repository.
References
For background reading on Git and Gerrit, see Git#Resources and Gerrit. For detailed instructions on WTP development procedure see WTP_Git_Workflows.