Mac DMG TripleA 1.3

classic Classic list List threaded Threaded
119 messages Options
123456
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
thx uboat,
i'm still confused on why ant macRelease didn't make the .dmg for you, but as long as this works on other people's computer, then w/e

i've uploaded both the app.zip and the .dmg to triplea's sourceforge files page, so people can go get them now
(also, pulicat tested and they work)

yes, the size is due to new maps being added.  mostly, it is the relief tiles of the new maps.  maps usually only take up 0.5 - 2mb total, but then relief tiles add in another 10mb or more per map.  the new triplea contains relief tiles for big world, great war, nwo, pact of steel, napoleonic empires, and middle earth

also, will you be around this weekend?  I will be releasing version 1.3.1.0 of triplea this weekend, and it would be great to have a mac version up as soon as possible

thanks again uboat,
veqryn
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Sean Bridges
Administrator
I would always make the mac version starting from the triplea_source_code_only.zip file.

Unzip the source_code_only zip, and do ant macRelease from there, this will not have any svn files in it, and make sure that the mac version matches the released windows version.

Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Sean Bridges
Administrator
also ant macRelease should be creating a .dmg file for you, and that is what should be uploaded.  If it isn't, send me the output of ant macRelease, and I can look at it.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
OK. This is weird. I ran ant macRelease again, and now all of a sudden the .DMG is showing up, and luckily it's only 30mb.

I'll put the download up when it's done uploading.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
http://www.mediafire.com/?pua8fb8vkl22fux

FINALLY.

Veq, I'm going to the relay for life cancer walk saturday into sunday, so I'll be able to do it either Saturday morning or Sunday afternoon.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
hey uboat,

thats cool that it showed up, however the one you just uploaded only has 3 out of the 8 maps in it, and it also includes all the .svn folders in it,

so that one is no good

can you try downloading the source-code-only, and doing ant macRelease on it like sean mentioned?

http://sourceforge.net/projects/triplea/files/TripleA_Unstable/1_3/triplea_1_3_0_0_source_code_only.zip/download

thanks dude,
veqryn


edit:
or just call that it for 1.3 and wait for 1.3.1, since i will release it as soon as wisc fixes repairing in dynamix, hopefully today
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
In reply to this post by U-boat
hey uboat,

skip 1.3, i've just released 1.3.1,

http://sourceforge.net/projects/triplea/files/TripleA_Unstable/1_3_1/

download the source-code-only zip, unzip it, and try doing a ant macRelease on it

the end result, a dmg file, should be about 75-80mb and have no .svn files in it, and it should work without errors

if you can upload it, that would be great, then i can release all versions to everyone at the same time  :)

thanks a ton,
veqryn
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
I'll get on it.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
In reply to this post by Veqryn
I'm getting a build failure:

Last login: Fri May 13 17:55:02 on ttys000
Christian-Pettys-MacBook-Pro:~ Christian$ cd /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0
Christian-Pettys-MacBook-Pro:triplea_1_3_1_0 Christian$ ant macRelease
Buildfile: /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/build.xml

init:

clean:
   [delete] Deleting directory /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/classes
   [delete] Deleting directory /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/testclasses

