Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 93011 invoked from network); 4 Oct 2007 14:16:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 14:16:56 -0000 Received: (qmail 85626 invoked by uid 500); 4 Oct 2007 14:16:45 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 85613 invoked by uid 500); 4 Oct 2007 14:16:45 -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 85604 invoked by uid 99); 4 Oct 2007 14:16:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 07:16:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cgamache@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 14:16:47 +0000 Received: by py-out-1112.google.com with SMTP id y63so343892pyg for ; Thu, 04 Oct 2007 07:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=akK59+dBcKjXmdAxjqskBxt/gh2flTRjv7+FCrEHRGw=; b=ESHTqOhcB4L/GshDhhcVoStvH2SqfpJ1MpsLFJQa/W0PYTGg+oeqiEHUwu5nN8gdyTyBn53p2d49mK7Qqltlr1zXSlBfJjO+onPErmIZmAe1uH44eerhXlAer5MGb+/0ktI/wzmZAeagHsqJkHGFZ5HOvaSlXJnsSctRYSDkOME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=c9gPdZ1nrI4hUa+/p3XGPpzPV1GmLvbcikXfw05RtFAGG3Unrd/6UrN4uaxOhMUdpfmoK9ttyH4alioVPNKB5xy9dml/LCyG6OFaVyVa8YWNyFeJ9gIfKMYsApC0tkufALMjNkHqfi/NRlV4OIuZFKMkYlioIyIOcb3Yh2caMWo= Received: by 10.35.36.13 with SMTP id o13mr7449850pyj.1191507385903; Thu, 04 Oct 2007 07:16:25 -0700 (PDT) Received: by 10.35.89.3 with HTTP; Thu, 4 Oct 2007 07:16:25 -0700 (PDT) Message-ID: <9cc55f600710040716xae1e5f1h55cb64541bd45ead@mail.gmail.com> Date: Thu, 4 Oct 2007 10:16:25 -0400 From: "Chris Gamache" To: user@cayenne.apache.org Subject: Best practices question MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Here's the scenario... Project A uses cayenne Project B also uses cayenne They both have a cayenne.xml and nodes and domains, etc. Package A uses package B. I'm finding that when package A first initializes cayenne, subsequent initializations when classes from package B are instantiated ignore the cayenne.xml file from package B and it's underlying maps,nodes,domains, etc. causing some chaos. I bet this is the expected behavior. I could merge and copy the cayenne.xml files so that all packages use the same file. I bet there's a better way, though. Perhaps even the /best/ (tm) way... Please advise! CG