Stian Grenborgen
3221600148
Fixes unintended rendering differences between systems.
...
There was a bug in the version of MigLayout we used, prior to this commit, that applied DPI scaling even when that option was disabled (we do our own DPI scaling) for default/logical pixels.
2023-12-11 20:56:45 +01:00
Stian Grenborgen
668509b4ec
Removes workaround for the version number on macOs since it's not needed after reaching 1.0.0.
2023-01-02 23:27:51 +01:00
Stian Grenborgen
d1ac2c1281
macOs: Fixes reference to data directory when building with recent versions of jpackage.
2022-10-05 14:50:51 +02:00
Stian Grenborgen
252dff79d7
The macos installer can now be built using pre-1.0.0 versions. The solution is just removing the leading "0." from the version number and changing the mac package identifier when reaching 1.0.0.
2022-06-04 10:34:16 +02:00
Stian Grenborgen
755ad51d06
Changing target name to snake-case.
2022-05-09 07:43:36 +02:00
Stian Grenborgen
f40df0b0fd
Adding build setup for manual releases with the creation of JVM-bundled versions for macOs and Windows.
2022-05-08 20:17:56 +02:00
Stian Grenborgen
8d544c2b45
The jarbundler does not support entering the correct jvmversion ("11"). Leaving the wrong value for now, so that the distribution still builds.
2022-05-08 09:33:54 +02:00
Mike Pope
a8664789b5
Change MacOS required Java version syntax as suggested in BR#3255.
2022-05-08 12:06:44 +09:30
Stian Grenborgen
60118bbf97
Fixes a crash on Windows caused by low default memory (512MB). Increasing default memory to 2GB. This amount of memory is needed for the highest scaling+zoom level+map size.
2022-04-30 17:18:51 +02:00
Mike Pope
6621e7e089
Bump to java 11.
2022-04-24 09:10:51 +09:30
Calebrw
cde42476f5
Build with Java 9.
2022-01-04 22:12:24 -06:00
Don Waugaman
fab0dcb57c
Modifications to support proper build of FreeCol as a Mac application
...
bundle.
- Delete the old "FreeCol" executable
- Add the universalJavaApplicationStub (from
https://github.com/tofi86/universalJavaApplicationStub ). MIT licensed.
With the jarbundler ANT task, allows Java applications to be started with
whatever JDK/JRE is available on the system. Apple's solution won't work
for Java 1.8 and above.
- Change build.xml to start up net.sf.freecol.FreeCol as the main class.
Added a property to the file so that the main class name stays consistent
between Mac app bundles and PC builds.
2020-04-29 11:18:00 -07:00
Mike Pope
ae411c4032
Add findbugs jar and link to build.
2019-03-26 20:52:52 +10:30
Mike Pope
3325702a01
Experimentally boost minimum memory to 1G.
2018-08-19 14:11:20 +09:30
David Lewis
f953bffe63
Correct file_glob travis param to upload releases
2017-09-16 13:41:37 -07:00
David Lewis
3462b0fe89
Create a nightly-release task, perform dist clean
2017-09-16 13:41:37 -07:00
David Lewis
f3d61dd38c
Skip source and manuals for nightly builds
2017-09-16 13:41:37 -07:00
David Lewis
1965bfd614
Added nightly versioning, and ant ci test
...
* Can now fail the build if tests fail
2017-09-11 15:11:05 -07:00
David Lewis
abdd8dfc9b
Update jars: commons-cli, miglayout
2017-09-11 08:26:41 -07:00
David Lewis
36dbe8bb3c
Jarbundler update, build properly for Mac
...
* Old jarbundler with config would cause OSX to prompt for Java SE 6
* Using a new java app stub script, it will now launch for JVM 1.8+
See: https://github.com/tofi86/universalJavaApplicationStub/issues/9
2017-09-10 22:53:54 -07:00
Mike Pope
4ec58c09f5
Separate clean target, fixing installer-translations fail, BR#3091.
2017-09-07 19:42:45 +09:30
Mike Pope
54631dedf4
Fix omitted requirement for metaserver build.
2017-07-14 16:20:57 +09:30
Mike Pope
d0c93c6041
Fix metaserver build.
2017-07-13 18:32:06 +09:30
Mike Pope
70cf8b388f
Create common/metaserver for the metaserver API.
2017-03-01 18:27:23 +10:30
Mike Pope
cb08aa8e0b
Make the save game validator return useful exit codes.
2017-02-14 19:29:27 +10:30
Sebastian Zhorel
3cd8b8acbd
Run with a decent amount of memory
...
This avoids an annoying freeze when loading a large, advanced savegame.
2017-02-09 17:20:25 +01:00
Sebastian Zhorel
0b98b85349
Temporarily exclude srcdata directory in preparation for files from SVN
2016-12-26 14:07:02 +01:00
Mike Pope
e7fbff3746
Stop suppressing needed meta-server files from FreeCol.jar, BR#2989.
2016-10-11 18:25:14 +10:30
Mike Pope
9439bfc85d
Fix crash in doco generation, from sinomaen.
2016-08-27 10:33:54 +09:30
Michael Pope
d6d85d87b6
Upgrade to commons-cli-1.3.1, fixing deprecations.
2015-12-03 19:52:00 +10:30
Sebastian Zhorel
061733efaf
Fix out of memory error in unit tests
2015-10-10 18:37:17 +02:00
Mike Pope
d4017eae50
Java 8 now required.
2015-08-30 20:51:46 +09:30
Michael Pope
5f533b6e06
Update jogg/jorbis jars.
2015-08-13 19:03:34 +09:30
Sebastian Zhorel
33733d4826
Add ant targets for compiling developer.tex
2015-08-06 18:38:31 +02:00
Michael Pope
72190eeb7d
Move splash.jpg into the FreeCol.jar.
2015-07-31 19:23:20 +09:30
Mike Pope
690c42b54c
Safer distclean, but still fails due to ant bug.
2015-07-29 07:42:53 +09:30
Michael Pope
4a3e8d878c
Autoupdate doc/version.sty fcversion at release.
2015-07-28 19:02:56 +09:30
Sebastian Zhorel
2ebc3e0c77
Add missing splash.jpg to distribution base files and suppress duplicate
2015-07-27 08:03:54 +02:00
Sebastian Zhorel
00ba7febdf
Fix ant zipSourceBundle to exclude unnecessary files from base directory
...
Take care to keep the excludes in sync with the prepareBaseFiles target,
as someone used it as an optimization to not copy data and jar folders twice,
but it was not implemented correctly!
2015-07-26 09:53:43 +02:00
Sebastian Zhorel
c6a28784a7
Mostly fix preparation of the src.zip, excludes website, unused and local copy of NetBeans project files now
...
TODO: Find a way to exclude FreeCol.jar from being included in the src.zip
2015-07-25 17:55:35 +02:00
Sebastian Zhorel
aa38eac0fc
Add forgotten metaserver jar to clean target in build.xml
2015-07-23 12:08:12 +02:00
Sebastian Zhorel
864dbeb135
Remove outdated references to SVN in build.xml
2015-07-23 11:57:09 +02:00
Michael Pope
5c0bed1b78
Reset test memory size back to 64M, it is not causing problems.
2015-04-28 19:14:43 +09:30
Sebastian Zhorel
3a6d110375
Fix build.xml to give the unit tests the same amount of memory the game gets, to have the tests run reliably
2015-04-15 19:14:47 +02:00
Mike Pope
d824bcdcf0
Add version.sty to unify version numbering in LaTeX doco.
2015-03-07 10:21:09 +10:30
Mike Pope
428e8367d6
Add ShellLink_x64.dll for izpack.
2015-02-26 21:43:40 +10:30
Milo Bem
530f7a18ec
Fix memory requirement for ant run, from Milo Bem.
2015-02-07 11:55:17 +10:30
Michael Pope
710e2a09af
Fix test suite warnings.
2014-11-26 19:06:24 +10:30
Michael Pope
52dad7a471
Require Java 7.
2014-11-26 19:04:58 +10:30
Michael Pope
83cf80bf90
Update bundled junit.
2014-10-10 10:56:58 +10:30