Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 21270 invoked from network); 17 Dec 2006 16:51:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2006 16:51:14 -0000 Received: (qmail 56309 invoked by uid 500); 17 Dec 2006 16:51:22 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 56292 invoked by uid 500); 17 Dec 2006 16:51:22 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 56283 invoked by uid 99); 17 Dec 2006 16:51:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Dec 2006 08:51:22 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of xavier.hanin@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Dec 2006 08:51:12 -0800 Received: by nf-out-0910.google.com with SMTP id a4so1731627nfc for ; Sun, 17 Dec 2006 08:50:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ds4aiQw7C/nNPoI5IuH/ysCk/3xFSnpjnVAmj/7kxtl085gxGDwvJD72fpI97ogqR7KtsqEZ9z9iTJ6NHEZFq2JBtCA5koGqtthFUDazeG47R4lMTZrNQ4eFuyPSTi2XRLoqaGTUrbQX3+KhZQIhVp7XhyHCvfitmR3bAGUb6g8= Received: by 10.82.120.15 with SMTP id s15mr371508buc.1166374250440; Sun, 17 Dec 2006 08:50:50 -0800 (PST) Received: by 10.82.125.12 with HTTP; Sun, 17 Dec 2006 08:50:50 -0800 (PST) Message-ID: <635a05060612170850x62479c3ele994fe146797b96b@mail.gmail.com> Date: Sun, 17 Dec 2006 17:50:50 +0100 From: "Xavier Hanin" To: ivy-user@incubator.apache.org, ophir@personeta.com Subject: Re: IvyDE (1.2) does not support non-standard attributes in ivy.xml files when Eclipse runs from JRE 1.5? In-Reply-To: <002401c721dd$96c2db30$11a8a8c0@personeta.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3013_10138964.1166374250052" References: <635a05060612170503i149009c2g4e4fe27d64808f5@mail.gmail.com> <002401c721dd$96c2db30$11a8a8c0@personeta.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_3013_10138964.1166374250052 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 12/17/06, ophir bleiberg wrote: > > First of all I must, once again, thank you for your prompt reply, this is > the kind of thing that changes a tool from just "being good" to being > usable. > > I checked and the validate attribute is already set to 'false' in our > configuration file (otherwise, I assume, it would have failed on JRE 1.4as > well, and when just running plain 'ant' tasks)... So this is really strange. What can be the problem with JRE 1.5? Why does it validate your ivy file while with JRE 1.4 it is disabled... I don't know! Are you really sure validate is disabled with the ivyconf you use for IvyDE? What you can do is check the IvyConsole and check the dumped configuration, which should say if validation is disabled or not... Xavier -----Original Message----- > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > Sent: Sunday, December 17, 2006 3:03 PM > To: ivy-user@incubator.apache.org; ophir@personeta.com > Subject: Re: IvyDE (1.2) does not support non-standard attributes in > ivy.xml > files when Eclipse runs from JRE 1.5? > > On 12/17/06, ophir bleiberg wrote: > > > > The problem only occurs when working with IvyDE through Eclipse. > > > This can be due to the lack of an XML parser supporting schema validation > in > other cases. > > How do I disable schema validation in IvyDE? > > > You can only disable validation altogether in Ivy, in the conf element of > your ivyconf.xml: > http://www.jayasoft.org/ivy/doc/configuration/conf > > Xavier > > -----Original Message----- > > From: Xavier Hanin [mailto:xavier.hanin@gmail.com] > > Sent: Sunday, December 17, 2006 2:39 PM > > To: ivy-user@incubator.apache.org > > Subject: Re: IvyDE (1.2) does not support non-standard attributes in > > ivy.xml files when Eclipse runs from JRE 1.5? > > > > The problem seems to be due to schema validation. When using extra > > attributes you should disable validation. Did you disable xml > > validation in Ivy? > > > > Xavier > > > > On 12/17/06, Ophir Bleiberg wrote: > > > > > > Hi, > > > It appears that when the default PC JRE (not JAVA_HOME, but > > > rather the 'java' executable in the path) is 1.5, then IvyDE 1.2 > > > fails to resolve ivy.xml files with additional non-standard > > > attributes (we use 'kind' and 'version', for example). > > > Everything works fine on PCs whose 'java -version' is 1.4. > > > On those with 1.5, resolving fails, and the following is > > > printed to the log: > > > !ENTRY org.jayasoft.ivyde.eclipse 4 4 2006-12-14 > > > 14:41:30.640 !MESSAGE Impossible to resolve dependencies of [ > > > personeta | CollectCall | NONE ]: > > > unresolved dependency: [ personeta | CollectCallBillingCDR | > > > 4.0.1.0-build0 ]: java.text.ParseException: [xml parsing: > > > > > > > H:\personeta\ApplicationData\TappS-Dev\ivy-repository\integration\pers > > oneta\ > > CollectCallBillingCDR\4.0.1.0-build0\ivys\ivy.xml:2:160: > > > cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear > > > in element 'info'. in > > > H:\personeta\ApplicationData\TappS-Dev\ivy-repository\integration\pe > > > rs oneta\CollectCallBillingCDR\4.0.1.0-build0\ivys\ivy.xml > > > ] > > > > > > See IvyConsole for further details > > > > > > > > > Is this a known issue? Is there a target version for fixing > > > this problem? > > > > > > Thanks, > > > Ophir > > > > > > "Beware of the man who works hard to learn something, learns it, > > > and finds himself no wiser than before. He is full of murderous > > > resentment of people who are ignorant without having come by their > > > ignorance the hard way." > > > > > > > > > > > > > > > ------=_Part_3013_10138964.1166374250052--