Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 35935 invoked by uid 500); 26 Jun 2001 12:59:36 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 35800 invoked from network); 26 Jun 2001 12:59:23 -0000 Message-ID: From: Kazandjian Erik To: "'ant-user@jakarta.apache.org'" Subject: RE: DTD and always compiling Date: Tue, 26 Jun 2001 14:57:43 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Thanks again Stefan, unfortunately more answers generate more questions (a phylosofical quote of my senior collegue sitting next to me, breathing in my neck). Is there a way to work with Unix standards (like ~ to replace the home directory)in ant files ? I also tried to install P4 support, but if I run the task after having added the website's taskdef we still get an error saying [p4sync] Unknown command. Try 'p4 help' for info. Erik -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: dinsdag 26 juni 2001 14:26 To: ant-user@jakarta.apache.org Subject: Re: DTD and always compiling Kazandjian Erik wrote: > But could you give me a smart suggestion on the recompile issue ? Apart from the FAQ entry (it is there 8-) ? Ant expects a specific layout of source files to work properly: (1) Your directory hierarchy mirrors your package hierarchy. (2) You point Ant to the top of that hierarchy. So, if you have and Ant finds a file src/a/b/C.java, it expects it to be in the package a.b - thus it looks for dest/a/b/C.class to see whether it has to recompile it. The "Ant always recompiles" question usually means, your source tree is not organized the same way Ant expects it to be. Stefan