It is currently 29 Oct 2025, 07:05
   
Text Size

Package Creation

Post MTG Forge Related Programming Questions Here

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

Package Creation

Postby friarsol » 11 Mar 2011, 15:24

I'm gonna spend a little time today moving some files around to different packages. Hopefully this won't break anything. I'm going to submit it all as one big checkin, that way if we need to revert it's not an issue. Hopefully with improved organization in the codebase, it'll be easy to concentrate on a specific area.

As part of these changes I'm planning on also changing the name of AbilityCost to just Cost, since that's way more appropriate.

Creating the packages is overall a good thing, but it might break some of the build scripts we have running around. I'll look over the scripts to make sure they seem to be running ok before submitting the changes.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Package Creation

Postby Chris H. » 11 Mar 2011, 15:42

Ah, great idea and thnk you. :)

I had considered releasing another beta this weekend but then decided to wait until the following weekend. This will give us a week to sort out any oddities prior to the next release.
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: Package Creation

Postby friarsol » 11 Mar 2011, 16:33

Anyone know what happened to the build scripts? I can't seem to find the latest version, and I wanted to make appropriate updates.

I'm going to leave a fair amount still in the main branch, just moving out the clearly obvious ones into packages. If this works fairly well, then it shouldn't be too much of a hassle to move the rest.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Package Creation

Postby Chris H. » 11 Mar 2011, 17:20

friarsol wrote:Anyone know what happened to the build scripts? I can't seem to find the latest version, and I wanted to make appropriate updates.
`
Are you looking for Fnoed's update and build bat at message:

http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=3721&start=345#p52863

which in turn points to the archive at:

http://dl.dropbox.com/u/1482283/update-and-build-xstream-fix.bat
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: Package Creation

Postby friarsol » 11 Mar 2011, 18:33

Ah that was it. Initial packaging change is in. I didn't have to change anything on the scripts so creating packages in the future should go pretty smooth (as long as noone is in the process of editing the files you are planning to move)

If we are able to organize everything logically, it'll be easy to see what files are unused and clean up old and unused sections of the codebase.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Package Creation

Postby Jaedayr » 11 Mar 2011, 19:08

I am in the process of rebuilding my entire project (except for the set pics I have already downloaded) and it appears that the 2.5 sec delay in the download has been removed. Was that intentional?
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: Package Creation

Postby friarsol » 11 Mar 2011, 19:12

Jaedayr wrote:I am in the process of rebuilding my entire project (except for the set pics I have already downloaded) and it appears that the 2.5 sec delay in the download has been removed. Was that intentional?
Urg. Nope. I'll fix it so Rob's servers don't die. I thought I had reverted that the other day.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 8 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 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 8 guests

Login Form