From ivy-user-return-4932-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Thu Mar 12 15:08:36 2009 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 38427 invoked from network); 12 Mar 2009 15:08:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 15:08:36 -0000 Received: (qmail 7920 invoked by uid 500); 12 Mar 2009 15:08:35 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 7891 invoked by uid 500); 12 Mar 2009 15:08:35 -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 Received: (qmail 7880 invoked by uid 99); 12 Mar 2009 15:08:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 08:08:35 -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 kent.larsson@gmail.com designates 209.85.219.158 as permitted sender) Received: from [209.85.219.158] (HELO mail-ew0-f158.google.com) (209.85.219.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 15:08:30 +0000 Received: by ewy2 with SMTP id 2so368218ewy.28 for ; Thu, 12 Mar 2009 08:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DvCrvprSgea8yCrOMHYRMLio542kzEArpjGXHgvc7qE=; b=E5/ZcZPIckhMOfC6lnhsYo0LAJjCM1D4OzY//QWDFl0N5lbxrxeKmGHTLHrcwu4Hld f+YyuIdQAD8JesgOWUzn8GYRYNxHNHkcvVZ9jNZ2xsakfgYfb3kJjHtmyoIZS1IJceH2 66F/0+rbQ88nXwwqMx2U4R1D/k6OHkULVZ/Xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fG0a5ITi4B8EB8oJe8jSfRMrPT2rrpoO2FdMqAdSAqpLxIwmYz45zMCxnzFQlL8aSr VU3E1uKDrg1KkBx7cqw0IP0kP+8iZghmFTlYnithQKZ8OFbLhvry5D4GEwRi9Tsw5rf3 zGBXvScSI5qoaF/nY/NHm01ljI1j2lgqaUDJU= MIME-Version: 1.0 Received: by 10.210.77.2 with SMTP id z2mr48755eba.24.1236870488371; Thu, 12 Mar 2009 08:08:08 -0700 (PDT) In-Reply-To: <200903121144.04210.nicolas.lalevee@hibnet.org> References: <65d6a07f0903031336o47beaa9ex18868d1aa6c7598e@mail.gmail.com> <65d6a07f0903111613v60f944c6t1c096384d962a9fd@mail.gmail.com> <65d6a07f0903111622x7b635374l90c9177c1aa808a6@mail.gmail.com> <200903121144.04210.nicolas.lalevee@hibnet.org> Date: Thu, 12 Mar 2009 16:08:08 +0100 Message-ID: <65d6a07f0903120808h17c2587ekacc879509a455aba@mail.gmail.com> Subject: Re: IvyDE - Is it possible to have it download sources & javadocs? From: Kent Larsson To: ivy-user@ant.apache.org Content-Type: multipart/mixed; boundary=000e0cd1e25017b2550464ed5a80 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd1e25017b2550464ed5a80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for your helpful answer! I include an example (see attached highly compressed image). It's Wicket 1.3.5 for which I do get Javadoc (if I move the mouse pointer over the class name of org.apache.wicket.protocol.http.WebApplication I see the Javadoc) and as I haven't added it myself in any way and as I retrieved it using IvyDE it must be the plugin which configured it for me. I'm using Eclipse Ganymede. Is it looking as it should? (I haven't touched it myself) Best regards, Kent On Thu, Mar 12, 2009 at 11:44 AM, Nicolas Lalev=E9e wrote: > On jeudi 12 mars 2009 00:22:22 Kent Larsson wrote: >> Hm, now it works. =A0So I guess it was a synch which was needed, I >> really don't know why. Sorry for crying wolf! I'm happy now as this is >> a great feature! > > Good to know it is working for you now. :) > >> I have a follow up question. I still have an empty text field for >> every "Javadoc Location Path" in the libraries under "ivy.xml [*]" in >> Eclipse. While the "Location Path" for "Java source attachment" is >> filled in. So one is blank, the other is filled in. Is that normal and >> intended? > > Actually IvyDE is setting the "Archive Path" of the "Javadoc in archive". > If nothing is set, it means that actually there no javadoc attached to yo= ur > jar. Eclipse will still able to fill the javadoc view with that attached > sources though. > > Nicolas > > >> >> Best regards, Kent >> >> On Thu, Mar 12, 2009 at 12:13 AM, Kent Larsson > wrote: >> > On Wed, Mar 11, 2009 at 4:30 PM, Nicolas Lalev=E9e >> > >> > wrote: >> >> On mardi 10 mars 2009 18:27:49 Kent Larsson wrote: >> >>> Both of those JIRA issues are supposed to be fixed in the final >> >>> version, right? And I'm using the final version. >> >>> >> >>> Rod's suggestion got sources to download and integrate well with >> >>> Eclipse for me! :-) >> >>> >> >>> I'm still having problems with Javadoc! :-( >> >>> >> >>> The JIRA issues you mentioned Nicolas, aren't those supposed to be >> >>> fixed? I'm using the latest IvyDE which in turn is using the latest >> >>> Ivy, if I'm not mistaken. >> >>> >> >>> I'm including my ivy.xml and screenshots (heavily compressed) of the >> >>> relevant IvyDE configuration. Does anything look wrong? >> >> >> >> I don't have time yet to look into it. >> >> But do you have some ivysettings or you use the default configuration >> >> with the maven repo ? >> > >> > I use the default configuration. >> > >> >>> Has *anyone* here got Javadoc to work? >> >> >> >> I did after I fixed IVYDE-166 >> > >> > Good to know. I might be running into some other bug. >> > >> >>> I think it was a really nice feature, as Javadoc is very important t= o >> >>> me getting it configured for me would be darn impressive and >> >>> immensiely useful (to all users I suppose as Javadoc is important wh= en >> >>> dealing with libraries made by other people [and yourself]). I hope >> >>> it's not being removed. >> >>> >> >>> Has anyone got *any* more information on this? The IvyDE page doesn'= t >> >>> say anything and this mailing list is very quite regarding IvyDE & i= ts >> >>> Javadoc-support. >> >> >> >> IvyDE does support javadoc attachment just like the source attachemen= t. >> >> If not it is a bug like the one I fixed earlier. >> >> >> >> Nicolas >> >> >> >>> Best regards, >> >>> Kent >> >>> >> >>> >> >>> On Wed, Mar 4, 2009 at 1:48 PM, Nicolas Lalev=E9e >> >>> >> >>> wrote: >> >>> > On mercredi 04 mars 2009 12:23:03 Kent Larsson wrote: >> >>> >> Hi Rod, >> >>> >> >> >>> >> Thanks for helping me out, I'll try your solution this Friday and >> >>> >> get back with results. >> >>> >> >> >>> >> About the possible bug. Is any of the IvyDE developers around? Th= e >> >>> >> documentation that's available for IvyDE is very sparse, it would= be >> >>> >> good to know if sources and javadocs are supposed to work? And if >> >>> >> they do not, if they are meant to start working in a later releas= e? >> >>> >> Any informative input from any of the developers would be nice, >> >>> >> please? >> >>> > >> >>> > For reference, here is the jira about javadoc attachment issue: >> >>> > https://issues.apache.org/jira/browse/IVYDE-166 >> >>> > >> >>> > Rereading your problems about attachement, maybe you are hitting t= his >> >>> > issue: https://issues.apache.org/jira/browse/IVYDE-146 >> >>> > >> >>> > Nicolas >> >>> > >> >>> >> Best regards, Kent >> >>> >> >> >>> >> >> >>> >> On Wed, Mar 4, 2009 at 12:06 AM, Rod Mackenzie >> >>> >> >> >>> >> wrote: >> >>> >> > Hi Kent, >> >>> >> > >> >>> >> > I got this working by adding the following configurations >> >>> >> > >> >>> >> > =A0 =A0 =A0 =A0 >> >>> >> > =A0 =A0 =A0 =A0 >> >>> >> > >> >>> >> > Then added configuration mappings to the dependencies, I'm stil= l >> >>> >> > learning about Ivy so I don't know if there is a better way. >> >>> >> > =A0 =A0 =A0 =A0> >>> >> > >> >>> >> > conf=3D"test->default;sources->sources;javadoc->javadoc"/> >> >>> >> > >> >>> >> > One other thing I had to do was clean the Ivy cache. The source >> >>> >> > and javadocs configurations weren't =A0in the version of junit = ivy >> >>> >> > file in the cache. IvyDE wasn't much help resolving this as it >> >>> >> > only gave a parse error when reading the Ivy file I had look at >> >>> >> > the Ant output to see the problem. >> >>> >> > >> >>> >> > This should hopefully work but only for sources I think there i= s a >> >>> >> > known bug with javadocs. >> >>> >> > >> >>> >> > regards, >> >>> >> > Rod >> >>> >> > >> >>> >> > 2009/3/3 Kent Larsson : >> >>> >> >> Hi, >> >>> >> >> >> >>> >> >> My question really is in the subject. I tried posting earlier >> >>> >> >> about this issue, that time with screenshots of my settings, b= ut >> >>> >> >> I didn't have any luck in getting a response. So I'm trying >> >>> >> >> again. :-) >> >>> >> >> >> >>> >> >> My follow up question is how do I get it to integrate sources = and >> >>> >> >> javadocs in Eclipse? >> >>> >> >> >> >>> >> >> Here is my ivy.xml: >> >>> >> >> >> >>> >> >> >> >>> >> >> > >>> >> >> =A0xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >> >>> >> >> =A0xsi:noNamespaceSchemaLocation=3D"http://ant.apache.org/ivy/= schemas >> >>> >> >>/ivy .xs d"> > >>> >> >> =A0 =A0 =A0 =A0 =A0organisation=3D"net.mycompany" >> >>> >> >> =A0 =A0 =A0 =A0 =A0module=3D"webcookie" >> >>> >> >> =A0 =A0 =A0 =A0 =A0status=3D"integration"/> >> >>> >> >> =A0 =A0 =A0 =A0 >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> description=3D"" /> >> >>> >> >> =A0 =A0 =A0 =A0 >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> rev=3D"1.3.5" conf=3D"runtime->runtime"> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> module=3D"portals-bridges-common"/> > >>> >> >> module=3D"portlet-api"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> name=3D"wicket-spring-annot" rev=3D"1.3.5" conf=3D"runtime->de= fault"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> rev=3D"1.5.6" conf=3D"runtime->default"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> rev=3D"1.5.6" conf=3D"runtime->default"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> rev=3D"2.5" conf=3D"compile->provided"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> name=3D"spring" rev=3D"2.5.6" conf=3D"runtime->runtime"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> name=3D"mysql-connector-java" rev=3D"5.1.6" conf=3D"runtime->d= efault"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> name=3D"hibernate-core" rev=3D"3.3.1.GA" >> >>> >> >> conf=3D"runtime->runtime,optional"/> >> >>> >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0> >>> >> >> name=3D"hibernate-annotations" rev=3D"3.4.0.GA" >> >>> >> >> conf=3D"runtime->default"/> >> >>> >> >> =A0 =A0 =A0 =A0 >> >>> >> >> >> >>> >> >> >> >>> >> >> I don't use any ivysettings.xml and I use the default settings >> >>> >> >> for IvyDE. Still no Javadoc or sources and I would really like= to >> >>> >> >> enable them. :-/ >> >>> >> >> >> >>> >> >> Best regards, Kent > > --000e0cd1e25017b2550464ed5a80--