Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 56411 invoked from network); 8 Apr 2008 07:09:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 07:09:13 -0000 Received: (qmail 55520 invoked by uid 500); 8 Apr 2008 07:09:13 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 55500 invoked by uid 500); 8 Apr 2008 07:09:13 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Delivered-To: moderator for ivy-user@ant.apache.org Received: (qmail 26438 invoked by uid 99); 7 Apr 2008 19:05:33 -0000 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 Ernest.Pasour@sas.com designates 149.173.6.148 as permitted sender) From: Ernest Pasour To: "ivy-user@ant.apache.org" Date: Mon, 7 Apr 2008 15:05:01 -0400 Subject: retrieving the modules and organizations via the API Thread-Topic: retrieving the modules and organizations via the API Thread-Index: AciY4ke0GJTrm4WWQjWu+jdOy35CXw== Message-ID: <15412A37E8C9574393B24ADD991FAA7608CD6B790A@MERCMBX14.na.sas.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I'm using 2.0B1 I'm trying to use an Ivy object to determine the modules in my current ivy = repo chain. So I do something like the following: Ivy ivy =3D Ivy.newInstance(); OrganisationEntry[] orgEntries=3Divy.listOrganisationEntries(); for (int i=3D0;i In this case, I don't get back any "TPJ" organization at all. I *do* get a= ll the modules back, but with duplicates and some with bogus organizations. Also, if I use the Ivy api to do a resolve on a ModuleRevisionId constructe= d from the module name and [bogus] organization, it fails. So, my questions are: 1. is this a bug? 2. is there a way for me to query the organizations/modules that will let m= e feed them back into the ivy.xml file/resolve call correctly. 3. I still need to be able to query each module for the available revisions= , which seems to work correctly at the moment, despite the conflicting data= . Thanks, Ernest