Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 71687 invoked by uid 500); 29 Jun 2001 15:43:49 -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 71669 invoked from network); 29 Jun 2001 15:43:48 -0000 Message-ID: <03c901c100b2$2f2ea7d0$e37278d5@vizzavi.fr.corp.vizzavi.net> Reply-To: "Vincent Massol" From: "Vincent Massol" To: References: Subject: Re: The build directory Date: Fri, 29 Jun 2001 16:42:59 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Kyle, 1/ The "build" directory is called by different among projects. Some called it "build", others "out", .... 2/ It is needed for several reasons. Regarding the copy of source files the main reason is to apply filter tokens ( task in Ant), like change version in source file or date or ...However this directory is also used for other reasons: several target might need to manipulate class files : a jar target need to have the source files compiled first for instance. Where would you put these files otherwise ... ? Thanks Vincent ----- Original Message ----- From: "Kyle Adams" To: Sent: Friday, June 29, 2001 3:50 PM Subject: The build directory In several of the papers I've read on using Ant (specifically Ant in Anger and the short tutorial on Ant in the Cactus subproject), a "build" directory is included in the "ideal" directory structure. Build, as far as I can tell, is used a temporary holding place for source files while Ant is compiling them. Right now the scripts I'm creating make use of this; however, I can't explain why, and my supervisors are asking "why?" So I'll propose the question to the list - why copy source files to a temporary directory instead of compiling them straight from the source directory? Kyle