BuildStendhalForAndroid: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
imported>AntumDeluge
Ant: note that environment variable must be used with ant
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]. The same rules apply to using the Gradle scripts directly.
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.


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 or sdk.dir set in local.properties
# with env variable set
$ ant dist_client_android
$ ant dist_client_android