Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1DABF8B1 for ; Thu, 9 May 2013 20:23:56 +0000 (UTC) Received: (qmail 95734 invoked by uid 500); 9 May 2013 20:23:55 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 95640 invoked by uid 500); 9 May 2013 20:23:54 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 95630 invoked by uid 99); 9 May 2013 20:23:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 20:23:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of waynefay@gmail.com designates 209.85.220.42 as permitted sender) Received: from [209.85.220.42] (HELO mail-pa0-f42.google.com) (209.85.220.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 20:23:49 +0000 Received: by mail-pa0-f42.google.com with SMTP id bj3so2379550pad.1 for ; Thu, 09 May 2013 13:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=QP92OFkxAU1deiSjR/NAuSFVLHDrEdpBEwTVO+V5EYU=; b=YjumfgJ04puWNJC55h4QWkzihX/aKgKMow7tMeV9aeb6MInFIb4piYg1ifXk551BrX pljHtLiJIaAC5EDlc7BRw1DFl6Cy648+iBZ3n+KX6YcwP9BlbrOMXZC7MvPoySwOsIh4 QZg1DXf+oJojBTtlwyJBpQUnG1ynZrhl2JQUZnSgknZtYUnuw2VNt8z98GureQ0rl0L4 NtgZS0ULRpA9cqT4Dv87yElWiJhkt16Yp9H5glLmv+97c+BPWcPJsoQXMHpPn7+ZVB8j wqwLKTe51d9lW1GIzHEqIF4RGzu5CwHQ0xsqbTIAy0s3042VOQIy12MmBEI2tqFfmn5j 9tEw== X-Received: by 10.67.1.39 with SMTP id bd7mr14252407pad.194.1368131009454; Thu, 09 May 2013 13:23:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.77.170 with HTTP; Thu, 9 May 2013 13:23:09 -0700 (PDT) In-Reply-To: References: From: Wayne Fay Date: Thu, 9 May 2013 15:23:09 -0500 Message-ID: Subject: Re: maven-antrun-plugin and ant basedir question To: Maven Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org > I am trying to do a custom build of Dojo using Maven and the Dojo supplied > build.xml file. I have managed to get most of the pieces that I need into > the pom.xml file to where the ant clean task works and the default task > starts. Unfortunately the default task depends on the value of basedir > which is set to "." at the top of the build.xml file ( default="cldr" basedir=".">). Since Maven is not running from the > directory where the build.xml file is at, all the paths are wrong. In my Can you not simply edit the basedir="." directly in the build.xml file itself to reflect the correct directory? Or set/override that value using a parameter passed in from Maven, or passed via a system setting, or read from a properties file... or something? Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org