Does anyone have a Mac OS computer?

classic Classic list List threaded Threaded
141 messages Options
1234 ... 8
Reply | Threaded
Open this post in threaded view
|

Does anyone have a Mac OS computer?

Veqryn
Administrator
I am looking for someone with a mac computer who can be relied on to do 1 simple task every time there is a new triplea release.
No skills necessary.

Only a Mac OS computer can make a Mac OS version of TripleA
I don't have a mac, so that is why you never see the mac release the same day of the normal release.

I need someone who can respond relatively quickly whenever there is a release, and give me the mac version.


Easy steps to make the Mac OS dmg app for TripleA:


1. Download the sourcecode only zip, and unzip it
triplea 1.6.1's source code is here: http://sourceforge.net/projects/triplea/files/TripleA_Unstable/1_6_1/triplea_1_6_1_0_source_code_only.zip
any time there is a new release, i'll email you the link for the new source

2. open up Terminal, so that you can write a few command line commands.

3. change directory to where you unzipped the source code (same directory that contains the build.xml file), and type:
ant run
(this just runs triplea, to confirm that you can run it)

4. if ant run works then triplea will start running.  close triplea, then type these two commands:
ant clean
ant macRelease

5. the dmg app will be in the release folder, please upload it here:
http://www.sendspace.com/

give me the link to where you uploaded it, and we will all have the mac release :)
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: Does anyone have a Mac OS computer?

VictorInThePacific
I might be able to do this. For the sake of argument, I will take this on, but I will feel entitled to withdraw the offer at a moment's notice. That's because I am not positive that I can in fact do it, and for other reasons. If you think that's not a good offer, I point out that there seem to be no other takers. Also, when we did the manual, I made what seemed to be a weak offer, but we did get it done. Under-promise, over-deliver.

The one thing I would definitely need is advance notice of when the thing would be needed, because I am not online continuously, and I definitely don't come here that often. So, for example, if you are expecting to want the thing done on a particular day, I would need to be informed, say a week in advance, so I would know when to look for it.

Also, is there any way of testing if I actually do have the necessary hardware and permissions?

Victor
veq
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

