Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 36701 invoked from network); 11 Apr 2010 03:53:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Apr 2010 03:53:56 -0000 Received: (qmail 87556 invoked by uid 500); 11 Apr 2010 03:53:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 87393 invoked by uid 500); 11 Apr 2010 03:53:54 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 87380 invoked by uid 99); 11 Apr 2010 03:53:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 03:53:53 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim.visher@gmail.com designates 209.85.160.173 as permitted sender) Received: from [209.85.160.173] (HELO mail-gy0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 03:53:49 +0000 Received: by gyd5 with SMTP id 5so2333447gyd.4 for ; Sat, 10 Apr 2010 20:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:cc:content-type; bh=6Pd2K/ubYRngnrj43NPFeyDx8NWUaOwM/K0/MdTOHcU=; b=QrNU7Q8iwQ8RbbSrcwOILxp8ZB6q56nA3OBcXTpJfDRt62SXPGjXvH0ZjCD4o7Xmr/ 0FgraSv0nbTFjnOqBg1wtvBX7+RRgrD6Bpo3xwSc+z/fxcWyLSUPSu06/vWBPzArzWzj CT632KZ2YIGjfs7Soaya2rHEr5JBOAcx8EIhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=NPrI+G8nxb3SsRVLcarCFa05FIcH0vM0F3eyEPOi+kbbg4V9UQPcqNKJdg8js186DL Qe7NVVkc1Za2ycuDCwtwPuQ/uMTKgLq9W3nZbw0aCzwF2pNafLFV3AQAU5mM0IQJ1mga Sb488CZlcdaI8H9Q3avZcuD1kThLdgfWGyQ9E= MIME-Version: 1.0 Received: by 10.100.33.7 with HTTP; Sat, 10 Apr 2010 20:53:07 -0700 (PDT) From: Tim Visher Date: Sat, 10 Apr 2010 23:53:07 -0400 Received: by 10.101.28.5 with SMTP id f5mr3750277anj.35.1270958007324; Sat, 10 Apr 2010 20:53:27 -0700 (PDT) Message-ID: Subject: `ant -find build.xml` and compile/recompile To: user@ant.apache.org, emacs Cc: Jimmy Jouthe , Stephen Frein , Travis Fraser , Will Phillips Content-Type: text/plain; charset=UTF-8 Hello Everyone, With `basedir="."`, how is `ant -find` supposed to work? With it set to `/absolute/path/to/build.xml`, how is the build script supposed to be box independent? We use ant to build our system and I would like to be able to use `ant -find` to allow myself (and Emacs) to build the system from any subdirectory. Currently, we build from the command line and always need to be in the directory that houses build.xml. The reason is that we have relative paths littered all over the build script in order to package things up and move them around. I can't figure out how to get around this. It also leads me to wonder why `-find` is even available if the only way it can be used is if all of your paths are absolute (which is not on anyone's best practices list). I'm cross posting this between Emacs and Ant. In your reply please attach to both as I couldn't find a relevant thread in either list via the archives. Of course, that could have been my fault, in which case it'd be awesome to cross post with a link to the solution. :) -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org