Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45E6F7445 for ; Thu, 3 Nov 2011 22:24:24 +0000 (UTC) Received: (qmail 55738 invoked by uid 500); 3 Nov 2011 22:24:24 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 55714 invoked by uid 500); 3 Nov 2011 22:24:24 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 55705 invoked by uid 99); 3 Nov 2011 22:24:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 22:24:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 22:24:17 +0000 Received: by gyg8 with SMTP id 8so2519898gyg.16 for ; Thu, 03 Nov 2011 15:23:57 -0700 (PDT) Received: by 10.150.159.18 with SMTP id h18mr12328393ybe.6.1320359037022; Thu, 03 Nov 2011 15:23:57 -0700 (PDT) Received: from [192.168.110.155] (cujo.wustl.edu. [128.252.234.247]) by mx.google.com with ESMTPS id a13sm9427097ana.7.2011.11.03.15.23.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Nov 2011 15:23:55 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Relationships between datamaps in different projects From: Robert Zeigler In-Reply-To: Date: Thu, 3 Nov 2011 17:23:53 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <8ADB60C5-BF32-4EC2-89A0-04BE66530B21@roxanemy.com> References: <0C324B5D-6F2F-497A-8400-8773CB8D8A54@karlmenn.is> <52B93A9E-DC69-43FA-8D99-7D9BAD0597C8@objectstyle.org> <74AD0588-C55E-447D-A5FF-EBDFBB95BEF9@objectstyle.org> <174FAF6F-7E13-4C26-9BBA-A54636575D21@objectstyle.org> <4F27DE1C-26B3-46D8-8D76-46DD513EF9EC@objectstyle.org> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1084) Unless the user is using gradle, in which case cayenne.xml might well be = found in src/main/resources, but there won't be a pom.xml file. ;) Robert On Nov 3, 2011, at 11/310:37 AM , Michael Gentry wrote: > Well, CM could see if the cayenne.xml file is in a src/main/resources > directory and make an intelligent (?) assumption about finding the > pom.xml. If so, read the dependencies there and auto-add any > cayenne.xml files it finds in the JARs listed. Sounds trivial, right? > :-) >=20 > mrg >=20 >=20 > On Thu, Nov 3, 2011 at 11:30 AM, Andrus Adamchik = wrote: >>=20 >> On Nov 3, 2011, at 6:23 PM, Hugi Thordarson wrote: >>=20 >>> It would also be cool if a Cayenne project could reference a = pom-file, using the dependencies declared there for finding DataMaps. >>=20 >> yeah, this can be done if the Modeler is started from Maven: = http://cayenne.apache.org/doc30/maven2-modeler.html >>=20 >> In general we are hostages of our IDE and build system-agnostic = approach. If we support Maven, than what about Ant, or what about users = who don't use a well-known build system and rely on IDE-proprietary = project files. >>=20 >> Andrus