Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Creating a synchronized project from a git repo

So, to create a new C/C++ synchronized project fro a project in a git repo, just one project, and not cloning the whole repo, and doing it in ONE STEP, here is what I've figured out for a tutorial workflow.  Comments if you think something else is simpler or otherwise better:
1. Import Projects from git
2. enter g.. Git>Projects from Git
3. Clone URI, enter URI e.g. git@xxxxxxxxxx:reponame/ptp-tutorial.git;  Next,Next unless you know and want the default git local directory destination
4. Select "Use the New Project Wizard", Finish
5. Remote>Synchronized C/C++ Project
6. Enter a)project name
         b) UNCHECK Local directory/Use default location and enter 
                     /path/to/gitrepo/ptp-tutorial/PROJDIRNAME  
                              e.g. PROJDIRNAME = 'shallow' for our tutorial sample
         c)Remote directory: enter as usual, connection name (or create it with Browse) 
                  and remote dir
7. Project Type: Makefile project/Empty Project,  Remote Toolchain e.g. Linux GCC
            (Local toolchain optional) - Finish
8. Project is created

This was not intuitive to me, it took a couple of us several tries to figure this out
  (using git as source code repository, checking out project in the process)
The critical step is 6b), using the git local repo location instead default eclipse workspace location,
        AND specifying the project name, not the head of the repo

Anybody disagree? Trying to make tutorial slides.
John E, is there anything I missed?
 



...Beth

Beth Tibbitts


On Mon, Jul 7, 2014 at 5:14 PM, John Eblen <jeblen@xxxxxxx> wrote:
Hi Beth

It shouldn't matter whether the remote project uses git. You should
be able to create a new synchronized project that points to the remote
directory. I recommend "Empty Makefile project" for the project type.


John


On Mon, Jul 7, 2014 at 1:53 PM, Beth Tibbitts <beth@xxxxxxxxxx> wrote:
Roland/John,
How should the user create a synchronized project from a remote git repo?
I'm trying to write up a simple workflow, and the one closest to our tutorial workflow for CVS doesn't work...
it doesn't complain, it just ends up with an empty project.

...Beth

Beth Tibbitts

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top