This article documents the steps for
You should already understand:
This section describes a system for maintaining folders for ERL/IHE projects. Other ERL projects may have a different philosophy.
We have distinct folders on our computers for Eclipse workspaces and Git repositories. Remember that any files you have cloned from imphub to your computer using Git are by definition in a Git repository on your computer. You do not have to use these folder names, but for this document, assume these folders are called:
eclipse-workspaces
git-repositories
The important item is that the workspace folders and repositories are in different areas on your computer. One folder is not a subfolder of the other. Furthermore, your source code (java, xhtml, xml files) will live in a git repository on your computer and will not be found in the Eclipse workspace.
This item is worth repeating. If you start Eclipse, create a new project and start adding files, the default action of Eclipse is to place those files under the workspace folder for your project. We are going to separate the Eclipse workspace files from the source files. Only the source files will be maintained in your local Git repository and in the imphub repository.
These instructions assume you are creating a new application that will be named "example". That name (example) will appear:
We are creating one Git repository with one Eclipse project. We do not describe how to bring two different projects from imphub (that is, two separate Git repositories) into a single Eclipse workspace. That is a topic for another article.
If your Maven project is already in Eclipse, skip to step 14.
If your Maven project is already in Eclipse and in a local Git repository which you are ready to put on imphub, skip to step 23.
The first three steps are not performed with Eclipse. You can perform these steps using the command line or a file browser.
eclipse-workspaces/example
eclipse-workspaces/example/example