BuildStendhalForAndroid: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Ant: building with ant now supports the "android/local.properties" file
Line 79: Line 79:
=== Ant ===
=== Ant ===


As with other instructions on building from the command line, the Android client can also be built with an [https://ant.apache.org/ Apache Ant target]. Unlike using the Gradle scripts directly, the ant target ignores the <span style="color:green;">android/local.properties</span> file. So the environment variable must be set.
As with other instructions on building from the command line, the Android client can also be built with an [https://ant.apache.org/ Apache Ant target]. The same conditions related to invoking the Gradle scripts directly apply to using ant.


From the Stendhal source root directory, execute the following.
From the Stendhal source root directory, execute the following.
Line 85: Line 85:
Unix/Linux example:
Unix/Linux example:
<pre>
<pre>
# with env variable set
# with env variable set or sdk.dir set in local.properties
$ ant dist_client_android
$ ant dist_client_android


Line 94: Line 94:
Windows '''cmd''' example:
Windows '''cmd''' example:
<pre>
<pre>
# with env variable set
# with env variable set or sdk.dir set in local.properties
> ant dist_client_android
> ant dist_client_android