compile:
    [mkdir] Created dir: /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/classes
    [mkdir] Created dir: /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/testclasses
     [copy] Warning: games/strategy/engine/framework/ta_icon.png modified in the future.
     [copy] Copying 26 files to /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/classes
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/build.xml:81: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Warning: games/strategy/triplea/Dynamix_AI/Code/Purchase.java modified in the future.
    [javac] Warning: games/strategy/triplea/weakAI/WeakAI.java modified in the future.
    [javac] Compiling 647 source files to /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/classes
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:44: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationAdapter;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:45: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationEvent;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:18: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationAdapter;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:19: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationEvent;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/framework/startup/ui/MetaSetupPanel.java:39: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationAdapter;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/framework/startup/ui/MetaSetupPanel.java:40: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationEvent;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:18: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationAdapter;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:19: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationEvent;
    [javac]                      ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:285: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]     Application.getApplication().addApplicationListener(new ApplicationAdapter()
    [javac]                                                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:285: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]     Application.getApplication().addApplicationListener(new ApplicationAdapter()
    [javac]                                                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:287: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac]     public void handleAbout(ApplicationEvent event)
    [javac]                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:287: warning: [deprecation] handleAbout(com.apple.eawt.ApplicationEvent) in com.apple.eawt.ApplicationAdapter has been deprecated
    [javac]     public void handleAbout(ApplicationEvent event)
    [javac]                ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:289: warning: [deprecation] setHandled(boolean) in com.apple.eawt.ApplicationEvent has been deprecated
    [javac]     event.setHandled(true); // otherwise the default About menu will still show appear
    [javac]         ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:285: warning: [deprecation] addApplicationListener(com.apple.eawt.ApplicationListener) in com.apple.eawt.Application has been deprecated
    [javac]     Application.getApplication().addApplicationListener(new ApplicationAdapter()
    [javac]                                ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:35: warning: [deprecation] Application() in com.apple.eawt.Application has been deprecated
    [javac]     private static Application application = new Application();    
    [javac]                                              ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:40: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]                 new ApplicationAdapter() {
    [javac]                     ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:40: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]                 new ApplicationAdapter() {
    [javac]                     ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:41: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac]                     public void handleQuit(ApplicationEvent event)
    [javac]                                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:41: warning: [deprecation] handleQuit(com.apple.eawt.ApplicationEvent) in com.apple.eawt.ApplicationAdapter has been deprecated
    [javac]                     public void handleQuit(ApplicationEvent event)
    [javac]                                 ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/common/ui/MacWrapper.java:39: warning: [deprecation] addApplicationListener(com.apple.eawt.ApplicationListener) in com.apple.eawt.Application has been deprecated
    [javac]         application.addApplicationListener(
    [javac]                    ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:34: warning: [deprecation] Application() in com.apple.eawt.Application has been deprecated
    [javac]         Application application = new Application();
    [javac]                                   ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:37: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]                 new ApplicationAdapter() {
    [javac]                     ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:37: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac]                 new ApplicationAdapter() {
    [javac]                     ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:38: warning: [deprecation] com.apple.eawt.ApplicationEvent in com.apple.eawt has been deprecated
    [javac]                     public void handleQuit(ApplicationEvent event)
    [javac]                                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:38: warning: [deprecation] handleQuit(com.apple.eawt.ApplicationEvent) in com.apple.eawt.ApplicationAdapter has been deprecated
    [javac]                     public void handleQuit(ApplicationEvent event)
    [javac]                                 ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/engine/lobby/client/ui/MacLobbyWrapper.java:36: warning: [deprecation] addApplicationListener(com.apple.eawt.ApplicationListener) in com.apple.eawt.Application has been deprecated
    [javac]         application.addApplicationListener(
    [javac]                    ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/Dynamix_AI/UI/SettingsWindow.java:513: warning: [deprecation] setNextFocusableComponent(java.awt.Component) in javax.swing.JComponent has been deprecated
    [javac]         v_combatMoveWait_AW.setNextFocusableComponent(v_nonCombatMoveWait_AW);
    [javac]                            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/Dynamix_AI/UI/SettingsWindow.java:521: warning: [deprecation] setNextFocusableComponent(java.awt.Component) in javax.swing.JComponent has been deprecated
    [javac]         v_purchaseWait_AW.setNextFocusableComponent(v_combatMoveWait_AW);
    [javac]                          ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/oddsCalculator/ta/OddsCalculatorDialog.java:77: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac] public void show() {
    [javac]            ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/oddsCalculator/ta/OddsCalculatorDialog.java:78: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac] super.show();
    [javac]     ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/util/ClassLoaderUtil.java:163: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Class<?> for a varargs call
    [javac] cast to java.lang.Class<?>[] for a non-varargs call and to suppress this warning
    [javac]     Method close = loader.getClass().getMethod("close", null);    
    [javac]                                                        ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/util/ClassLoaderUtil.java:164: warning: non-varargs call of varargs method with inexact argument type for last parameter;
    [javac] cast to java.lang.Object for a varargs call
    [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    [javac] close.invoke(loader, null);
    [javac]                     ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 32 warnings
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/build.xml:90: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Warning: games/strategy/triplea/Dynamix_AI/Code/Purchase.java modified in the future.
    [javac] Warning: games/strategy/triplea/weakAI/WeakAI.java modified in the future.
    [javac] Compiling 4 source files to /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/classes
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/Dynamix_AI/Code/Purchase.java:129: for-each loops are not supported in -source 1.3
    [javac] (use -source 5 or higher to enable for-each loops)
    [javac]                 for(Territory ter : Match.getMatches(data.getMap().getTerritories(), DMatches.territoryIsNotIsolated(data)))
    [javac]                                   ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/Dynamix_AI/Code/Purchase.java:189: generics are not supported in -source 1.3
    [javac] (use -source 5 or higher to enable generics)
    [javac]                         List<Unit> attackers = DUtils.GetSPNNEnemyWithLUnitsThatCanReach(data, ter, player, Matches.TerritoryIsLand);
    [javac]                             ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/weakAI/WeakAI.java:69: generics are not supported in -source 1.3
    [javac] (use -source 5 or higher to enable generics)
    [javac]         Match<Territory> endMatch = new Match<Territory>()
    [javac]              ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/weakAI/WeakAI.java:71: annotations are not supported in -source 1.3
    [javac] (use -source 5 or higher to enable annotations)
    [javac]             @Override
    [javac]              ^
    [javac] /Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/src/games/strategy/triplea/weakAI/WeakAI.java:225: for-each loops are not supported in -source 1.3
    [javac] (use -source 5 or higher to enable for-each loops)
    [javac]         for(Territory neighbor : data.getMap().getNeighbors(capitol))
    [javac]                                ^
    [javac] 5 errors

BUILD FAILED
/Applications/Triplea.app/Contents/Resources/SVN/triplea_1_3_1_0/build.xml:90: Compile failed; see the compiler error output for details.

Total time: 6 seconds
Christian-Pettys-MacBook-Pro:triplea_1_3_1_0 Christian$
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Wisconsin
In reply to this post by Veqryn
Btw, when I go onto the 1.3.1.0 lobby, it says 1.3.0.0 lobby. Think it's just the message or is it the wrong lobby altogether?
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
In reply to this post by U-boat
always makes sure you do a "ant clean" before you do anything else
also, you are using the zip of the source code right?

nothing was added to weak ai or dynamix ai during 1.3.1 that could possibly cause issues.....

i'll poke around more,

please try again

thx,
veqryn
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
ant clean worked

http://www.mediafire.com/?pua8fb8vkl22fux

Also, when I did ant release, it saved the source code only to a dmg which is still named 1.3.0.0. But when I opened it, it is actually 1.3.1.0.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
hm....
something is going wrong, this new one you uploaded is only 30mb

can you try deleting all the stuff you have from both 1.3.0.0 and 1.3.1.0, and then start over with 1.3.1.0, doing an "ant clean" then "ant macRelease".  (it should not be showing up as 1.3.0.0, so that is why i want you to delete the old stuff)

if you are using the source code only for 1.3.1, then there won't be any svn files to worry about.  http://sourceforge.net/projects/triplea/files/TripleA_Unstable/1_3_1/triplea_1_3_1_0_source_code_only.zip/download
this means the file size of both the dmg and the app should be exactly 75-80mb

then can you upload both the zipped app folder, and also the dmg?  (just in case the dmg is weird like this latest one, at least we will have the app.zip version ready to go)

thx man for all your efforts,
veq
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Ready
Come on UBOAT!  I am counting on ya.
[
Waits for MAC release]
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
In reply to this post by Veqryn
Ok, I did what you told me: I cleared it all out, unzipped the source code, ant cleaned it, and then macReleased it, the problem is the DMG that is created doesn't contain the new maps, however the TripleA.app that is created does.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Veqryn
Administrator
ok, screw the dmg for now, can you zip and upload the TripleA.app ?
thanks,
veq
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

Sean Bridges
Administrator
In reply to this post by U-boat
In build.xml. can you try to change,

                <exec executable="hdiutil">
                        <arg line="create -size 50m -fs HFS+ -volname TripleA ${dmg.file}" />
                </exec>


To this,

                <exec executable="hdiutil">
                        <arg line="create -size 150m -fs HFS+ -volname TripleA ${dmg.file}" />
                </exec>

Does that make the dmg include all the maps?
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
It worked!

I actually looked into the build.xml file and saw the 50mb code and wondered if it limited the DMG size, but I didn't think too much of it. I'll post the link when the upload is complete.
Reply | Threaded
Open this post in threaded view
|

Re: Mac DMG TripleA 1.3

U-boat
In reply to this post by Veqryn
123456