From continuum-users-return-4347-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Tue Aug 07 16:41:41 2007 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 18884 invoked from network); 7 Aug 2007 16:41:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 16:41:41 -0000 Received: (qmail 1500 invoked by uid 500); 7 Aug 2007 16:41:39 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 1480 invoked by uid 500); 7 Aug 2007 16:41:39 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 1469 invoked by uid 99); 7 Aug 2007 16:41:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 09:41:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.156.193.165] (HELO scalixmail.pitchpointsolutions.com) (69.156.193.165) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 16:41:29 +0000 Received: from scalixmail.pitchpointsolutions.com (localhost.localdomain [127.0.0.1]) by scalixmail.pitchpointsolutions.com (8.13.1/8.13.1) with ESMTP id l77Gf6vs012958 for ; Tue, 7 Aug 2007 12:41:12 -0400 Date: Tue, 7 Aug 2007 12:41:06 -0400 From: "brad hadfield" To: continuum-users Message-ID: In-Reply-To: <49405213-1368-4995-B816-7D631AB1BD8C@israfil.net> Subject: RE: getting relative paths maven + continuum x-scalix-Hops: 1 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on scalixmail.pitchpointsolutions.com X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.9 Christian, thanks for your help. This is a situation where an artifact is not workable... this might be to= o much to ask but can you give me an idea how I might use metadata to sol= ve my problem? Ultimately I must pass a file location to an Ant task...=20 Brad -----Original Message----- From: Christian Gruber [mailto:cgruber@israfil.net]=20 Sent: August 7, 2007 12:17 PM To: continuum-users@maven.apache.org Subject: Re: getting relative paths maven + continuum Yes - I thought it might be this. You can't do that and expect continuum= to understand it. In fact, continuum checked out your child projects in= to their own folders that have no relation to the parent. There's litera= lly no way to know what to set that property to. If you have things in the parent that are necessary to the children, then= you need to make sure they are available to the children either through m= etadata, or by being included in an artifact (jar) that the children have= access to. You haven't "configured things incorrectly" - your project design is prob= lematic, because it makes the assumption that your folder structure is co= nstant. With maven, you should not make that assumption. With continuum= , you cannot make that assumption. Christian. On Aug 7, 2007, at 11:45 AM, brad hadfield wrote: > Thanks Emmanuel, > > I have a property with a path that looks like ${basedir}/../../../=20 > core-parent/trunk/ > > If I use the variable ${basedir} by running maven from the command=20 > line the location looks like: C:\CIProjects\ProjectsMain\ > > But when I run the build in Continuum the Maven variable ${basedir} is=20 > indicated as C:\Continuum\apps\continuum\webapp\WEB-INF\working- > directory\21 > > Obviously I've configured something incorrectly... > > -----Original Message----- > From: Emmanuel Venisse [mailto:emmanuel@venisse.net] > Sent: August 7, 2007 11:27 AM > To: continuum-users@maven.apache.org > Subject: Re: getting relative paths maven + continuum > > Continuum doesn't build projects directly. It start maven in the right=20 > directory then maven do the build and Continuum look at the output and=20 > the result. > > Can you add more details about your problem? > > Emmanuel > > brad hadfield a =E9crit : >> Hi, >> >> I am a new maven and continuum user. I'm having problems setting a=20 >> relative path because when continuum runs maven it interprets=20 >> variables such as ${base.dir} differently than when I run maven from=20 >> the project directory. I assume this is because continuum starts=20 >> maven in a web app working directory. Is there a way to get=20 >> continuum to start maven in the project directory? >> >> Thanks for any help you can offer. >> >> Brad >> >> > > > christian gruber + cgruber@israfil.net + mob 410.900.0796 + mob2 416.998.6023 process coach and architect + ISR=C1F=CDL CONSULTING SERVICES