Page 1 of 2

How is development going?

PostPosted: 12 Nov 2009, 21:39
by mtgrares
This question is mostly aimed at Dennis and Rob (and whoever else programs) but how are things going? Is the SVN helping at all? I haven't worked on MTG Forge recently and I miss being "in the know", lol.

Re: How is development going?

PostPosted: 12 Nov 2009, 21:54
by DennisBergkamp
I think the SVN is great, takes a little bit of time to get used to but it has some great advantages, for instance it allowed for some easy merges of large structural rewrites done by Silly Freak. In general it also makes it much easier for people to just add fixes or any type of update: Zerker, Silly Freak and Rob all have submitted updates which would've taken hours of my time if I had to merge them manually.

We had some manapool bugs, but those should all be fixed now, thanks Zerker :)

Personally, I haven't had much time to work on MTGForge these past two weeks, but I will release a new beta either today or tomorrow.

Re: How is development going?

PostPosted: 12 Nov 2009, 22:10
by mtgrares
Personally, I haven't had much time to work on MTGForge these past two weeks, but I will release a new beta either today or tomorrow.
That is no problem. The last "official" version of MTG Forge is from 9-18, ha.

Do you all of you guys use Eclipse? Is support for the SVN built into Eclipse?

Re: How is development going?

PostPosted: 12 Nov 2009, 22:18
by DennisBergkamp
Yes, I think all of us do.
Eclipse doesn't have SVN functionality built-in, but can be download very easily as a plugin (Subclipse is what I'm using, I think there might be another one).

Re: How is development going?

PostPosted: 12 Nov 2009, 22:38
by mtgrares
Plugin, yeah Eclipse is supposed to be very extensible with plugins and other stuff. If I ever get my computer upgraded I'll try it. I really good using my old version of JBuilder, circa 1997, and I want to use a newer version but my computer doesn't run it very well.

Right now I only have 192 MB, which is a weird number, but bigger applications just grind the hard drive (because of virtual memory and using the hard drive as RAM). My CPU is less than 1GHz also.

Re: How is development going?

PostPosted: 13 Nov 2009, 00:09
by zerker2000
So we managed to go through 10/x without a single official release? Also, how do the forge xx/yy versions work anyways?

Re: How is development going?

PostPosted: 13 Nov 2009, 03:53
by Rob Cashwalker
I've installed Subversive on my work computer and Subclipse at home. Both work pretty straightforward.

The SVN works as advertised, but I'm still concerned that by the time I'm finished revising a major section of CardFactory, that it might screw up the merge when I commit it. I don't know enough about it to trust it implicitly yet. The change I submitted took me all of only one hour to implement, so I wasn't worried. But my latest change is going into the second week....

My major development right now is revising the Pump abilities into one single keyword, adjusting the AI to figure it out, and to also handle the Count$ and Drawback$ stuff I worked out. I may also add strings to Count$ for the current power and toughness, which will make Chameleon Colossus work.

Re: How is development going?

PostPosted: 13 Nov 2009, 18:36
by mtgrares
zerker2000 wrote:So we managed to go through 10/x without a single official release? Also, how do the forge xx/yy versions work anyways?
I try to post a new version on my blog about once a month. I'm guessing that most people only want to update their software once a month. If they really want to get the latest version, they can always get it from the forum. For the "public versions" I also include some documentation in hopes that someone is reading them.

Re: How is development going?

PostPosted: 13 Nov 2009, 18:42
by mtgrares
Thanks for the update Rob. I've read about SVN and source code control and it seems a little bit confusing since it is supposed to save time merging the stuff together but it is a "good practice" to regularly upload (commit?) your changes.

Working with CardFactory is very tough because any change is going to be a major one. CardFactory is both incredibly beautiful and frustrating.

It is also very hard to create flexible keywords since Magic has so many variations and sometimes you have to just say, "I'm stopping here before I pull my hair out."

Keep up the good work. Live long and prosper.

Re: How is development going?

PostPosted: 13 Nov 2009, 22:32
by Chris H.
I have found and installed Subclipse 1.6.5 and the Mac binaries version of Subversion 1.6.6. I have the Eclipse SVN Repository Perspective and SVN Repository Exploring waiting for a proper url for the Add SVN Repository command.

I entered this url from my web browser but it and several different versions do not work.

http://code.google.com/p/cardforge/source/browse/#svn/src


Can some kind soul provide me with the proper url?

Re: How is development going?

PostPosted: 14 Nov 2009, 01:46
by Chris H.
Chris H. wrote:Can some kind soul provide me with the proper url?
`
I admit that I tried far too many variations on the possible url combinations that in turn would allow me to check out the source code. :oops:

I think that I finally lucked out and found the correct url:

http://cardforge.googlecode.com/svn/src

And I probably have more work ahead of me as I figure out additional details. 8)

Re: How is development going?

PostPosted: 14 Nov 2009, 05:06
by zerker2000
mtgrares wrote:Thanks for the update Rob. I've read about SVN and source code control and it seems a little bit confusing since it is supposed to save time merging the stuff together but it is a "good practice" to regularly upload (commit?) your changes.
Though I am not sure about Rob and Dennis, I commit a change once it works well enough to be in the next beta. It does save a lot of Dennis's time, and a commit in eclipse takes about 30-45 seconds: Update revision in main.properties; SVNForge > Menu > Team > Commit; Enter comment, select files to update press commit.

Re: How is development going?

PostPosted: 14 Nov 2009, 17:05
by DennisBergkamp
I admit that I tried far too many variations on the possible url combinations that in turn would allow me to check out the source code. :oops:

I think that I finally lucked out and found the correct url:

http://cardforge.googlecode.com/svn/src

And I probably have more work ahead of me as I figure out additional details. 8)
Yes, I think that is the correct URL. Checking out should work like this:

(First create a new Java Project)
File -> Import -> Other -> Checkout Projects from SVN -> click next, then either create a repository with that same URL, or if it already exists, select it. (I'm actually using "http://cardforge.googlecode.com/svn" as my URL, you can select the src directory as you're doing the import in the next step.) Keep hitting Next (don't click Finish yet), at a certain point you should be able to specify which project to checkout the code to, give it the same name as the java project you just created.

That should do the trick :)

Re: How is development going?

PostPosted: 14 Nov 2009, 18:40
by Chris H.
Thank you for the additional information, Dennis. :)

This should keep me busy for awhile. :mrgreen:

Re: How is development going?

PostPosted: 16 Nov 2009, 10:56
by silly freak
i think you're checking out a read-only version with this, if you want to commit changes, you have to use https://

there's not much more to do, eclipse asks you very nicely about username and password (you can check your SVN password on googlecode, it's not one you can configure yourself)

PS: i remember having problems with user/PW the first time, because subclipse can't create some auth-file or so. if so, you have to run some other SVN client and store a password, that will create the file for you. for best results, google the details ;)