ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Breedveld" <j_breedv...@hotmail.com>
Subject Please help me: Target ` ' does not exist in this project.
Date Thu, 17 Aug 2000 21:43:30 GMT
Hi,

I get the following error when I use the build file belowe

error:
Target `


' does not exist in this project.

buildfile:
<?xml version="1.0"?>

<project name="chat" default="main" basedir=".">

  <property name="src.dir" value="."/>
  <property name="build.dir" value="."/>
  <property name="jar.dir" value="."/>
  <property name="classpath" value="c:\java\lib\tools.jar"/>

  <target name="main">
    <javac srcdir="${src.dir}" destdir="${build.dir}" 
classpath="${classpath}">
      <include name="**/*.java"/>
    </javac>
  </target>

</project>

I've looked the build file over and over but cannot find anything wrong and 
the error message is not very clear.

I'm using win98 with sun jdk 1.2.2

My ant.bat contains: java -Dant.home=c:\ant -cp 
c:\ant\lib\ant.jar;c:\ant\lib\jaxp.jar;c:\ant\lib\parser.jar;c:\java\lib\tools.jar 
org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
I changed ant.bat because the standard didn't seem to work.

Can anyone help me?

greetings jeroen


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message