Page 6 of 17

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 15:29
by jeffwadsworth
Well, it sure takes it sweet time cloning the project. Those instructions on the Wiki were excellent.

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 15:45
by Braids
@Chris H.: EGit may already be installed. Try clicking the File menu and choose Import.... The Import window should appear. Is there a Git category in that window?

@jeffwadsworth: thanks, but i still haven't covered ssh keys and uploading. i also would like to put the git repository in my workspace folder. the document is still a work in progress, so you may have to undo some things...

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 16:07
by jeffwadsworth
Is this essentially the process for generating the public key?

http://help.github.com/win-set-up-git/

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 16:17
by Braids
jeffwadsworth wrote:Is this essentially the process for generating the public key?

http://help.github.com/win-set-up-git/
Yes, but Rob referenced a means of doing this in eclipse, instead of installing git for windows. i want to explore that once i figure out how to get my git repository inside my eclipse workspace.

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 16:26
by Chris H.
Braids wrote:@Chris H.: EGit may already be installed. Try clicking the File menu and choose Import.... The Import window should appear. Is there a Git category in that window?
`
File -> Import only has these options:

General
CVS
Plug-in Development
Run/Debug
SVN
Team

The problem may be related to the old version of Eclipse that I have on my computer. I installed it almost 3 years ago. I updated it to v3.5 a few months ago.

I see that there is a Eclipse Classic v3.7 available for my Mac. I plan to download and install the 64 bit version. This may make a difference and it may also be more compatible with the new Lion OS that Apple just released.

Dave and Slapshot are both probably using a much newer version of Eclipse than I am. :)

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 16:27
by jendave
I will be adding the Eclipse Maven plugin to the list of software necessary for development on the wiki. By using the Maven plugin we can solve the ongoing dependency problems and ensure that our builds in Eclipse are the same as the release builds. Right now, updating dependencies is very difficult to maintain and the deps in the res/ folder are not the same as the release builds. I can make changes to the .project file that will keep things fairly transparent to the developers, but you will need to install the plugin.

If you choose the "All Available Sites" you will see a "Maven Integration for Eclipse" entry. Install the software from there. Or you can manually set it in Eclipse.
It can be downloaded from:
http://download.eclipse.org/technology/m2e/releases

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 16:38
by Rob Cashwalker
Chris - that would explain it.. outdated Eclipse.

I followed the GitHub example from the EGit documentation..

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:10
by Chris H.
Rob Cashwalker wrote:Chris - that would explain it.. outdated Eclipse.

I followed the GitHub example from the EGit documentation..
`
I installed Eclipse Classic 3.7 and checked Install New Software and there it was, EGit. Yep, outdated software.

I am also starting a new workspace. My previous workspaces had too many hacks made in an effort to get my Mac to build a java 1.5 jar for the users. This in turn is also holding me back from moving into the future.

I kind of feel like a dinosaur.

Re: Eclipse EGit woes

PostPosted: 21 Jul 2011, 17:26
by Braids
Chris H. wrote:
Braids wrote:i can't edit it. oh well.
`
Try signing in using the same name and password that you would use for CCGH forums.
oh, excellent! thanks!

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:28
by Chris H.
Rob Cashwalker wrote:Find EGit in the eclipse "Help -> Install New Software" function. Install, restart eclipse. Then do "File -> Import...", select "Git -> Projects from Git". Click "Clone". The URI is "git@gitorious.org:cardforge/cardforge.git", then just "Next" and "Finish" until it's copied down.
`
I am getting a SSH2 Message and it says:

/Users/Me/.ssh/known_hosts does not exist.
Are you sure you want to create it?

I can click on a yes or no button.

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:33
by Braids
Chris H. wrote:
Braids wrote:@Chris H.: EGit may already be installed. Try clicking the File menu and choose Import.... The Import window should appear. Is there a Git category in that window?
`
[It is not there.]
i had this exact problem with Eclipse Helios. something bad happened during the installation of EGit, and i couldn't uninstall it. i had to rename the .metadata directory in my workspace and install the latest Eclipse named Indigo.

Chris H. wrote:The problem may be related to the old version of Eclipse that I have on my computer. I installed it almost 3 years ago. I updated it to v3.5 a few months ago.

I see that there is a Eclipse Classic v3.7 available for my Mac. I plan to download and install the 64 bit version. This may make a difference and it may also be more compatible with the new Lion OS that Apple just released.
i think that's a good plan. if you'd like to update the Getting Started Guide https://www.gitorious.org/cardforge/pages/Getting_Started_Guide with your Mac experiences, feel free!

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:47
by Braids
Chris H. wrote:
Rob Cashwalker wrote:Find EGit in the eclipse "Help -> Install New Software" function. Install, restart eclipse. Then do "File -> Import...", select "Git -> Projects from Git". Click "Clone". The URI is "git@gitorious.org:cardforge/cardforge.git", then just "Next" and "Finish" until it's copied down.
`
I am getting a SSH2 Message and it says:

/Users/Me/.ssh/known_hosts does not exist.
Are you sure you want to create it?

I can click on a yes or no button.
from the pre-alpha quality guide i've been writing . . .

Weird stuff that happened to Braids when using ssh

An SSH2 Message window may appear about gitorious.org’s RSA fingerprint. If the fingerprint is 7e:af:8d:ec:f0:39:5e:ba:52:16:ce:19:fa:d4:b8:7d, click Yes.
An SSH2 Message window may appear about creating a known_hosts file. If so, click Yes.
An SSH2 Message window may appear about creating a parent folder or directory. If so, click Yes.
An SSH2 Message window may appear about checking the access permission of your .ssh folder or directory. If so, click OK.
If you get an error message about an IOStream, try clicking < Back and Next >. if that doesn't work, you're screwed, sorry. (It happened to Braids.)

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:54
by Braids
Rob Cashwalker wrote:Find EGit in the eclipse "Help -> Install New Software" function. Install, restart eclipse. Then do "File -> Import...", select "Git -> Projects from Git". Click "Clone". The URI is "git@gitorious.org:cardforge/cardforge.git", then just "Next" and "Finish" until it's copied down.
that URI did not work for me. i used "git://gitorious.org/cardforge/cardforge.git" instead. Rob, is that a problem?

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 17:56
by Chris H.
Transport Error

Cannot list the available branches.

Reason:
git@gitorious.org:cardforge/cardforge.git: Auth fail

Re: does dmca push us further toward distributed rev control

PostPosted: 21 Jul 2011, 18:14
by Chris H.
Braids wrote:that URI did not work for me. i used "git://gitorious.org/cardforge/cardforge.git" instead. Rob, is that a problem?
`
Ah, they almost look the same. I tried yours and it gets me to the next step.

I got your wiki to guide me and it looks good.