Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 67307 invoked from network); 16 Sep 2004 21:04:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Sep 2004 21:04:52 -0000 Received: (qmail 5892 invoked by uid 500); 16 Sep 2004 21:04:40 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 5832 invoked by uid 500); 16 Sep 2004 21:04:39 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 5818 invoked by uid 99); 16 Sep 2004 21:04:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [65.198.133.203] (HELO irco.com) (65.198.133.203) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 16 Sep 2004 14:04:38 -0700 Received: from ([10.126.49.195]) by mail2.irco.com with ESMTP ; Thu, 16 Sep 2004 16:03:52 -0500 Subject: RE: javac ant task Date: Thu, 16 Sep 2004 16:05:07 -0500 MIME-Version: 1.0 To: user@ant.apache.org Cc: From: "Satish Jeejula" X-Mailer: Microsoft Outlook v 10.00.2627, MSOC v 2.00.4007.00 Message-ID: X-MIMETrack: Serialize by Router on scsirusntsh2/Servers/IRCorp(Release 5.0.11 |July 24, 2002) at 09/16/2004 05:17:50 PM, Serialize complete at 09/16/2004 05:17:50 PM Content-Transfer-Encoding: 7bit X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Charles, I have changed the javac task to use nested src elements. But the problem still persists. It compiles all the java files under ${wt_home}/src/ext every time even though no file has been changed. Still puzzled.. Thanks for your help, Satish -----Original Message----- From: Charles Hudak [mailto:charles.hudak@cardionet.com] Sent: Thursday, September 16, 2004 3:08 PM To: Ant Users List Subject: RE: javac ant task Since you have more than one source dir, don't use the javac attribute but use nested src elements: Most of this stuff is discussed in the Ant manual. You may want to give it a look when you are having trouble with a task. > -----Original Message----- > From: Satish Jeejula [mailto:Satish_Jeejula@irco.com] > Sent: Thursday, September 16, 2004 12:30 PM > To: user@ant.apache.org > Subject: javac ant task > > > Hi All, > > I have a build file that compiles java files from 2 > locations. Javac portion of the task is pasted below: > > > srcdir="${wt_home}/src/ext/:${wt_home}/wtSafeArea/siteMod/src" > destdir="${builddir}" > debug="on" > failonerror="true"> > > > > The 2 locations are: ${wt_home}/src/ext/ and > ${wt_home}/wtSafeArea/siteMod/src. > > When I run the target, it compiles all the files from first > location every time. But does not compile files from second > location all the time. > > I thought that javac will only compile if no class file is > present or when there is new version of java file. Bizarre > thing is it is complying with this rule for files in second > location and does not for the files in first location. > > Has anyone seen this behavior and if so can explain what am missing? > > Thanks, > Satish > > > > > > ----------------------------------------- > The information contained in this message is privileged and > intended only for the recipients named. If the reader is not > a representative of the intended recipient, any review, > dissemination or copying of this message or the information > it contains is prohibited. If you have received this message > in error, please immediately notify the sender, and delete > the original message and attachments. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org RE ----------------------------------------- The information contained in this message is privileged and intended only for the recipients named. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org