It is currently 23 Apr 2024, 16:17
   
Text Size

How to get started?

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: How to get started?

Postby 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! :wink:
`
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.
User avatar
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?

Postby 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.
Attachments
screen.JPG
bladescape
 
Posts: 26
Joined: 11 Oct 2010, 07:23
Has thanked: 0 time
Been thanked: 0 time

Re: How to get started?

Postby 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)
bladescape
 
Posts: 26
Joined: 11 Oct 2010, 07:23
Has thanked: 0 time
Been thanked: 0 time

Re: How to get started?

Postby 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. :D
User avatar
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?

Postby 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)
bladescape
 
Posts: 26
Joined: 11 Oct 2010, 07:23
Has thanked: 0 time
Been thanked: 0 time

Re: How to get started?

Postby 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. :)
User avatar
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?

Postby jeffwadsworth » 21 Oct 2010, 16:07

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)
Please check to make sure you are not behind a web proxy of any kind.
jeffwadsworth
Super Tester Elite
 
Posts: 1171
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 69 times

Re: How to get started?

Postby 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.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: How to get started?

Postby 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.
User avatar
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?

Postby 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.
User avatar
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?

Postby Jaedayr » 21 Oct 2010, 19:49

Thank you both for the info. I am now up to date.
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: How to get started?

Postby 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!!!
Attachments
eclipse logging.JPG
bladescape
 
Posts: 26
Joined: 11 Oct 2010, 07:23
Has thanked: 0 time
Been thanked: 0 time

Re: How to get started?

Postby 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.
User avatar
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?

Postby bladescape » 26 Oct 2010, 00:12

Oh,sorry about that! :oops:

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?

Postby Huggybaby » 24 Nov 2010, 02:12

User avatar
Huggybaby
Administrator
 
Posts: 3207
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 701 times
Been thanked: 594 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 25 guests

cron

Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 25 guests

Login Form