It is currently 30 Oct 2025, 13:10
   
Text Size

How is development going?

Post MTG Forge Related Programming Questions Here

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

How is development going?

Postby mtgrares » 12 Nov 2009, 21:39

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.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: How is development going?

Postby DennisBergkamp » 12 Nov 2009, 21:54

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.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: How is development going?

Postby mtgrares » 12 Nov 2009, 22:10

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?
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: How is development going?

Postby DennisBergkamp » 12 Nov 2009, 22:18

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).
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: How is development going?

Postby mtgrares » 12 Nov 2009, 22:38

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.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: How is development going?

Postby zerker2000 » 13 Nov 2009, 00:09

So we managed to go through 10/x without a single official release? Also, how do the forge xx/yy versions work anyways?
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: How is development going?

Postby Rob Cashwalker » 13 Nov 2009, 03:53

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.
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 is development going?

Postby mtgrares » 13 Nov 2009, 18:36

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.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: How is development going?

Postby mtgrares » 13 Nov 2009, 18:42

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.
mtgrares
DEVELOPER
 
Posts: 1352
Joined: 08 Sep 2008, 22:10
Has thanked: 3 times
Been thanked: 12 times

Re: How is development going?

Postby Chris H. » 13 Nov 2009, 22:32

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?
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 is development going?

Postby Chris H. » 14 Nov 2009, 01:46

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)
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 is development going?

Postby zerker2000 » 14 Nov 2009, 05:06

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.
O forest, hold thy wand'ring son
Though fears assail the door.
O foliage, cloak thy ravaged one
In vestments cut for war.


--Eladamri, the Seed of Freyalise
zerker2000
Programmer
 
Posts: 569
Joined: 09 May 2009, 21:40
Location: South Pasadena, CA
Has thanked: 0 time
Been thanked: 0 time

Re: How is development going?

Postby DennisBergkamp » 14 Nov 2009, 17:05

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 :)
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: How is development going?

Postby Chris H. » 14 Nov 2009, 18:40

Thank you for the additional information, Dennis. :)

This should keep me busy for awhile. :mrgreen:
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 is development going?

Postby silly freak » 16 Nov 2009, 10:56

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 ;)
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Next

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 23 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 23 users online :: 0 registered, 0 hidden and 23 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 23 guests

Login Form