Apache Ant Hello World - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Apache Ant Hello World

Apache Ant Hello World

Apache Ant Hello World

To create a simple hello world project, we are using Eclipse IDE and the project require the below steps.
  1. Create a Java Project
  2. Create a Java File
  3. Create an XML File
  4. Create a Folder
  5. Run as Ant Build
package com.learnhowtocode;  
public class Hello {  
    public static void main(String[] args) {  
        System.out.println("Hello learnhowtocode");  
    }  


<?xml version="1.0" encoding="UTF-8"?>  
<project name="java-ant project" default="run">  
    <target name="run" depends="compile">  
        <java classname = "com.learnhowtocode.Hello">  
            <classpath path="test"></classpath>  
        </java>  
    </target>  
    <target name="compile">  
        <javac includeantruntime="false" srcdir="./src" destdir = "test"></javac>  
    </target>  
</project> 

 


About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.