It is currently 09 Sep 2025, 16:18
   
Text Size

Forge version 1.2.10 (or 1.3.0)

Post MTG Forge Related Programming Questions Here

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

Re: Forge version 1.2.10 (or 1.3.0)

Postby Chris H. » 11 Jul 2012, 12:31

friarsol wrote:I just figured the ordering would be kept on the ftp site if we used double numbers (01 < 03 < 10) instead of (1 < 10 < 3). But if Maven doesn't like it, then there's no reason to do it.
 
Dave knows more about this than I do but on a best case scenario I see that I would have to:

1. Edit the pom file to state "1.3.00"

2. Execute the beta build and release Maven command. Maven would split the version number on the "." and add "1" to "00" and the result would be "1". The leading zero would be stripped. The beta would have a version number of "1.3.1".

3. Maven would then write the updated pom file to the SVN with the version number "1.3.1". I would then have to manually change the pom file to get the two digit version number for the following snapshot builds.

Dave and Rob have mentioned that we may do future snapshot builds with a cron job to automate the process. 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: Forge version 1.2.10 (or 1.3.0)

Postby jendave » 11 Jul 2012, 15:23

I do understand the concern about how the versions are listed in the ftp site. There may not be a good workaround for that. I'll see if I can find anything.

Chris - regarding your list, any build solution that has the phrase "manually change the pom file" is a bad one. :wink:

It would be great to use cron to automate the builds, but I just remembered the one caveat, the OSX build has to be run on a Mac. The Windows/Linux builds can be run on any machine however.

Dave
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: Forge version 1.2.10 (or 1.3.0)

Postby friarsol » 11 Jul 2012, 15:47

Could we put the date of the release first, and then the Version number it might also do the trick in the filename?

(2012-06-25)_Forge_1.2.9.<ext>
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge version 1.2.10 (or 1.3.0)

Postby silly freak » 11 Jul 2012, 20:38

Since "Forge" does not change, Forge_2012-06-25_1.2.9 might be even better...
___

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

Re: Forge version 1.2.10 (or 1.3.0)

Postby Jaedayr » 11 Jul 2012, 20:50

My eyes are not as young as they once were, but I have to say it is really disconcerting to see the word pom in this discussion actually look like the word porn.

Chris - regarding your list, any build solution that has the phrase "manually change the porn 8-[ file" is a bad one

OK, we now resume our normal thread discussion, already in progress. :)
Jaedayr
Tester
 
Posts: 523
Joined: 08 Jul 2010, 00:06
Has thanked: 16 times
Been thanked: 13 times

Re: Forge version 1.2.10 (or 1.3.0)

Postby Chris H. » 11 Jul 2012, 21:30

Once my wife and I finish our upcoming move I will need to have eye surgery performed and hope that things will work out OK.

Oh, Eclipse will open the pom file using a really nice editor which makes it fairly easy to update the version number by hand when it is needed.

In the past I did this when we updated the version number from 1.1.xx to 1.2.xx. I am not aware of any way to make this type of change without using the "manually change the pom file" method.

Nonetheless, I am not volunteering to do this on a regular basis as it is too easy to eventually make a mistake and we want Maven to handle this as much as possible. :)
 
Attachments
Screen Shot.jpg
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

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 20 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 20 guests

Login Form