veq
only way to test is to try doing it (you can try now with the current version's source)

do you want me to email you when the next version comes out?

email me your email
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

VictorInThePacific
What you forgot to mention is that at least a basic knowledge of UNIX is required.

OK, I tried it. After "ant run", I got a whole bunch of what look like error messages:
____________________

infocmns19:triplea_1_6_1_0 ic 29345001036470$ ant run
Buildfile: /Users/ic 29345001036470/Desktop/triplea_1_6_1_0/build.xml
  [taskdef] Could not load definitions from resource edu/umd/cs/findbugs/anttask/tasks.properties. It could not be found.

checkBuildEnv:
     [echo] Apache Ant(TM) version 1.8.2 compiled on June 3 2011
     [echo] JDK version: 1.5

copyResources:
     [copy] Copying 24 files to /Users/ic 29345001036470/Desktop/triplea_1_6_1_0/classes

compile:
    [javac] Compiling 745 source files to /Users/ic 29345001036470/Desktop/triplea_1_6_1_0/classes
    [javac] /Users/ic 29345001036470/Desktop/triplea_1_6_1_0/src/games/strategy/common/ui/BasicGameMenuBar.java:48: warning: [deprecation] com.apple.eawt.ApplicationAdapter in com.apple.eawt has been deprecated
    [javac] import com.apple.eawt.ApplicationAdapter;
 
etc., etc., etc.
_______________________

but then the game loaded, and it seemed to work, at least for the few seconds of "testing" that I did.

Then I continued with the process, and another whole bunch of what looked like error messages showed up, ending with
_______________________

     [echo] creating dmg
     [exec] Usage: hdiutil create <sizespec> [options] <imagepath>
     [exec] hdiutil create -help
     [exec] hdiutil: create: Only one image can be created at a time.
     [exec] Result: 1
     [exec] Usage: hdiutil attach [options] <image>
     [exec] hdiutil attach -help
     [exec] hdiutil: attach: extra image argument "29345001036470/Desktop/triplea_1_6_1_0/release/triplea_1_6_1_0_mac.dmg" - "/Users/ic" already specified
     [exec] Result: 1
     [exec] hdiutil: detach failed - No such file or directory
     [exec] Result: 1

BUILD FAILED
/Users/ic 29345001036470/Desktop/triplea_1_6_1_0/build.xml:304: The following error occurred while executing this line:
/Users/ic 29345001036470/Desktop/triplea_1_6_1_0/build.xml:292: Warning: Could not find file /Users/ic 29345001036470/Desktop/triplea_1_6_1_0/release/triplea_1_6_1_0_mac.dmg to copy.

Total time: 28 seconds
__________________

You will note the "build failed". However, there does seem to now be a Mac version of the game that was not there before, and it seems to load properly. Is this behaviour normal?
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
hi victor,

there were some minor mac problems with the last release it seems. anyhow, i reverted all changes to the build file so it now works like it always did.

could you try again with this source?
http://sourceforge.net/projects/triplea/files/TripleA/1_6_1_1/triplea_1_6_1_1_source_code_only.zip

thx,
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: Does anyone have a Mac OS computer?

VictorInThePacific
OK, did that.

Here's what happens.

After "ant run", I get a whole bunch of what look like error messages (deprecation warnings). No reasonable way for me to tell if they are the same as or different from the previous try. Then AAA runs. It seems to be working, but who knows, maybe all the savefiles will be corrupt or something.

After "ant clean", I get a few messages, including

[taskdef] Could not load definitions from resource edu/umd/cs/findbugs/anttask/tasks.properties. It could not be found.

After "ant macRelease", I get a huge number of what look like error messages, and it takes a LONG time, but then I get what looks like a working TripleA program - Mac version.

Is this the normal behaviour? Is there something special about my computer? I mean, there definitely is, but I have no idea what is relevant or not.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
the deprecation warnings are normal,
they are caused by triplea using some deprecated methods (some of them are custom methods that we have marked as deprecated because we want to eventually eliminate them, but are too lazy to do it now)

ant clean should not generate any errors i think, but i haven't done this on a mac before

i don't know how long ant mac release takes, but the windows release takes a good 10 minutes for me.


one way to test your result, it to compare the file to the current mac dmg that is posted online for this version (1.6.1.1)

you could use any comparison program to compare the two dmg files and see if there is any difference beyond the timestamp
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: Does anyone have a Mac OS computer?

VictorInThePacific
Still don't see any other takers. Anybody reading this thread might gather that there are some technical issues going on at present. Here are detailed instructions for doing this work.

aaa-ant-mac.pdf
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

SomeMacUser
I could help out. I just installed Xcode which means I can now successfully build .dmg files with ant. I also installed FindBugs to get rid of the "[taskdef] Could not load definitions from resource edu/umd/cs/findbugs/anttask/tasks.properties. It could not be found." warning.

I managed to build triplea_1_6_1_1_mac.dmg without errors, except for the Java warnings of course, in just under a minute.

Log file and .dmg can be downloaded here http://www.sendspace.com/filegroup/VSHY%2FVPbWbRnYcVa33wRCg for review.

I'd be happy to help building the Mac releases.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

VictorInThePacific
OK, why don't you take this on. It looks like your own computer is better configured for this task than my borrowed one.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

SomeMacUser
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

C173PO
In reply to this post by Veqryn
Although somebody already seems to have taken care of this, I still want to tell you that I volunteer to help you since I have got a Mac (10.5.8) and Xcode (and unfortunatly only a bit experience with it and I want to improve).
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
In reply to this post by Veqryn
triplea 1.6.1.2 is almost out, I just need a mac version then I can release it to everyone.

normal version:
http://sourceforge.net/projects/tripleamaps/files/TripleA/stable/1_6_1_2/triplea_1_6_1_2_source_code_only.zip/download

bundled version:
http://sourceforge.net/projects/tripleamaps/files/TripleA/stable/1_6_1_2_bundled/triplea_1_6_1_2_source_code_only.zip/download

if anyone could make the mac dmg for me for both of those, and upload them separately, that would be great

please upload to sendspace.com

thx,
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: Does anyone have a Mac OS computer?

SomeMacUser
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
thanks
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: Does anyone have a Mac OS computer?

Veqryn
Administrator
In reply to this post by Veqryn
i need a person with a Mac to do the mac release again

please download the "source code only" zip

i need the mac release created for BOTH of these 2 source code only zips, and then upload the resulting mac dmg file to sendspace

just grab the latest version from:

normal version:
http://sourceforge.net/projects/triplea/files/TripleA/

bundled version (ie: comes with all popular maps included):
http://sourceforge.net/projects/tripleamaps/files/TripleA/stable/
(click the xxxx_bundled link)

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: Does anyone have a Mac OS computer?

SomeMacUser
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
this happens because i just uploaded the files from china
the timestamp on some files is ahead of your time
so ant does not like that and fails

just do "ant clean" and then try again please
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: Does anyone have a Mac OS computer?

SomeMacUser
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Does anyone have a Mac OS computer?

Veqryn
Administrator
drop box is blocked,

can i give you ftp access and you can just upload it directly?

also please put the smaller one on sendspace for now


to get ftp access, you must make an account with sourceforge (free), then tell me your account name and i'll give you access and post a screen shot of how to do it
Please contribute to the TripleA 2013 donation drive:
http://tripleadev.1671093.n2.nabble.com/2013-TripleA-Donation-Drive-tp7583455.html
1234 ... 8