How to get started?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: How to get started?
by Chris H. » 18 Oct 2010, 10:30
`bladescape wrote:Hmm, I've already pm'd you back for this, but I'll remember to ask here from now on!
Yeah, posting the answers here will help other people to set up Eclipse in-order to access the SVN. It has been a while since I did this myself but I think that I remember how I did it.
I think that you need to open the SVN Repository Perspective and a control click will allow you to create a New -> Repository Location. Use the URL that I gave you:
https://cardforge.googlecode.com/svn
Setting up the Repository Location may be the hardest part and once you have accomplished this part it should then be easier. There are two different ways to check out a project. CVS or SVN. Ignore the CVS Perspective and concentrate on the SVN Repository Perspective.
Last edited by Chris H. on 12 Dec 2010, 11:26, edited 1 time in total.
Reason: "svn" needs to be lowercase.
Reason: "svn" needs to be lowercase.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: How to get started?
by bladescape » 19 Oct 2010, 03:18
I've attached what comes up when I press import.
I can't seem to work out how to get it to work.
I can't seem to work out how to get it to work.
- bladescape
- Posts: 26
- Joined: 11 Oct 2010, 07:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: How to get started?
by bladescape » 19 Oct 2010, 07:30
Fixed that up myself!
Now I've got ForgeSVN working, and I've got access to ForgeSVN online, but when I try to commit the cards I've added and tested:
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/!svn/act/6ba78da3-eaaf-f34f-956d-d832c63fe584': 405 Method Not Allowed (http://cardforge.googlecode.com)
Now I've got ForgeSVN working, and I've got access to ForgeSVN online, but when I try to commit the cards I've added and tested:
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/!svn/act/6ba78da3-eaaf-f34f-956d-d832c63fe584': 405 Method Not Allowed (http://cardforge.googlecode.com)
- bladescape
- Posts: 26
- Joined: 11 Oct 2010, 07:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: How to get started?
by Chris H. » 19 Oct 2010, 10:43
`bladescape wrote:Fixed that up myself!
Now I've got ForgeSVN working, and I've got access to ForgeSVN online, but when I try to commit the cards I've added and tested:
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/!svn/act/6ba78da3-eaaf-f34f-956d-d832c63fe584': 405 Method Not Allowed (http://cardforge.googlecode.com)
When you create the Repository Location you must use "https" rather than "http".
"http" will limit you to downloading the SVN code to your local copy. It is a one-way-street.
"https" will allow you to merge your work into the SVN. With this form you will also be able to merge other people's work on the SVN into your local copy. "https" is a two-way-street.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: How to get started?
by bladescape » 21 Oct 2010, 05:31
It doesn't like https.
RA layer request failed
svn: PROPFIND request failed on '/SVN'
svn: PROPFIND of '/SVN': 503 Service Unavailable (https://cardforge.googlecode.com)
RA layer request failed
svn: PROPFIND request failed on '/SVN'
svn: PROPFIND of '/SVN': 503 Service Unavailable (https://cardforge.googlecode.com)
- bladescape
- Posts: 26
- Joined: 11 Oct 2010, 07:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: How to get started?
by Chris H. » 21 Oct 2010, 11:16
`bladescape wrote:It doesn't like https.
RA layer request failed
svn: PROPFIND request failed on '/SVN'
svn: PROPFIND of '/SVN': 503 Service Unavailable (https://cardforge.googlecode.com)
Did you enter your googlecode.com password while setting up the Repository Location?
There was a period of time yesterday when I was not able to synchronize my workspace and received an error message. It cleared up after awhile and I was able to make my commit. Google acts up at times.
There might be other issues involved in the request failure. There are several people that are more knowledgable about these matters than myself.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: How to get started?
by jeffwadsworth » 21 Oct 2010, 16:07
Please check to make sure you are not behind a web proxy of any kind.bladescape wrote:It doesn't like https.
RA layer request failed
svn: PROPFIND request failed on '/SVN'
svn: PROPFIND of '/SVN': 503 Service Unavailable (https://cardforge.googlecode.com)
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: How to get started?
by Jaedayr » 21 Oct 2010, 17:32
I have managed to download Eclipse and checkout the Forge project (read only) as of two days ago. I actually got a working build and played with it a bit. How can I pick up the latest changes to the SVN without having to download everything again? I tried using Refresh and am not really sure what it did, if anything. I have been programming for a very long time but am fairly new to Java, I think I know enough to be dangerous at this point. I am not ready to start coding just yet but am spending time getting to understand how everything works, etc. Thank you in advance for your help.
Re: How to get started?
by Chris H. » 21 Oct 2010, 17:58
From the Project Explorer Perspective you can right click on the project and then select:
Team -> Synchronize with Repository
Only the new material located on the SVN will be transferred to your local copy. There is also a Team Synchronize Perspective with a few nice buttons that you can click on to accomplish the same thing.
I recently used the Refresh command a couple of times. I used a simple text editor to create the card record file for a new card and then copied it into the project cardsfolder. The Refresh command then made the project recognize that a new file had been added. From there I was then able to merge this new file into the SVN.
Team -> Synchronize with Repository
Only the new material located on the SVN will be transferred to your local copy. There is also a Team Synchronize Perspective with a few nice buttons that you can click on to accomplish the same thing.
I recently used the Refresh command a couple of times. I used a simple text editor to create the card record file for a new card and then copied it into the project cardsfolder. The Refresh command then made the project recognize that a new file had been added. From there I was then able to merge this new file into the SVN.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: How to get started?
by Rob Cashwalker » 21 Oct 2010, 19:34
I create the card files with the New -> File function. It prompts for the tree location to create the file (defaults to the folder you right-clicked on) and a filename. Then Eclipse already knows it exists.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: How to get started?
by Jaedayr » 21 Oct 2010, 19:49
Thank you both for the info. I am now up to date.
Re: How to get started?
by bladescape » 24 Oct 2010, 23:21
Alright, worked out I had a SVN eclipse update which wasn't calibrated for commiting.
And I've connected to the https address.
But when I finally get to the commit line I get the attached message.
I've tried bladescape(my forum name),bladescaper@gmail.com(My gmail account) or bladescaper(my gmail account, without the @ and all.).
I've tried all of the above with no password, my gmail password and my forum password!
EDIT:Forgot to add... NONE OF THEM WORK!!!
And I've connected to the https address.
But when I finally get to the commit line I get the attached message.
I've tried bladescape(my forum name),bladescaper@gmail.com(My gmail account) or bladescaper(my gmail account, without the @ and all.).
I've tried all of the above with no password, my gmail password and my forum password!
EDIT:Forgot to add... NONE OF THEM WORK!!!
- bladescape
- Posts: 26
- Joined: 11 Oct 2010, 07:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: How to get started?
by Chris H. » 25 Oct 2010, 00:20
You need to use your googlecode.com password. You can find it at googlecode.com password.
The googlecode.com password is different from your google/gmail password.
The googlecode.com password is different from your google/gmail password.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: How to get started?
by bladescape » 26 Oct 2010, 00:12
Oh,sorry about that!
I'd not actually gone to code.google yet.....
Well, Commiting Khabal Ghoul and Sunhome Enforcer now!!
Commited, I got an error but when I checked they'd gone through allright.
I think the error was someone else uploading at the same time.

I'd not actually gone to code.google yet.....
Well, Commiting Khabal Ghoul and Sunhome Enforcer now!!
Commited, I got an error but when I checked they'd gone through allright.
I think the error was someone else uploading at the same time.
- bladescape
- Posts: 26
- Joined: 11 Oct 2010, 07:23
- Has thanked: 0 time
- Been thanked: 0 time
Re: How to get started?
by Huggybaby » 24 Nov 2010, 02:12
-
Huggybaby - Administrator
- Posts: 3225
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 734 times
- Been thanked: 601 times
Who is online
Users browsing this forum: No registered users and 13 guests