wah ternyata memang ant gak bisa detect di src. kalo saya ganti :

<property name="src.java.dir" location="src/" />


dengan :

<property name="src.java.dir" location="." />


ternyata bisa tuh. nggak tau konfigurasi apa yang salah. Sepertinya ant detect lokasi di path di atasnya.

thanks.


M V Vinod Babu wrote:

Hi..

Just try by amending ur <javac> task ni this format

      <javac destdir="${dest.dir}" srcdir="${src.java.dir}" />

Cheers

Vinodbabu MV
-----Original Message-----
From: panji [mailto:[EMAIL PROTECTED] Sent: Saturday, December 31, 2005 8:35 AM
To: Ant Users List
Subject: Re: can't compile package


ant just tell me that BUILD was SUCCESSFUL. There's no error message. I use eclipse and ant [in command line] and they have same result.

Andrew Goktepe wrote:

Please send the error message from the output of ANT.

-Andrew

On 12/30/05, panji <[EMAIL PROTECTED]> wrote:


i can't compile my java programs using ant's build.xml like this :


<?xml version="1.0" encoding="UTF-8"?>

<project name="build.xml" default="compile">

  <!-- set property -->
  <property name="src.java.dir" location="src/" />
  <property name="dest.dir" location="bin/" />

  <!-- compiling -->
  <target name="compile" >
      <echo message="src dir  -> ${src.java.dir}" />
      <echo message="dest dir -> ${dest.dir}" />

      <javac destdir="${dest.dir}">
          <src path="${src.java.dir}" />
      </javac>

  </target>

</project>

even though on src directory contains java file. anyone can help me ?

TIA.


__________________________________________________
Apakah Anda Yahoo!?
Lelah menerima spam? Surat Yahoo! memiliki perlindungan terbaik terhadap spam http://id.mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to