$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Quick-Start With Ant Java Building Tool on Mac OS X Step-by-Step Easy Guide

March 4, 2014 | By Duchateaux.

Mac OS X Ant Building Java Projects

The Short Guide shows you How to Quick Start with Ant Building a Hello-World Java Project on macOS.

Ant is a build tool, a small program designed to help software teams develop big programs by automating all the drudge-work tasks of compiling code, running tests, and packaging the results for redistribution.

Ant is written in Java and is designed to be cross-platform, easy to use, extensible, and scalable.

The Tutorial Include Links to Getting-Started with Ant and Oracle Java JDK 7 on macOS.

Quick-Start Apache Ant on Mac Mavericks 10.9 OS X - Featured
  1. Getting-Started with Apache Ant on macOS

    Here Ant Getting-Started Guide
    Getting-Started with the Latest Apache Ant on macOS
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Mac Mavericks Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Create a Simple Java Project Instance.

    Copy
    cd /[path/2/javaProject]
    
    Copy
    nano HelloWorldWithAnt.java
    

    Nano is used because it’s Present by Default on System, so Instead, you can just Use your Editor of Choice…

    Append:

    Copy
    public class HelloWorldWithAnt 
    {
    public static void main(String args[]) 
    {
    System.out.println("Hello World. I Got Started with Ant!");  
    }
    }
    
  4. Now Suppose that you Want Ant to:

    1. Build the Class on Project
    2. Store the Results in a JAR Archive
  5. Make the Ant build.xml File.

    Copy
    nano build.xml
    

    Append:

    Copy
    
    
    
    
    Building the .jar file.
    
    
    
    
    
    
    
    
    
    
    
    
  6. How to Install Recommended Oracle JDK on macOS

    Here Install Oracle JDK for Mac
    How to Install Oracle Java JDK on macOS
  7. To Run the Ant Building Task.

    Simply :)

    Copy
    /nant
    
  8. Getting-Started with Hadoop/Map-Reduce on macOS

    Here Mac Hadoop Quick Start
    Quick-Start Tutorial for Hadoop/Map-Reduce on macOS