David,

On 11/22/21 08:46, David Garratt wrote:
OK - I understand - I had expected a script to have a .sh file extension

That's just a convention. Windows will look for [foo].bat (among other things) if you don't use a file-extension on the command-line, but UNIX shells will not. Naming the script (simply) "ant" means you don't have to type "ant.sh" every time, just "ant".

FWIW, Martin Grigorov regularly reports on dev@tomcat.a.o that the JDK early-access builds (latest: JDK 18) are running Tomcat's build and test-suite on aarch64, which I believe is the JVM type Apple's M1 chips would run natively.

-chris

On 22 Nov 2021, at 13:10, Matt Benson <mben...@apache.org> wrote:

Usually this "top one" is a shell script rather than a compiled executable.

Matt

On Mon, Nov 22, 2021, 7:02 AM David Garratt <davidgarr...@commander4j.com>
wrote:

In my ant bin directory for example I have the following and I am running
the top one which I assume is compiled for intel machines.

-rwxr-xr-x@ 1 dave  staff  11730 10 Jul 19:36 ant
-rw-r--r--@ 1 dave  staff   7471 10 Jul 19:36 ant.bat
-rw-r--r--@ 1 dave  staff   2856 10 Jul 19:36 ant.cmd
-rwxr-xr-x@ 1 dave  staff    862 10 Jul 19:36 antRun
-rw-r--r--@ 1 dave  staff   1533 10 Jul 19:36 antRun.bat
-rwxr-xr-x@ 1 dave  staff   2118 10 Jul 19:36 antRun.pl
-rw-r--r--@ 1 dave  staff   3410 10 Jul 19:36 antenv.cmd
-rwxr-xr-x@ 1 dave  staff   3459 10 Jul 19:36 complete-ant-cmd.pl
-rw-r--r--@ 1 dave  staff   4316 10 Jul 19:36 envset.cmd
-rw-r--r--@ 1 dave  staff   1113 10 Jul 19:36 lcp.bat
-rwxr-xr-x@ 1 dave  staff   4167 10 Jul 19:36 runant.pl
-rwxr-xr-x@ 1 dave  staff   3344 10 Jul 19:36 runant.py
-rw-r--r--@ 1 dave  staff   1815 10 Jul 19:36 runrc.cmd

On 22 Nov 2021, at 12:14, Dominique Devienne <ddevie...@gmail.com>
wrote:

On Mon, Nov 22, 2021 at 12:23 PM David Garratt <
davidgarr...@commander4j.com>
wrote:

I will soon be getting a M1 based Apple Mac and I am looking for
compatible builds of my most frequently used tools including ANT.

At the moment I’ve not been able to find anything which looks like it’s
built for an arm CPU. Could anyone point me in the right direction
please.


Well, ANT is Java-based, i.e. compiled to byte-code, interpreted (and/or
JIT-compiled) to the local native platform by the JRE/JDK.
So it's not an M1-compatible ANT distrib you need, it's an M1-JDK (or
JRE,
depending on what you use ANT for) that you need. --DD



David Garratt
davidgarr...@commander4j.com

www.commander4j.com

Please consider your environmental responsibility before printing emails.





David Garratt
davidgarr...@commander4j.com

www.commander4j.com

Please consider your environmental responsibility before printing emails.



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to