hi this is my ant
build.xml file
my eclipse ver : 3.3.0
when i try to run this build file i am getting the error repeatedly
please some one solve my problem i am unable find solution on eclipse
forum site please help me
thank you
<?xml version = "1.0" encoding = "UTF-8" ?>
<project name = "AntPractice" default = "Main Build" basedir=".">
<property name="bin" location="bin"/>
<property name="src" location="src"/>
<property name="jardir" location="${bin}/lib"/>
<property name="jarfile" location="${jardir}/AntPractice.jar"/>
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
<target name="Main Build" depends="Initialize, compile, jar">
<echo message = "Ant At Work!" />
</target>
<target name="Initialize">
<delete dir = "${bin}" />
<delete dir = "${jardir}" />
<mkdir dir="${bin}"/>
<mkdir dir="${jardir}"/>
</target>
<target name="compile" depends="Initialize">
<javac srcdir="${src}" destdir="${bin}">
</javac>
</target>
<target name="jar" depends="Initialize, compile" >
<jar destfile="${jarfile}" basedir="${bin}" />
</target>
</project>
my run output is:
Buildfile: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\build.xml
Initialize:
[delete] Deleting directory G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
[mkdir] Created dir: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
[mkdir] Created dir: G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin\lib
compile:
[javac] Compiling 1 source file to G:\eclipse installation dir\shiva eclipse workspace\AntPractice\bin
BUILD FAILED
G:\eclipse installation dir\shiva eclipse workspace\AntPractice\build.xml:25: Class not found: org.eclipse.jdt.core.JDTCompilerAdapter
Total time: 922 milliseconds
please don't tell see in eclipse or other site
i am unable to find solution there
if needed i ll mail my small first AntProject ZIP file its just 2KB
thanx in advance
shiva_forums
@ yahoo
.co
.uk