We are using MCUXpresso for many of our projects. We are also using GIT for version control.
So far we have to Clone the repository. Then create a new workspace in the directory and then import existing projects.
We tried to include the workspace in the GIT repository so we could just open the workspace without the need to import the projects after cloning the repository.
The problem is that the paths seem to be absolute, so the projects are not found in the workspace.
Is there a way to create a worksapace where the project paths are relative to the workspace?
Solved! Go to Solution.
Suggest you use eGit plugin, which integrates directly into Eclipse/MCUXpresso. With this, you can commit straight from the workspace and do pretty much all of your Git procedures directly in the IDE. As long as all projects in the workspace have relative paths, then they will be retained.
for more info, see EGit Tutorial - EclipseSource
Suggest you use eGit plugin, which integrates directly into Eclipse/MCUXpresso. With this, you can commit straight from the workspace and do pretty much all of your Git procedures directly in the IDE. As long as all projects in the workspace have relative paths, then they will be retained.
for more info, see EGit Tutorial - EclipseSource
I guess this works and is probably the only solution.
But we don’t really like the way it works.
We would like the cloned repository to be a subdirectory of the workspace. Not be hidden in the %USERPROFILE%\GIT directory.
There are two reasons for this.
You can have the clone anywhere. See
git - Eclipse + EGit: clone project into workspace - Stack Overflow
Using Egit does not stop you using other tools if you wish. But we found that once you are used to it, 99% of people like the convenience of doing everything in the same environment.
Thank you, I guess I went too fast and missed the directory selection on the last "Clone Repository" dialog
-Ray