Interview Questions On Java,Java EE

Enter your email address:

Add to Technorati Favorites
Google PageRank Checker
Showing posts with label Eclipse IDE. Show all posts
Showing posts with label Eclipse IDE. Show all posts

Thursday, October 8, 2009

How to integrate ANT tool with Eclipse IDE?

ANT Eclipse IDE(latest edition of Eclipse IDE is Galileo) integration is a very simple process as summarized in following steps:

1. As a first step, create a Java Project in Eclipse IDE.

2. Associate a build.xml with this project and ensure you put this XML at the same location as shown in package structure in Eclipse IDE :
(Click images to enlarge)

The code of build.xml is as given below:
<?xml version="1.0" ?> <project name="IQJava" default="execute"> <target name="init" depends="clean"> <mkdir dir="build/classes" /> </target> <target name="compile" depends="init"> <javac srcdir="src" destdir="build/classes" /> </target> <target name="execute" depends="compile"> <java classname="com.iqjava.ant.AntExample" classpath="build/classes" /> </target> <target name="clean"> <delete dir="build" /> </target> </project>

3. Run this build XML

4. The output of this execution will look like as given below:

Continue reading...

Saturday, July 5, 2008

Learning Eclipse IDE

Recently stumbled upon some good tutorials on Eclipse IDE.I just thought of sharing with you all who are new to Eclipse and want to try their hands on it.

An Eclipse-Java Tutorial for Total Beginners:

An Eclipse-Java Tutorial on Introducing Persistence:

An Eclipse Tutorial on Using Debugger:

There are more Java learning video tutorials from Eclipse tutorials portal which can be downloaded from the following URL:

Eclipse and Java Video Tutorials

In case of any broken link please report to me so that I can make relevant changes.
Continue reading...

Interview Questions On Java,Java EE Copyright © 2016. Reads: best tracker